Skip to content

Version 1.0.0

Choose a tag to compare

@sidthounao sidthounao released this 09 Apr 07:48
· 60 commits to main since this release
19bf06e

This SDK is the Bitcoin controller for Safle Vault

List of functions:

  • generateWallet() - Generate a new bitcoin wallet
  • signMessage() : Sign message
  • signTransaction() : Sign transactions
  • addAccount() : Add new account to the keyring
  • getAccounts() : Get the list of all generated accounts
  • exportPrivateKey() : Export the private key of an account
  • importWallet() : Import a new wallet from private key
  • getBalance() : Get the balance of an account
  • getFees() : Get the fees for a transaction
  • sendTransaction() : Broadcast the transaction to the chain

ATTENTION: This is an unaudited version.