0.0.23 • Published 11 months ago

@biconomy/sdk-canary v0.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Biconomy License MIT codecov

SDK 🚀

Open in GitHub Codespaces

The Biconomy SDK is your all-in-one toolkit for building decentralized applications (dApps) with ERC4337 Account Abstraction and Smart Accounts. It is designed for seamless user experiences and offers non-custodial solutions for user onboarding, sending transactions (userOps), gas sponsorship and much more.

📚 Table of Contents

🛠️ Quickstart

Installation

  1. Add the package:
bun add @biconomy/sdk viem @rhinestone/module-sdk
  1. Basic Usage:
import { createSmartAccountClient } from "@biconomy/sdk";
import { http } from "viem";

const nexusClient = await createSmartAccountClient({
  signer: account,
  chain,
  transport: http(),
  bundlerTransport: http(bundlerUrl),
});

const hash = await nexusClient.sendTransaction({ 
  calls: [{ to: "0x...", value: 1 }] 
});

const { status, transactionHash } = await nexusClient.waitForTransactionReceipt({ hash });

Testing

Prerequisites:

  • Node.js (v22 or higher)
  • Bun package manager
  • Foundry
  • Yarn (must be 1.1.x, not 3.x). This is necessary because the nexus contracts repo relies on yarn.

Setup:

bun install --frozen-lockfile

Running Tests:

# Run all tests
bun run test

# Run tests for a specific module
bun run test -t=smartSessions

For detailed information about the testing framework, network configurations, and debugging guidelines, please refer to our Testing Documentation.

Documentation and Resources

For a comprehensive understanding of our project and to contribute effectively, please refer to the following resources:

License

This project is licensed under the MIT License. See the LICENSE file for details

Connect with Biconomy 🍊

Website Telegram Twitter LinkedIn Discord YouTube GitHub

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

12 months ago

0.0.23

11 months ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.4

1 year ago

0.0.1

1 year ago