Installation
To get started with 0xGassless, follow the installation steps below.
Prerequisites
Before installing, ensure you have the following:
Node.js (version 14 or higher)
npm (version 6 or higher)
Installation Steps
Step 1: Install prerequisites
The 0xgasless SDK is compatible with both viem and ethers
or
Step 2: Install the Smart Account SDK
Additionally, you may need the Smart Account SDK:
Step 3: Configure the Bundler and Paymaster
You need to configure the Bundler and Paymaster URLs for your specific chain. Replace {chainId}
with the actual chain ID you are working with.
Bundler URL:
Paymaster URL:
Example Configuration
Here is an example of how you might set up the configuration in your application:
For detailed instructions, see Prerequisites and Installation Steps.
Last updated