0.1.7 • Published 3 years ago
freeky-snap v0.1.7
Freeky Snap
Built by Team 41 at InterIIT Tech Meet 11.0
Endpoints
Account Abstraction
get_eoaAccountGet details of the EOA account of metamask. (public key and balance)add_abstractAccountAdd abstract account to snapgenerate_abstractAccountGenerate abstract account from EOA accountget_abstractAccountGet abstract account stored in metamask snap state. (public key and balance)get_ownerAddressReturns the owner of the stored abstract account. Returns0x0xif the owner is emptygenerate_unsignedUserOperationGenerates unsigned user operation given to, value, calldata (data) fieldssend_transactionSend the transaction to bundler. Need to provide a user operation as input.send_transactionTestTest point to check if bundler is okay or notstore_scwAddressStore only a scw addressget_scwAddressGet scw address
Guardians
addGuardiansAdd guardians of thelost_accessNotify and ask guardians to get your wallet backrecover_accessAfter some required amount of guardians have confirmed, get your wallet back
Others
get_snapStateGet the current snap state