Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cocol-project/ccl-wallet
Official wallet for the Cocol Network π°π°π°
https://github.com/cocol-project/ccl-wallet
bitcoin blockchain cocol crystal crystal-language crytpocurrency ethereum private-key wallet
Last synced: 22 days ago
JSON representation
Official wallet for the Cocol Network π°π°π°
- Host: GitHub
- URL: https://github.com/cocol-project/ccl-wallet
- Owner: cocol-project
- License: mpl-2.0
- Created: 2020-01-28T16:00:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-05T14:08:06.000Z (almost 5 years ago)
- Last Synced: 2024-10-25T01:25:59.483Z (2 months ago)
- Topics: bitcoin, blockchain, cocol, crystal, crystal-language, crytpocurrency, ethereum, private-key, wallet
- Language: Crystal
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [WIP] Cocol Wallet π°
[![Build Status](https://img.shields.io/github/workflow/status/cocol-project/ccl-wallet/weekly)](https://github.com/cocol-project/ccl-wallet/actions) ![Stability Experimental](https://img.shields.io/badge/Stability-Experimental-orange.svg?style=flat-square) ![Crystal 0.32.1](https://img.shields.io/badge/Crystal-0.32.1-blue.svg?style=flat-square&link=https://crystal-lang.org&link=https://crystal-lang.org/api/0.32.1/) ![License MPL-2.0](https://img.shields.io/badge/License-MPL--2.0-green.svg?style=flat-square)
Official wallet for the cocol network.
It is still:
- work in progress
- not safe
- not tested## Installation πΉ
Cocol Wallet is written in [Crystal](https://crystal-lang.org/), so make sure to follow the [installation instructions](https://crystal-lang.org/reference/installation/) first.
After setting up Crystal you can clone the repository and build it:
```shell
> git clone https://github.com/cocol-project/ccl-wallet.git
> cd ccl-wallet
> make
```## Usage β
```shell
> ./bin/ccl-wallet helpccl-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 fundsFlags:
-h, --help # Help for this command. default: 'false'.
```Let's create a wallet and transfer some funds:
``` shell
> ./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
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Contributors
- [Cristian Θerb](https://github.com/cserb) - creator and maintainer