Using MacOS and running npm start outside of contract-kit I can't access localhost via Chrome when deploying with --network oasis. To fix this issue, I had to enter contract-kit via port forwarding: docker run -ti --rm -v "$PWD":/project -p8545:8545 -p8546:8546 -p8080:8080 oasislabs/contract-kit:latest /bin/bash and run npm start within the container.
Using MacOS and running
npm start
outside of contract-kit I can't accesslocalhost
via Chrome when deploying with--network oasis
. To fix this issue, I had to enter contract-kit via port forwarding:docker run -ti --rm -v "$PWD":/project -p8545:8545 -p8546:8546 -p8080:8080 oasislabs/contract-kit:latest /bin/bash
and runnpm start
within the container.