curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.shdocker pull purestake/moonbeam:tutorial-v7Last version of moonbeam node docker image you can find here
docker run --rm --name moonbeam_development --network host \
purestake/moonbeam:tutorial-v7 \
--devcurl -fsSL https://deb.nodesource.com/setup_17.x | sudo -E bash -
sudo apt-get install -y nodejsmkdir hardhat-tutorial && cd hardhat-tutorialnpm init --yes
npm install --save-dev hard hardhatnpx hardhat
npx hardhat compilenano hardhat.config.jsconst { privateKey } = require('./secrets.json');networks: {
dev: {
url: "http://127.0.0.1:9933",
chainId: 1281,
accounts: [privateKey]
}
}You can find privateKey for devNet in Pre-funded Development Accounts
npx hardhat run scripts/deploy.js --network dev