ForgeSdk v0.26.4 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
Load a saved account into memory
Recover an account from a secret key or a set of seed words
Sign the data with wallet
Verify the signature of the transaction with a given wallet
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: ForgeSdk.Wallet.t()
t() :: ForgeSdk.Wallet.t()
Link to this section Functions
Link to this function
create(type, passphrase \\ "") View Source
Create a wallet
Link to this function
get_type(type) View Source
Convert the wallet type to forge abi wallet type
Link to this function
load(type, address, passphrase) View Source
Load a saved account into memory
Link to this function
recover(type, sk, passphrase) View Source
Recover an account from a secret key or a set of seed words
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