Install Openzeppelin with docker for contract deployment

deploy contract with openzeppelin and docker

$ mkdir zeppelindocker

$ cd zeppelindocker

$ nano Dockerfile

in that docker file paste the following commands

FROM alpine:latest
RUN apk add --update --no-cache git nodejs npm
RUN npm install --global @openzeppelin/cli

$ sudo docker build -t clever .

config network.js will connect to Ethereum Blockchain

network.js example

$ npx oz init

$ npx oz deploy

Leave a Reply

Your email address will not be published. Required fields are marked *