tomi

Version, currently master branch1 version
  • master branchlatestApr 26, 2020

github.com/watzon/tomi

Unified crypto currency wallet generation API for Crystal

5 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  tomi:
    github: watzon/tomi
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.34.0
License
MIT
Author
Chris Watzon

Dependencies

Runtime Dependencies

  • json_rpc*github: watzon/json_rpc, branch: master
  • qrencode*github: woodruffw/qrencode.cr, branch: master
  • stumpy_png*github: stumpycr/stumpy_png, branch: master

README

Tomi

Tomi is a Crystal library which provides a unified wallet/address generation API for a variety of crypto currencies.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      tomi:
        github: watzon/tomi
  2. Run shards install

Usage

require "tomi"

wallet = Tomi::Wallet::BTC.new

puts wallet.private_key
# => e13e9bc64a0e636b330c188be88227862c4ca515b1081595ee6ff5796e7e1cb2

puts wallet.public_key
# => 48a5558d4a6a29601d8efa1390e145ac4e96fc5bb8f83039dcf7e0702578e0c7e2bd50500c69908bb1569e1dbceaf8b0baaa8ede672d633aa2a57d3b40dbde40a

puts wallet.generate_address
# => 1EyM8rAJTDBQRimbnnzSThfvr4PigPQJZD

Progress

  • [ ] BTC and Derivations
    • [x] BTC
    • [x] LTC
    • [x] DOGE
    • [x] RDD
    • [x] DASH
    • [x] PPC
    • [x] NMC
    • [x] BLK
    • [ ] NSR
    • [x] NBT
    • [ ] MZC
    • [ ] VIA
    • [ ] XCH
    • [ ] RBY
    • [ ] GRS
    • [ ] DGC
    • [ ] CCN
    • [ ] DGB
    • [x] MONA
    • [ ] CLAM
    • [ ] XPM
    • [ ] NEOS
    • [ ] JBS
    • [ ] ZRC
    • [ ] VTC
    • [ ] NXT
    • [ ] MUE
    • [ ] ZOOM
    • [ ] VPN
    • [ ] CDN
    • [ ] SDC
    • [ ] PKB
    • [ ] PND
    • [ ] START
    • [ ] GCR
    • [ ] NVC
    • [ ] AC
    • [ ] BTCD
    • [ ] TPC
    • [ ] OK
    • [ ] DOGED
    • [ ] EFL
    • [ ] POT
    • [ ] XRP
    • [ ] XMR
    • [ ] ZEC
    • [ ] XTZ
  • [ ] Ether Based
    • [x] ETH
  • [ ] SushiChain

Contributing

  1. Fork it (https://github.com/watzon/tomi/fork)
  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