FunWallet
Primary class in the FunWallet SDK that orchestrates the movement of assets & data
Overview
FunWallet is the main class of the FunWallet SDK, it is responsible for coordinating the movement of assets and data between modules. It also stores information relating to the Role Based Access Control (RBAC) schema of said wallet.
Constructor
FunWallet
new FunWallet(config, apiKey)
Parameters
Methods
addModule
Adds a Module to a FunWallet
.
addModule(module)
Parameters
Returns
deploy
Deploys a FunWallet to a blockchain specified by the config input parameter to the FunWallet constructor.
deploy()
Parameters
No Parameters
Returns
deployTx
Deploys a Transaction to a blockchain.
deployTx(transaction)
Parameters
Returns
deployTxs
Deploys multiple Transaction to a blockchain.
deployTx(transaction)
Parameters
Returns
Properties
address
Get the FunWallet address.
this.address