Skip to content

pbca26/komodolib-js

Repository files navigation

agama-wallet-lib

Build status

How to build Agama lib for client side

install browserify

browserify index.js --standalone agama > agamalib.js

How to add btc compatible pow coin

  • add coin network params to src/bitcoinjs-networks.js
  • add electrum servers list to src/electrum-servers.js
  • add tx fee to src/fees.js
  • add an explorer link to src/coin-helpers.js

How to add kmd asset chain

  • add electrum servers list to src/electrum-servers.js
  • add tx fee to src/fees.js
  • add asset chain ticker and an explorer link to src/coin-helpers.js

How to add ERC20 token

  • add token contract id to src/eth-erc20-contract-id.js
  • add token decimals value to src/eth-erc20-decimals.js, read instructions

How build for old browsers (ES5)

install babel cli

npm run build

example: var fromSats = require('agama-wallet-lib/build/utils').fromSats;

About

Common library for cryptocurrencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published