Keys stay inside your environment.
The SDK receives signing capability, not custody of the key.
Brickken SDK and CLI
Ship tokenization from your code or your terminal
Brickken's API has two clients built for developers writing code: the SDK and the CLI. Both cover the documented workflows: asset tokenization through the Brickken API, ERC-8004 agent identity and agent-owned tokens, and ERC-8226 RAMS mandates.
More than a wrapper: typed, validated, prepare-by-default
The SDK turns Brickken's documented backend into a typed operating layer, so invalid states fail inside your process instead of on the wire.
One client, three namespaces
A single Brickken instance covers assets tokenization workflows, agentic operations and RAMS mandates.
Typed from input to result
Typed methods, a consistent WriteResult shape, and fourteen error classes your application can branch on.
Invalid states fail locally
Credential, signer, execution-mode and configuration conflicts are rejected before a request leaves your process.
Keys stay in your process
Sign x402 authorizations, client-controlled transactions and RAMS typed data without transmitting private keys to Brickken.
Three namespaces. One integration layer.
Each namespace preserves the credential and execution rules of the workflow underneath it.
Prepare first. Execute explicitly.
Every write returns prepared transactions by default. Passing execute: true is a deliberate opt-in to signing and sending.
Per-call payment
x402: pay per operation, no shared key
The SDK signs x402 payment authorizations inside your process; no key is transmitted.
Agentic writes
ERC-8004 identity operations and agent-owned token operations accept either an API key or x402.
RAMS mandates
ERC-8226 lifecycle actions accept either credential; some RAMS writes remain client-signed regardless. ERC-8226 mandates run on Ethereum Sepolia at launch.
Relayed execution
brickken-relayedmode requires x402 and is unavailable when an API key is configured.
An API key and an x402 payment are alternative credential modes, never layers.
Sending both on the same request does not expand authority and is rejected locally before the request leaves your process.
Wallet agnostic
Use the wallet stack you already operate
Three signer adapters ship as separate imports, and the Signer interface lets institutional teams sign through their existing KMS or MPC provider.
Private key
Nothing beyond the SDK
ethers v6
Optional dependency
viem
A viem account or WalletClient
Custom
Your own KMS or MPC implementation
Brickken CLI: the same API, from the terminal
The Brickken CLI runs the documented Brickken workflows from the command line. It covers investor KYC, tokenization and offering workflows, ERC-8004 agent identity, agent-owned tokens and ERC-8226 RAMS mandates, plus raw prepare, sign, send and status flows for documented JSON methods. Multipart token-document uploads use the REST API. It is prepare-only by default and returns machine-readable JSON, so it fits scripts and CI as well as interactive use.
- Prepare-only by default
- Machine-readable JSON output
- Local or relayed signing
- API key or x402
Built for technical teams
Put Brickken inside the product your users already know
Fintech platforms
Typed tokenization workflows in an existing product and engineering stack
Financial institutions
Controlled transaction flows connected to internal systems and custody architecture
Software providers
Tokenized-asset operations without rebuilding the protocol and transaction layer
Agent developers
Agent identity, token and mandate workflows inside your own runtime
Build on Brickken
Defined responsibility:
what the SDK does, what your team does
The SDK runs inside your application. Your team controls implementation, secrets, wallet architecture, transaction review, testing, monitoring and the surrounding customer experience.
Other ways to reach the same workflows
Prefer plain HTTP, a terminal or an AI agent? The REST API, the CLI and the MCP server cover the same documented workflows, and the Agent Skill helps a coding agent pick one. Compare them on the developers overview.
Brickken API
You are calling from any other language.
Brickken MCP Server
An AI agent should operate Brickken.
Brickken Skill
A coding agent needs to know which surface to pick.
Frequently asked questions
No. They are alternative credential modes. Sending both on the same request does not expand authority and is rejected.
Yes. Implement the Signer interface against your provider instead of using one of the three bundled adapters.
No. The SDK receives signing capability through a signer adapter and signs inside your process. In brickken-relayed mode a Brickken relayer signs its own transaction; your key is still never transmitted.
The SDK signs the x402 authorization inside your process and uses it for agentic writes, RAMS lifecycle actions and brickken-relayed execution.
Both reach the same API. The CLI is a terminal and CI tool rather than a library: it returns machine-readable JSON, installs globally, and runs without a TypeScript project around it.
brickken-sdk is Brickken's official TypeScript SDK for tokenized-asset, agentic and RAMS workflows. Install it with npm install brickken-sdk.
Node 20 and above, browsers and edge runtimes, in both ESM and CommonJS.
