0.0.1-beta.6 • Published 10 months ago

@delvtech/drift-viem v0.0.1-beta.6

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
10 months ago

@delvtech/drift-viem

Viem adapter for @delvtech/drift.

import { Drift } from "@delvtech/drift";
import { viemAdapter } from "@delvtech/drift-viem";
import { createPublicClient, http } from "viem";

const publicClient = createPublicClient({
  transport: http(),
  // ...other options
});

// optionally, create a wallet client
const walletClient = createWalletClient({
  transport: http(),
  // ...other options
});

const drift = new Drift(viemAdapter({ publicClient, walletClient }));
0.0.1-beta.6

10 months ago

0.0.1-beta.5

10 months ago

0.0.1-beta.4

10 months ago

0.0.1-beta.3

10 months ago

0.0.1-beta.2

10 months ago

0.0.1-beta.1

10 months ago

0.0.1-beta.0

10 months ago