A nodejs library providing a unified API for sending and receiving crypto payments for multiple coin networks.
brew install autoconf automake libtool
npm install
export BITCOIN_SERVER_URL="btc1.<my-blockbook-url>,btc2.<my-blockbook-url>"
export BITCOIN_TESTNET_SERVER_URL="tbtc1.<my-blockbook-url>"
npm run test
Dependency management
To remove dependency from leaf package, remove it from its package.json and run lerna bootstrap
package-lock.json for package, run npm install --package-lock-only<tag>/<subject_message>;Run
git config commit.template ./.gitmessage
Use lerna to import packages (More info in lerna docs)
Add payment factory to packages/coinlib/src/constants.ts
Add payment config to packages/coinlib/src/types.ts
Find types and interfaces at packages/coinlib-types/src/
npm i @bitaccess/coinlib
See @bitaccess/coinlib README for usage.
Note: Never use npm version, it doesn't work with lerna monorepo
patch - fixes only, no feature or breaking changesminor - feature changesmajor - breaking changesnpm run testbin/version.shbin/publish.sh$ claude mcp add coinlib \
-- python -m otcore.mcp_server <graph>