Skip to content

Version 1.0.0

Latest
Compare
Choose a tag to compare
@sidthounao sidthounao released this 09 Apr 07:34
· 24 commits to main since this release
d71fb45

This SDK is the Velas controller for Safle Vault

List of functions:

  • createNewVaultAndKeychain() : Generate vault with one account
  • signMessage() : Sign message
  • signTransaction() : Sign transactions
  • addNewAccount() : Add new account to the keyring
  • exportAccount() : Export the private key of an account
  • sign() : Sign a message/transaction and get the signature object
  • getBalance() : Get the balance of an account
  • getFees() : Get the fees for a transaction
  • sendTransaction() : Broadcast the transaction to the chain
  • importWallet() : Import a new wallet from private key

ATTENTION: This is an unaudited version.