ccl-wallet
[WIP] Cocol Wallet π°
Official wallet for the cocol network.
It is still:
- work in progress
- not safe
- not tested
Installation πΉ
Cocol Wallet is written in Crystal, so make sure to follow the installation instructions first.
After setting up Crystal you can clone the repository and build it:
> git clone https://github.com/cocol-project/ccl-wallet.git
> cd ccl-wallet
> make
Usage β
> ./bin/ccl-wallet help
ccl-wallet - [WIP] Cocol Wallet - manage addresses and account balance
Usage:
ccl-wallet [command] [arguments]
Commands:
address # Show your address
generate # Generate a new wallet
help [command] # Help about any command.
send # Transfer funds
Flags:
-h, --help # Help for this command. default: 'false'.
Let's create a wallet and transfer some funds:
> ./bin/ccl-wallet generate
New private key: 7e704ced1d4dc06bc2fff284d155a46886492ac158f0b4719ff7e7ca3f43a806
# show my address
> ./bin/ccl-wallet address
0x15C91b5CBE385dd8a94643Db2021A92E0D3b6F65
> ./bin/ccl-wallet send --amount 100 --recipient 0x5432FD4A91c46d3F8DAEd3cC79C8a85a77764c3a --node 127.0.0.1:3000
Success!
Note: You have to give yourself some $ccl in the genesis block (premine it) otherwise the node won't accept your transfer as valid. Right now you have to do it manually by changing the address in the genesis_transactions
method in the cocol codebase
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/cocol-project/ccl-wallet/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Cristian Θerb - creator and maintainer
Repository
ccl-wallet
Owner
Statistic
- 2
- 1
- 0
- 0
- 2
- almost 5 years ago
- January 28, 2020
License
Mozilla Public License 2.0
Links
Synced at
Fri, 20 Dec 2024 11:15:41 GMT
Languages