Turnkey signer
Setup
Integration
import { TurnkeyClient } from "@turnkey/http"
import { createAccount } from "@turnkey/viem"
// Param options here will be specific to your project. See the Turnkey docs for more info.
const turnkeyClient = new TurnkeyClient({ baseUrl: "" }, stamper)
const turnkeySigner = await createAccount({
client: turnkeyClient,
organizationId: subOrganizationId, // Your subOrganization id
signWith: signWith, // Your suborganization `signWith` param.
})
Last updated