Installation / Importing

Adding @delegatexyz/sdk to your project is just a single command.

npm install @delegatexyz/sdk viem

Importing

ES6 or Typescript
import { http } from "viem"
import { DelegateV1, DelegateV2 } from "@delegatexyz/sdk";
NodeJS require
const { http } = require("viem");
const { DelegateV1, DelegateV2 } = require("@delegatexyz/sdk");

Last updated