Account Abstraction on Fuse
An introduction to Account Abstraction on Fuse using the Etherspot Prime SDK
Intro
On this guide we’ll learn about Account Abstraction and run through some introductory code to get setup with using it on Fuse using the Etherspot Prime SDK.
Code Tutorial
Here we’ll get set up with the very basics of using the Prime SDK.
We’ll set up a React app, install the Etherspot Prime SDK, and create an Etherspot smart contract wallet.
Start by creating a react app like so:
Then cd into the directory and install the Etherspot Prime SDK and Ethers.
Now open the code in your editor, and open up App.js.
Paste in the following code:
And that’s it! We’ve not created a random key based wallet on Fuse on page load, and then using this KBW we pass it into the Etherspot Prime SDK, creating an Etherspot Smart Contract Wallet.
You can learn more about the differences between these two types of accounts here.
Next steps
Now you’re ready to get developing with Account Abstraction!
For next steps you can look at functions) or examples to tailor the dapp to what you’re trying to achieve.