0.0.11 • Published 11 months ago

@0xgasless/smart-account v0.0.11

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

0xGasless SDK 🚀

The 0xGasless 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.

🛠️ Quickstart

Installation

  1. Add the package and install dependencies:
bun add @0xGasless/smart-account ethers@5.7.2
  1. Install dependencies:
bun i
import { createSmartAccountClient } from "@0xGasless/smart-account";

const smartAccount = await createSmartAccountClient({
  signer: viemWalletOrEthersSigner,
  bundlerUrl: "", // From dashboard.0xGasless.com
  paymasterUrl: "", // From dashboard.0xGasless.com
});

const { wait } = await smartAccount.sendTransaction({ to: "0x...", value: 1 });

const {
  receipt: { transactionHash },
  success,
} = await wait();
0.0.11

11 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago