This is a sandbox walkthrough. It uses one
newTokenization credit and native Sepolia gas. It does not use the Brickken SDK, so you can see the underlying prepare → sign → send → poll flow used by a direct integration.Outcome
At the end, your terminal will show:- a confirmed Brickken transaction ID and blockchain transaction hash;
- the wallet that signed the transaction;
- the generated token symbol;
- a
GET /get-token-inforesponse containing that symbol.
Estimated time
Allow 10–15 minutes for setup and one sandbox tokenization, depending on wallet funding and API-key approval.Prerequisites
1
Use a sandbox account and API key
Request a sandbox API key with the email of the tokenizer account. Your key needs one
newTokenization credit.2
Whitelist the signing wallet
Ask Brickken to whitelist the wallet you will use as
signerAddress in the same key request. The API rejects an unknown signer before it prepares a transaction.3
Fund the wallet with Sepolia ETH
The wallet signs the prepared transaction and pays native gas on Ethereum Sepolia. Use a testnet-only wallet.
4
Install Node.js 20 or newer
The sample uses Node’s native
--env-file, fetch, and local ethers signing.Setup
Clone or download the example directory, then run:Run
Start the direct API integration:What the code does
POST /prepare-transactionsreturns unsigned transactions and an internaltxId. Preparing does not touch the chain.etherssigns every returned transaction locally with the wallet matchingsignerAddress.POST /send-transactionsreceives{ txId, signedTransactions }and broadcasts the signed payload.GET /get-transaction-status?txId=...is polled until the status issuccess.GET /get-token-infoconfirms that the new symbol is available to the API key.
Expected result
Values vary on every run. The shape is similar to:Verification
- prepare and send requests;
- pending → success polling;
- rejected transactions;
- polling timeouts;
- required environment variables;
- final token readback.
Troubleshooting
Security
- Use a disposable Sepolia wallet and keep the private key in a local environment variable or secret manager.
- Review the request body and derived signer address before approving a sandbox run.
- Treat the API key and tokenizer email as credentials; do not include them in screenshots or support tickets.
- The run consumes one
newTokenizationsandbox credit and native Sepolia gas.
Next challenge ideas
Once this works, extend the same lifecycle with investor operations: whitelist an investor, mint tokens, and then follow the full tokenize-and-run-an-STO guide for reporting and offering automation.API reference
Explore every Dapp API method and read endpoint.
Agentic Hello World
Try the x402-powered CLI path for ERC-8004 and agent-owned tokens.