Note: The examples are pre-configured forInkSepolia
, but you can easily switch to other supported networks. Check available networks inconstants/chainConfig.ts
and update the example file accordingly by changing the Network name.
Clone the Repository
Set Up Environment Variables
Generate a API Key
.env
file. Check out the How-To Guides here.Add Your Private Key (Optional)
.env
file, or leave it empty—example files will automatically generate a random private key if none is provided.Install Dependencies
Run Example Use Cases
pnpm getWeth
—this will wrap 0.1 ETH into 0.1 WETH. Once completed, you can proceed by running the following command as an example.