hs-wallet
This library is like a subset of hsd which generate raw handshake transactions
Usage
- Get address with a mnemonic
const handshake =const mnemonic = '*** *** ***'const wallet = handshakeconst address = wallet
- Send fund
const utxo = hash: '1ad8539d27fae6bd217ace51f0e23da8eddf121a48e4ac39ca4bff4f1c0c6f8c' index: 0 value: 1 * 1e6 const transaction = wallet const txid hex = transaction// then call rpc - sendrawtransaction with hex
- Bid name
const utxo = hash: '1ad8539d27fae6bd217ace51f0e23da8eddf121a48e4ac39ca4bff4f1c0c6f8c' index: 0 value: 1 * 1e6 const transaction = wallet const txid hex = transaction// then call rpc - sendrawtransaction with hex