0.1.7 • Published 1 year ago
freeky-snap v0.1.7
Freeky Snap
Built by Team 41 at InterIIT Tech Meet 11.0
Endpoints
Account Abstraction
get_eoaAccount
Get details of the EOA account of metamask. (public key and balance)add_abstractAccount
Add abstract account to snapgenerate_abstractAccount
Generate abstract account from EOA accountget_abstractAccount
Get abstract account stored in metamask snap state. (public key and balance)get_ownerAddress
Returns the owner of the stored abstract account. Returns0x0x
if the owner is emptygenerate_unsignedUserOperation
Generates unsigned user operation given to, value, calldata (data) fieldssend_transaction
Send the transaction to bundler. Need to provide a user operation as input.send_transactionTest
Test point to check if bundler is okay or notstore_scwAddress
Store only a scw addressget_scwAddress
Get scw address
Guardians
addGuardians
Add guardians of thelost_access
Notify and ask guardians to get your wallet backrecover_access
After some required amount of guardians have confirmed, get your wallet back
Others
get_snapState
Get the current snap state