CradleScript · one source, every major chain
Write a contract once. Ship it to every major chain.
CRADLE compiles one chain-blind source, in CradleScript, Rust or Solidity, into idiomatic Solidity for every EVM network, a native Solana program, near-sdk and ink! WASM, and Aptos and Sui Move. Twenty-three security checks run on the intermediate representation before anything is lowered, costs are estimated per chain, and every capability is proven by on-chain conformance suites.
Six targets, one source
Idiomatic on each chain, not lowest common denominator
A real example
A tip jar, in CradleScript
Value in, value out, an owner guard and a read-only view. This is the whole contract, taken from the examples folder that ships with CRADLE.
blueprint TipJar {
store {
owner: address protected = sender;
collected: amount = 0;
}
// value IN: anyone tips the jar
funded action tip() {
collected = checked_add(collected, received);
}
// value OUT: the owner withdraws
action withdraw(amount: amount) {
ensure(sender == owner, NotOwner);
ensure(collected >= amount, Insufficient);
collected = checked_sub(collected, amount);
dispatch(sender, amount);
}
read action total() -> amount { give collected; }
}
Build it: cradle build examples/tipjar.cradle
The pipeline
Security sits on the build's critical path
One rule protects every target chain, because the checks run on the shared representation, not on each output.
Source
CradleScript, Rust or Solidity. Write it once, chain-blind.
CRADLE IR
The keystone. One representation every adapter lowers out of.
USVE 23 analyzers
Reentrancy, access control, arithmetic and more, found once on the IR. A high-severity finding blocks the build.
QRRO cost report
Per-chain gas and compute units estimated against real limits, so surprises surface at build time, not on mainnet.
Adapters
EVM · Solana · NEAR · Polkadot · Aptos · Sui. Idiomatic output on each.
Proven on-chain, not just compiled
Every capability has a conformance suite
Each row is a deployed suite that runs live on a validator and on an EVM node in CI. The green badge in the Studio comes from these runs.
| CradleScript capability | EVM lowering | Solana lowering | Suite |
|---|---|---|---|
| State, roles, owner guard, pausable, reentrancy guard, records, time | Storage, modifiers, structs, block.timestamp | Account data, guards, Borsh, Clock sysvar | counter 7/7 |
| Per-key accounts | mapping(K ⇒ Struct) | One PDA per key, rent paid, invoke_signed | pda_bank 7/7 |
| Native value in and out | msg.value, checked transfer | System-transfer CPI, direct lamport move | tipjar 7/7 |
| Fungible-token transfer | IERC20 transfer | SPL Token CPI signed by the program PDA | token_vault 6/6 |
| Bounded loops | for loop | for loop | batch 3/3 |
| Gasless onboarding | — | Program treasury funds PDA rent | gasless |
| All of the above in one program | — | — | stake_pro 7/7 |
Cradle Studio
A web IDE that also writes the contract for you
No-code builder
Pick a template, fill a form. CRADLE writes an audited, OpenZeppelin-based contract, scans it, deploys it and exports a ready-to-use dApp page. On Solana: SPL tokens and NFTs with Metaplex metadata through Phantom.
AI builder
Describe a contract in plain English. It generates, compiles and auto-fixes errors. A local generator with no API key works offline too.
Chain chooser
Pick EVM or Solana on entry and switch any time. Inline errors with click-to-line, a clear pass or fail security gate, capability chips.
Runs on your machine
Monaco, ethers and the Solana libraries ship with the Studio. No CDN, nothing leaves 127.0.0.1 unless you deploy.
More from the booth
Digital brochure
Scan to download this brochure
Point your camera at the code and this brochure opens on your phone. Share it, or add it to your home screen so it stays one tap away.
Save Trees · Save your contenthttps://solieum.com/brochures/solveDownload PDF