Click here to connect to MetaMask

Here are the default accounts on your MoonNet node that you will want to use for your testing. They are each loaded with 1000 ETH.

With Truffle

Add a new network to your `truffle-config.js`:
networks: {
  moonnet: {
    provider: new HDWalletProvider(mnemonic, "https://node.moonnet.space/uuid/<uuid>"),
    skipDryRun: true,
    network_id: "*"
  }
}
You can now run your migrations:
truffle migrate --reset --network mooonnet

With Web3

const Web3 = require('web3');
const web3 = new Web3("https://node.moonnet.space/uuid/<uuid>")

With Ethers

const { ethers } = require('ethers')
const provider = new ethers.providers.JsonRpcProvider("https://node.moonnet.space/uuid/<uuid>")

With OpenZeppelin Test Environment

module.exports = {
  setupProvider: (baseProvider) => {
    baseProvider.host = "https://node.moonnet.space/uuid/<uuid>";
    return baseProvider;
  },
}