Documentation

Build with jStack.

⌘K

Quickstart

Provision a wallet, attach a policy, and complete your first autonomous transfer. About 60 seconds end to end.

quickstart.tsnode
import { Jstack } from "@jstack/sdk"

const jstack = new Jstack(process.env.JSTACK_API_KEY!)

const wallet = await jstack.wallets.create({
  agent: "procurement-agent",
  limit: 5000,
})

await jstack.guard.attach(wallet.id, "default-policy")

const transfer = await jstack.pay.transfer({
  wallet: wallet.id,
  amount: 299,
  to: "vendor_8f2a",
})

Next steps