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.
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
const Web3 = require('web3');
const web3 = new Web3("https://node.moonnet.space/uuid/<uuid>")
const { ethers } = require('ethers')
const provider = new ethers.providers.JsonRpcProvider("https://node.moonnet.space/uuid/<uuid>")
module.exports = {
setupProvider: (baseProvider) => {
baseProvider.host = "https://node.moonnet.space/uuid/<uuid>";
return baseProvider;
},
}