Watr Developer Portal
  • Home
  • Quickstart
    • Block Explorer
    • Creating a Polkadot Wallet
    • Requesting Watr Tokens
    • Connecting to Testnet
    • Keystore Setup
    • Submitting a Transaction
    • Building & Running Locally
  • Builders
    • Adding an Asset
    • Substrate Contracts
    • Ethereum Contracts
      • Deploy ERC-20 Contracts
      • Interact with ERC-20 Contract
      • Polkadot/Ethereum Address Translation
      • Add Watr to Metamask Wallet
      • Send WATR to/from Metamask Wallet
      • Launch local Ethereum block explorer
      • Remix
    • Watr SS58 Spec
  • Running A Node
    • Node Types
    • Standard Requirements
    • Deployment
Powered by GitBook
On this page
  1. Builders
  2. Ethereum Contracts

Deploy ERC-20 Contracts

PreviousEthereum ContractsNextInteract with ERC-20 Contract

Last updated 2 years ago

This guide assumes you have already set up the .

The most convenient way to deploy contracts to Watr using truffle is to make use of the truffle dashboard, which connects your metamask wallet.

  1. Connect to the Watr Network from

  2. Enable the truffle dashboard by typing the command truffle dashboard in a terminal, a browser window will open.

  3. Connect the truffle dashboard to metamask.

    You will be prompted to check that the network you are connecting to 688 is correct. Confirm the choice.

    Your truffle dashboard is now connected to the Watr EVM.

  4. Right click on the contract you wish to deploy and choose Deploy Contract

  5. Select Deploy via Truffle Dashboard as your preferred method

  6. Go to the browser window and confirm the signing request

  7. Review the output from the truffle command line for contract address, cost etc

truffle for VSCode extension
metamask