Asentum Icon
Smart Contracts in JS

Write smart contracts in JavaScript. Finally.

No Solidity. No Rust. No Move. Just JavaScript — ES modules, classes, and patterns you already know. Asentum's V8 Isolate engine executes contracts in a deterministic sandbox with gas metering, state persistence, and a rich standard library. Deploy from the browser or CLI in minutes.

okx exchange
binance exchange
mexc exchange
lbank exchange
bitmart exchange
xtcom exchange
okx exchange
binance exchange
mexc exchange
lbank exchange
bitmart exchange
xtcom exchange
Asentum Icon
Contract Features

Familiar patterns, blockchain superpowers

Contracts are ES modules that export a default class. State is class properties (auto-persisted). Use msg.sender, block.timestamp, emit(), and assert() — injected globals that connect your JavaScript to the chain.

V8 Isolate Sandbox

V8 Isolate Sandbox

Each contract runs in an isolated V8 context with no access to filesystem, network, or system APIs. Deterministic execution with seeded PRNG, block timestamps replacing Date, and BigInt for safe math.

Gas Metering

Gas Metering

Precise instruction-level gas counting via V8 engine. EIP-1559 pricing with dynamic base fee and priority tips. Simple transfers cost ~$0.001. 5-second hard timeout prevents infinite loops.

Standard Library

Standard Library

Built-in @asentum/token (ERC20-like), @asentum/nft, @asentum/dao, @asentum/math (BigInt wrappers), and @asentum/storage. Import standards like npm packages — no reinventing the wheel.

Browser Playground

Browser Playground

Monaco editor in the browser. Write contracts, deploy to testnet with one click. Built-in debugger, state inspector, template gallery, and AI assistant. Zero local setup required.

Asentum Icon
Contract Templates

Start with a template, ship in minutes

Our template gallery includes production-ready contracts you can customize and deploy. Tokens, NFTs, DAOs, DEXs, staking pools, lending protocols — all written in clean JavaScript with full documentation.

Token (ERC20)

Token (ERC20)

Fungible tokens with mint, burn, transfer, and allowance. Built on @asentum/token standard.

NFT Collection

NFT Collection

Non-fungible tokens with metadata, royalties, and marketplace integration. Built on @asentum/nft.

DAO Governance

DAO Governance

Proposal creation, voting, execution, and treasury management. Built on @asentum/dao.

AMM DEX

AMM DEX

Automated market maker with liquidity pools, swaps, and fee distribution.

Staking Pool

Staking Pool

Pooled staking contract with reward distribution, delegation, and withdrawal.

Lending Protocol

Lending Protocol

Collateralized lending with interest rates, liquidation, and health factors.

Asentum Icon
Ready to Write Your First Contract?

Open the playground and start building

No setup. No installation. Just open your browser, pick a template, customize it, and deploy to testnet. Your first JavaScript smart contract is five minutes away.