Releases: getsafle/vault-polygon-controller
Releases · getsafle/vault-polygon-controller
Version 1.2.7
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
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
This SDK is the Polygon controller for Safle Vault
List of functions:
createNewVaultAndKeychain()
: Generate vault with one accountsignMessage()
: Sign messagesignTransaction()
: Sign transactionsaddNewAccount()
: Add new account to the keyringexportAccount()
: Export the private key of an accountsign()
: Sign a message/transaction and get the signature objectgetBalance()
: Get the balance of an accountgetFees()
: Get the fees for a transactionsendTransaction()
: Broadcast the transaction to the chainimportWallet()
: Import a new wallet from private key
ATTENTION: This is an unaudited version.