DogeVM on Dogecoin — mainnet is not yet live. Testnet and regtest availability will be announced. This guide will get you from zero to a deployed contract once the network is ready.

Prerequisites

  • Node.js 18+ — for the TypeScript SDK
  • Rust + Cargo — for writing and building contracts
  • WASM target: rustup target add wasm32-unknown-unknown
  • A running DogeVM node (or access to a hosted endpoint)

Install the SDK

Code examples will be added when testnet and regtest are available.
The package name is @dogevm/sdk. It exports everything from a single entry point.

Connect to DogeVM

Code examples will be added when testnet and regtest are available.

Deploy Your First Contract

The fastest way to get started is the dogevm-contract-template — a pre-configured Cargo workspace with the SDK, build scripts, and tests included. Clone it and skip the manual setup below.

1. Write a Contract

Code examples will be added when testnet and regtest are available.

2. Build

3. Deploy

4. Call It


Deposit DOGE

To use vDOGE in contracts, deposit DOGE into your vault. Code examples will be added when testnet and regtest are available. After sending DOGE to your vault address, wait 3 confirmations (~3 minutes); your vDOGE will then appear.

DRC-20 Tokens

DRC-20 is the fungible token standard on Dogecoin using inscriptions. You deploy, mint, and transfer by inscribing JSON on koinus — no smart contract VM on L1. See DRC-20 for the full spec and Doginals & DRC-20 for how it fits with DogeVM.

Next Steps