Skip to content

candidelabs/abstractionkit-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbstractionKit Examples

Quickstart Guide

Get AbstractionKit examples running in minutes:

  1. Clone the Repo:

    git clone git@github.com/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.
    • Default Account: Examples use the Safe Unified Account (SafeMultiChainSigAccountV1) on EntryPoint v0.9 — the same account works single-chain and across chains. See chain-abstraction for the multichain flow.
    • 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

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors