garlicoin
Version, currently master branch1 version
- master branchlatestJan 27, 2018
github.com/watzon/garlicoin.cr
WIP Garlicoin API connection library in Crystal
0 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
garlicoin:
github: watzon/garlicoin.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.24.1- License
- MIT
- Author
- Chris Watson
Dependencies
Runtime Dependencies
- json_rpc*github: Papierkorb/json_rpc
README
garlicoin.cr
WIP Garlicoin API connection library in Crystal. Connects to the garlicoin daemon via JSON-RPC and uses it's built in commands to examine the blockchain, send money, interact with your wallet, and more.
Installation
Add this to your application's shard.yml:
dependencies:
garlicoin:
github: watzon/garlicoin
Usage
require "garlicoin"
# Connect to garlicoind using the information supplied in your garlicoin.conf file
client = Garlicoin::Client.new("localhost", 42070, "username", "password")
accounts = client.list_accounts
pp accounts # => { "": 2.53575342 }
# Or you can lead your config from your garlicoin.conf directly
conf = Garlicoin::Config.load
client = Garlicoin::Client.new(conf)
accounts = client.list_accounts
pp accounts # => { "": 2.53575342 }
Contributing
- Fork it ( https://github.com/watzon/garlicoin.cr/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
- watzon Chris Watson - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jan 27, 2018
- Crystal
0.24.1- Indexed
- yes
Dependents
Repository
github.com/watzon/garlicoin.cr
Metadata
- Created
- Aug 18, 2026
- Updated
- Nov 11, 2026
- Synced
- Nov 11, 2026
- Versions
- 1