EOA
Authenticate FunWallet Transactions with an EOA
Overview
EOA allows FunWallets to authenticate Transactions with an Externally Owned Account (EOA). Currently, EOA authentication can be used with:
- With a private key
- With an ethers provider
- With an ethers signer
Constructor
const eoaAuth = new Eoa(input)
Parameters
Methods
sendTx
Sends a Transaction from the EOAconst receipt = eoaAuth.sendTx(tx)// orconst receipt = eoaAuth.sendTx(actionFunc(parameters))
Parameters
Returns
getUniqueId
Get the authentication id needed for calculating wallet address
const uniqueId = eoaAuth.getUniqueId()
Returns
getSigner
Get the ethers.Signer assiciated with the EOAconst signer = eoaAuth.getSigner()
Returns
getOwnerAddr
Get's the list of uniqueId's of the signers in the Authconst addr = eoaAuth.getOwnerAddr()