ForgeSdk v0.28.3 ForgeSdk.Wallet protocol View Source

Wallet protocol for manipulate wallet

Link to this section Summary

Functions

Create a wallet

Convert the wallet type to forge abi wallet type

Sign the data with wallet

Verify the signature of the transaction with a given wallet

Link to this section Types

Link to this section Functions

Create a wallet

Convert the wallet type to forge abi wallet type

Link to this function

sign!(type, wallet, data) View Source

Sign the data with wallet

Link to this function

verify(type, wallet, data, signature) View Source

Verify the signature of the transaction with a given wallet