Skip to content

the-web3/bitcoin-sdk-lite

Repository files navigation

bitcoin-sdk-lite

The bitcoin-sdk-lite is a sdk which create bitcoin address by mnemonic and offline bitcoin transaction sign. It support p2pkh, p2wpkh and p2sh format address and offline transaction sign, and also support m-n multi sign p2ms format address and offline transaction sign.

The address create code in address.ts file and offline sign code in sign.ts; You run address.test.ts and sign.test.ts test function of this code.

1.Install requirements

pnpm install

2.Build

pnpm build

3.Run unit test

pnpm test

4.How to use it

coming soon