A comphrenesive sdk that features easy to use bitcoin functions to build and brodcast btc transactions.
To install and set up the library, run:
$ git clone https://github.com/oyl-wallet/oyl-sdk.git
$ cd oyl-sdk
$ yarn install- Node.js >= 20
- yarn
$ yarn test$ make resetThis does a fresh build of the lib directory which the cli uses after all the .ts files are compiled.
The name of the bin for the cli is called "oyl". If you want to invoke it without having the yarn prefix you need to add it globally. Run this command:
$ yarn global add oylYou can also link the package so it updates as you make local changes:
$ yarn linkIf you want the program to be isolated to only this enviornment use the local script provided to you like this:
$ yarn oyl --helpe.g. oyl utxos addressUtxos -a bcrt1qcr8te4kr609gcawutmrza0j4xv80jy8zeqchgx -p regtest.
For more detailed instructions on how to use the cli, refer to the README.md found in the cli directory.
Full documentation is available at https://alkanes.build/
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Add your changes:
git add . - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request 😎
We use SemVer for versioning. For the versions available, see the tags on this repository.
From root of oyl-sdk repo:
$ npm publish --access public- Oyl Dynamics
See also the list of contributors who participated in this project.