dojima. / background

Background · 5 min read

Why a contract can't trade on RISEx yet, and two proposals that would fix it.

Credit accounts, a synthetic book and order hooks already run as experiments on RISE testnet. Each is blocked by one of two things.

[ 01 ] Today

Only a plain key can place an order.

The hosted API won't relay an order signed by a smart contract, and there is no public way for a contract to get the order role on chain.

wallet key contract contract hosted API role 14on-chain gate RISExorder book ✕ ✕
0

standalone contracts among 2,090 recently active RISEx accounts sampled on 17 November 2026. 2,085 were plain wallets; five were smart wallets trading through a separate session key.

Source: the RIPs README

[ 02 ] RIP-3 · draft

Let a contract sign its own orders.

The hosted API checks a contract's signature with ERC-1271 and relays the order. The router already decodes these permits, so the change is off-chain. Any account gets to set its own rules for what it signs.

contract accountits own rules hosted APIisValidSignature? router order book

unlocks:passkey walletsSafecredit accountsstop-losses & TWAPs[ read RIP-3 ↗ ]

[ 03 ] RIP-4 · draft

Let reviewed contracts trade in the same transaction.

A governance process for granting the order role (AccessManager role 14) to reviewed contracts. No code change. It is for designs that must place an order and update their own state at once.

ONE TRANSACTION your contractholds role 14 update own state placeOrder order book
unlocks:synthetic bookorder hooksportfolio margin[ read RIP-4 ↗ ]

[ 04 ] From the Labs

What runs on testnet today.

These animations come from the Dojima Labs app on RISE testnet. Each tile opens the live experiment.

needs RIP-4live on testnet

Synthetic book

Traders match each other at the RISEx mid. What doesn't match rests on RISEx. Leverage above RISEx's own sits in the book's pool.

[ open in Labs ↗ ]
needs RIP-3testnet, gateway variant

Credit accounts

Borrow from a pool to trade. An order that would break the loan is an invalid signature.

[ open in Labs ↗ ]
needs RIP-4live on testnet

Order hooks

Checks before every order: size and leverage caps, a daily loss limit, delegated trading within limits you set.

[ open in Labs ↗ ]
backs bothlive on testnet

Earn by supplying

Deposits fund the lending pool and the book's pools. What traders pay drips back.

[ open in Labs ↗ ]

How far can the price move?

A credit account with $1,000 of your own and $3,000 borrowed, all in one long. Drag the price move and watch its credit line fall toward 1.00×, where anyone may start liquidation.

−20%+20%

Illustrative numbers. Line = equity × equity ratio (4) ÷ debt. The Labs app reads the ratio live.

Credit line against price move 1.00× liquidation −20%0+20%

[ 05 ] Status

ExperimentNeedsWhere it runs
Synthetic bookRIP-4testnet
Order hooksRIP-4 (RIP-3 for pre-trade checks only)testnet
Credit accountsRIP-3 (or RIP-4 today)testnet, gateway variant
Portfolio margin liquidationRIP-4mainnet fork
Smart wallets and moreRIP-3proposed
Experiment 00 Redactedmainnet · WIP · dropping soon

[ 06 ] Nothing promised

These are experiments on RISE testnet under the working name Dojima. None is a live product.

If RISE adopts either proposal, some of them may move to mainnet. If it doesn't, they stay experiments. Experiment 00 is a separate, redacted mainnet experiment: work in progress, dropping soon.