It is possible to use the docker container to modify, test and deploy the contracts in the Remix IDE.
If it is not needed to modify the contracts, they can be opened in the Remix IDE without necessity to clone the repo:
-
Pull the docker image
docker pull omnibridge/nft-contracts:latest
-
Run the container
docker run -d --rm --name nft-ob-remixd -p 65520:65520 omnibridge/nft-contracts:latest yarn remixd
-
Open a new workspace through connectivity to localhost in the Remix IDE. It is important to use HTTPS to access the IDE: https://remix.ethereum.org/.
In case of the modification of the contracts it makes sense to mount the local directory with the git repo in the Remix IDE.
-
Pull the docker image
docker pull omnibridge/nft-contracts:latest
-
Move to the directory with the contracts.
cd omnibridge-nft
-
Run the container
docker run -d --rm --name nft-ob-remixd -p 65520:65520 -v $(pwd):/workdir omnibridge/nft-contracts:latest yarn remixd
-
Open a new workspace through connectivity to localhost in the Remix IDE. It is important to use HTTPS to access the IDE: https://remix.ethereum.org/.