peerchemist / trotter

Trotter does abstraction on creation of NFT tokens on multiple evm-based blockchain networks.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

MNEMONIC environment variable is not read by the trotter #5

Closed peerchemist closed 3 years ago

peerchemist commented 3 years ago

Trotter keeps failing with:

Mnemonic invalid or undefined

I enter the container with

docker exec -ti trotter /bin/bash

And check for variables:

root@97c9d86068b9:/app# echo $MNEMONIC "input engage salon smooth choose buffalo priority february advice crop visit stand"

So it is there, but it is not picked up by Trotter for some reason.


Other variable are also properly set in the container:

root@97c9d86068b9:/app# echo $TROTTER_NODE_ENV "prod"

root@97c9d86068b9:/app# echo $MONGODB_URL "mongodb://mongo/trotternfts?readPreference=primary&appname=MongoDB%20Compass&ssl=false"

And picked up correctly.

bigchiano commented 3 years ago

it's the double quote we using on the docker compose, somehow it doesn't get filtered by javascript and web3js sees it as an actual character when i remove the quotes from the docker compose file it works just not sure if that will be a problem on deploy staging