mirror of
https://github.com/Brotocol-xyz/bro-sdk.git
synced 2026-01-12 22:25:00 +08:00
872 B
872 B
Dev Instructions
Visualize Typedoc Documentation
In the root directory, run:
pnpm run docs:watch
In a new terminal window, run:
pnpx http-server generated/docs
or
cd generated/docs
python -m http.server 8080
Open http://localhost:8080 in your browser to view the documentation.
README Code Snippets
Version history of the README code snippets is tracked at ../examples/code-snippets.
Dependencies
To read or write examples/code-snippets, you may need to temporarily install dependencies to ensure code correctness. Do not commit any changes to package.json or pnpm-lock.yaml resulting from these temporary installations.
pnpm install -D ethers
pnpm install -D bitcoinjs-lib
pnpm install -D ecpair bip32
pnpm install -D tiny-secp256k1
pnpm install -D axios