
# 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:**

```bash
bun add @0xGasless/smart-account ethers@5.7.2
```

2. **Install dependencies:**

```bash
bun i
```

```typescript
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();
```
