Skip to content

Releases: getsafle/vault-polygon-controller

Version 1.2.7

05 Jul 13:33
e408e07
Compare
Choose a tag to compare

Added:

  • Update importWallet method
  • update import wallet to accept private key with or without '0x’ prefixed
  • Adding badges for readme.md
  • Updated CI for test cases
  • Added coverage report for the test cases
  • Added nyc dependency for the coverage report
  • Updated node version
  • Added dev and test branches in CI

Version 1.2.3

10 Feb 13:31
d1032a0
Compare
Choose a tag to compare

UPDATES:

  • Updated getFees() function to calculate the transaction fees using maxFeePerGas since polygon supports type 2 transactions.
  • Updated signTransaction() function to support EIP-1559 transactions.
  • Removed unused code in signTransaction() and refactored the function.

ATTENTION: This is an unaudited version.

Version 1.0.0

09 Apr 07:35
9f53290
Compare
Choose a tag to compare

This SDK is the Polygon 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.