Build on Asentum
The Playground
Browser contract IDE · Estimated read time: 4 minutes
TL;DR
The playground at testnet.asentum.com/playground is a zero-install contract IDE in the browser. Pick a template, click Deploy, interact with the deployed contract — all without leaving the tab. It's the fastest way to feel how Asentum contracts work.
Opening the playground
Open testnet.asentum.com/playground. No account, no install. You'll see a code editor on the left, a deploy/interact panel on the right, and a template picker at the top.
Starter templates
- Token — a minimal fungible token: mint, transfer, balanceOf.
- Guestbook — a log of signed messages; anyone can leave a note, anyone can read the feed.
- Tip Jar — accepts ASE, tracks total received, owner-only withdrawal. The same example from Writing Contracts.
Connecting a wallet
To deploy or send, click Connect wallet — the playground uses the window.asentum provider injected by the Asentum Wallet extension. First connect triggers an approval popup; after that the playground has per-origin permission.
Deploying
With a wallet connected and funded (use the faucet if your balance is zero), click Deploy. Your wallet prompts for approval, signs the deploy transaction, and broadcasts it. The playground watches the chain and drops you into the interaction view as soon as the contract is mined.
Calling methods
Post-deploy, the playground introspects your contract and classifies every function as a view method (read-only) or a send method (writes or emits). Each gets auto-generated parameter inputs.
- Call (view) — free, instant, returns the value.
- Send (write) — wallet prompts for approval, broadcasts a signed transaction, shows the tx hash and a link to the explorer.
Starting from scratch
Clear the editor and paste your own source. Everything in Writing Contracts applies. When you're happy, deploy from the playground for a test, or switch to the SDK for programmatic deploys in CI.
Read next