SDK Overview
The SDK is the direct application path into Beav3r for action submission, approval routing, and terminal state handling.
Use:
- staging:
https://staging.server.beav3r.ai - production:
https://server.beav3r.ai
Install
TypeScript
npm install @beav3r/sdkClient init
TypeScript
import { Beav3r } from '@beav3r/sdk'
const client = new Beav3r({
baseUrl: 'https://staging.server.beav3r.ai',
apiKey: process.env.BEAV3R_API_KEY,
agentId: 'sdk_quickstart',
defaultExpirySeconds: 180
})Start with First SDK Script for offchain flows, or First Onchain Script for executor-bound onchain flows, then use: