RWAOS

By (@serinalapoez) ·

RWAOS - image 1

Real World Asset Operating System. An agentic financial operating system for tokenized Real World Assets.

An asset owner tokenizes an asset on Brickken's sandbox, launches its offering, and an investor connects their own wallet to get whitelisted, invest, and later claim their tokens.

Tech stack

  • Claude
  • ChatGPT
  • GitHub Copilot
  • Vercel

Prompt

Copy .env.example to .env.local.
cp .env.example .env.local
Fill in .env.local: BRICKKEN_API_KEY, an issuer signer wallet, an investor wallet, RWAOS_OPERATOR_TOKEN (any long random string you pick yourself), and KV_REST_API_URL / KV_REST_API_TOKEN from an Upstash Redis database. To generate a wallet without ever printing the private key to screen, run:
node -e "
const { Wallet } = require('ethers');
const fs = require('fs');
const w = Wallet.createRandom();
let env = fs.readFileSync('.env.local', 'utf8');
env = env.replace(/BRICKKEN_SIGNER_ADDRESS=.*/, 'BRICKKEN_SIGNER_ADDRESS=' + w.address);
env = env.replace(/BRICKKEN_SIGNER_PRIVATE_KEY=.*/, 'BRICKKEN_SIGNER_PRIVATE_KEY=' + w.privateKey);
fs.writeFileSync('.env.local', env);
console.log('Address (safe to share):', w.address);
"
Fund both wallets with Sepolia test ETH from a faucet. The investor wallet also needs sandbox test USDT, Brickken's sandbox USDT contract has an open mint function, which mint-test-usdt.js in this repo uses.

Install and run.

npm install
npm run dev
Open /onboard, /issuer, or /invest/[assetId] and enter your RWAOS_OPERATOR_TOKEN once. It stays on that device and gets sent with every write request from then on.

1 like · 4 views

Explore more on Prompted

Loading