VORDIUM DOCS
VRC Standards

Deploy a Contract

Roadmap — EVM is not live yet

Everything here describes a planned capability. EVM execution is currently off, so the commands below will not work today. They are published so integrators can prepare.

Planned — how deploying Solidity contracts will work once EVM execution is enabled.

EVM is not live yetRoadmap

Everything in this section describes a planned capability. EVM execution is currently off on Vordium, so the commands below will not work today — they are published so integrators can prepare. Trading, settlement and agents run natively via VordCore and need no contracts.

Step 1 — Install Foundry

Bash
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup

Step 2 — Create an ERC-20

Solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract MyToken is ERC20 {
    constructor() ERC20("My Token", "MTK") {
        _mint(msg.sender, 1000000 * 10**18);
    }
}

Step 3 — Deploy

Bash
forge create MyToken.sol:MyToken \
  --rpc-url https://rpc.vordium.com \
  --private-key $PRIVATE_KEY

Step 4 — Verify on VordScan