Skip to content

candidelabs/abstractionkit-examples

Repository files navigation

AbstractionKit Examples

Quickstart Guide

Get AbstractionKit examples running in minutes:

  1. Clone the Repo:

    git clone [email protected]/candidelabs/abstractionkit-examples.git
  2. Install Dependencies:

    cd abstractionkit-examples
    npm install
  3. Configure Environment Variables:

    cp .env.example .env
    • Default Network: Examples run on Arbitrum Sepolia. Change your .env if you prefer another network.
    • Endpoints: BUNDLER_URL and PAYMASTER_URL use public endpoints. Get your own dedicated endpoints from the Candide Dashboard.
    • Gas Sponsorship (Optional): Set SPONSORSHIP_POLICY_ID after creating a gas policy on the Dashboard.
    • ERC-20 Payments: See supported ERC-20 tokens for gas payments.
    • Private Key: Use any valid Ethereum private key. Use random test key.
  4. Run a Script:

    To run any of the provided examples:

    npx ts-node path/to/script.ts

Resources

Candide documentation can be found at docs.candide.dev.

About

This repository includes different examples for how to build with smart accounts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published