Familarize with Chain Abstraction
Understand the concept of Chain Abstraction
Familarize with Universal Accounts
Understand the concept of Universal Accounts
Lesson Overview
This lesson covers:- Setting up wallet connection with Ethers.js
- Importing and configuring the Universal Account SDK
- Initializing a Universal Account instance
- Configuring advanced features like slippage tolerance and gas abstraction
Prerequisites
Before starting, make sure you have:- Cloned the starter app repository
- Obtained a Universal Account Project ID (Contact the Particle team to get an Access Key)
- Basic familiarity with React and Ethers.js
Lesson 1 Video
The video below walks you through the first lesson:The Universal Accounts SDK is currently in private beta. Contact the Particle team to request access and get your Project ID.
TL;DR
The video covers setting up a basic Web3 dApp usingethers.js as the provider and then initializing a Universal Account. Here’s a quick recap:
You can access and import the UniversalAccount class in your app as follows:
ua instance to fetch data (addresses and balances) and send transactions across multiple blockchains, which we’ll cover in the next lessons.
Lesson 2: Fetch Addresses and Balances
Ready to continue? Head over to Lesson 2: Fetch Addresses and Balances.
Having issues? Contact us via the Support Telegram Bot.
