0.0.1-beta.6 • Published 9 months ago

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

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
9 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

9 months ago

0.0.1-beta.5

9 months ago

0.0.1-beta.4

9 months ago

0.0.1-beta.3

9 months ago

0.0.1-beta.2

9 months ago

0.0.1-beta.1

9 months ago

0.0.1-beta.0

9 months ago