Skip to content

Build a testing sandbox for supporting Intents

Notifications You must be signed in to change notification settings

blndgs/zerodev-examples

 
 

Repository files navigation

ZeroDev Examples

Setup and Installation

Follow these steps to get this project up and running on your local machine:

  1. Clone the repository

    Use the following command to clone this repository to your local machine:

    git clone git@github.com:zerodevapp/zerodev-examples.git
  2. Install dependencies

    Navigate to the project directory and install the dependencies:

    cd zerodev-examples
    npm install
  3. Setup environment variables

    Copy the .env.example file to .env and fill in the required values (most examples only require a few of these env vars)

     cp .env.example .env

    You can find your bundler & paymaster URLs on the ZeroDev dashboard. The examples use ETH Sepolia, so make sure to create a ZeroDev project for ETH Sepolia. If you want to run the examples on another network, make sure to update the chain object in the code.

  4. Run the script

    Run any of the example scripts using the following command:

    npx ts-node path/to/script.ts

About

Build a testing sandbox for supporting Intents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%