The furturistic and revolutionizing next-generation cryptocurrency built for developers, by developers.
pip install gitcoinFirst, set up your public and private key to officially mark your entrance into Gitcoin.
gitcoin keypair genNext, you may start mining to obtain Gitcoins
gitcoin mineWith Gitcoins now in your balance, you may initiate transactions with other users in the network. Transactions are made to another user via their public key, followed by the desired amount. This (destination, amount) pair may continue indefinitely, ended with a custom amount of transaction fee (default is 1). After your transaction is validated by miners, incentivized by your generous (or not) fee, you are now officially part of the Gitcoin blockchain that will go down in history, forever and ever!
gitcoin pay <public-key> <amount>General Gitcoin assistance is done with:
gitcoin --helpMore specific help is done with:
gitcoin <option> --helpThe possible options for Gitcoin is:
| Option | Function |
|---|---|
| pay | pays someone, duh |
| remote | retrieving Gitcoin blockchain |
| mine | mines Gitcoin |
| observer | observes own blockchain |
| keypair | generates keypairs for user |
| repo | retrieves repo location |
Great animation soothing our soul as we transact and mine Gitcoins!
- In case packages need fixing, to install all packages necessary:
pip install -r requirements.txt
-
Running tests for transactions (from ./Gitcoin directory):
pytest -k test_transaction_simplepytest -k test_coinbase_transaction_simplepytest -k test_transaction_already_usedpytest -k test_transaction_excesspytest -k test_transaction_nightmare
-
Running tests for logic (from ./Gitcoin directory):
pytest -k test_validate_tnx_simplepytest -k test_tnxinfo_validate_signedpytest -k test_tnxinfo_serialize_deserializepytest -k test_init_chain
-
Test to generate keys and sign a message, convert PEM strings back to key objects, and convert hex signature back to bytes and verify
python test.py
Upload to PyPI


