For Developers

Smart contracts in plain JavaScript.

No Solidity. No Rust. No new language to learn. Write contracts in JavaScript, test them in your browser, deploy to a chain with 2-second finality and post-quantum signatures.

Open Playground Use cases → Contract guide → SDK reference →
Contract Source

It looks like the code you already write.

Deployed as plain source. Readable on-chain. Verifiable in a single hash compare. Reentrancy structurally impossible.

// A subscription that fires itself. // Customer signs once. Cron does the rest. function subscribe(amountPerWeek) { storage.set('sub:' + msg.sender, { amount: amountPerWeek, nextCharge: chain.timestamp + 7 * 86400, }); cron.schedule(this.address, 'chargeAll', '@daily'); emit('Subscribed', { user: msg.sender, amount: amountPerWeek }); } // Auto-called every day by the chain itself. function chargeAll() { for (const [addr, sub] of storage.entries('sub:')) { if (chain.timestamp >= sub.nextCharge) { E(VLD).transferFrom(addr, storage.merchant, sub.amount); sub.nextCharge += 7 * 86400; } } }
01Write

Write your contract in JavaScript.

Use storage, emit, msg, assert — familiar globals injected by the VM. ES module syntax. No compiler, no ABI generation, no build step.

02Test

Test it live in your browser.

The contract playground at testnet.valdium.xyz/playground lets you write, deploy, and interact with contracts without installing anything.

03Deploy

Deploy to testnet in seconds.

One click from the playground, or use the SDK and CLI. Your contract is live with 2-second finality. Post-quantum signed from the first block.

Developer Tooling

Everything you need. Nothing you don't.

Contract Playground

In-browser IDE with templates, deploy, and interact — no install.

@valdium/sdk

ValdiumClient, ValdiumWallet, ValdiumContract. ~14 KB. Node + browser. On npm.

@valdium/pay

Stripe-shaped payments SDK. Charges, customers, checkout sessions, webhooks.

ARC-20 + VRC-21

Fungible token + scheduled-execution standards. The vocab the ecosystem speaks.

JSON-RPC API

Native val_* JSON-RPC over a standard JSON-RPC 2.0 envelope. The @valdium/sdk wraps it; generic RPC clients adapt with a thin shim.

Block Explorer

Browse blocks, transactions, contract source, validator activity, faucet.

Contract VM

What your contract has access to.

Contracts run inside SES (Secure ECMAScript) — a hardened JavaScript sandbox. No filesystem, no network, no eval. These are the globals the VM injects:

storage

Persistent key-value store. Read and write contract state.

emit

Emit named events with data. Indexed and queryable.

msg

Transaction context: sender address, value, contract address.

chain

Block context: blockNumber, blockTimestamp, chainId.

cron

Schedule future calls. The chain itself fires them on time.

E(addr)

Cross-contract calls. Reentrancy structurally blocked.

transfer

Send VLD from the contract to another address.

assert

Revert the transaction with a message if condition fails.

Tutorial

Build a token in 10 minutes.

Step-by-step guide: write a token contract, deploy it, transfer tokens, query balances.

Token tutorial →
Guide

Hardened JavaScript explained.

How SES protects contracts from prototype pollution, eval injection, and supply chain attacks.

Read the guide →
Reference

Network parameters.

Chain ID, block time, gas limits, contract size limits, and every protocol constant.

Parameters →
Build for these

Six categories of dapp you couldn't cleanly build elsewhere.

Each one has a working demo + a use-case page with the architecture, the code shape, and the primitives. Pick the one that matches what you're building and start from there.

Creator economy

Revenue splits that auto-distribute.

Read use case →
AI agents

Agents that schedule themselves on-chain.

Read use case →
Subscriptions

Stripe Recurring, settled in 2 seconds.

Read use case →
Payroll

Monthly payday, fired by the protocol.

Read use case →
Treasury

DCA, rebalance, sweep — all on autopilot.

Read use case →
Social

On-chain profiles, posts, comments, likes.

Read use case →
Testnet Live

Stop learning new languages.
Start building.

Open Playground Read the docs →
© 2026 Valdium. Nothing on this site is an offer to sell securities.
PrivacyTerms