Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1003 Bytes

File metadata and controls

31 lines (20 loc) · 1003 Bytes

Polymath

Development

Troubleshoot

  • Try to clean your Metamask cache: Settings > Reset Accounts

Environment variables

You can set the following env vars inside a .env file on the package's root

REACT_APP_NETWORK_KOVAN_WS: To connect to Kovan locally REACT_APP_NETWORK_GOERLI_WS: To connect to Goerli locally REACT_APP_NETWORK_MAIN_WS: To connect to the Mainnet locally REACT_APP_ALLOW_GANACHE_ONLY: Allows usage of ganache without Metamask when running in local stage

Running without Metamask

  1. Create a .env file in packages/polymath-issuer
  2. Add REACT_APP_ALLOW_GANACHE_ONLY=true to the .env
  3. Make sure you have mongodb set up and running
  4. Run the following commands:
  • yarn local-blockchain:start
  • yarn start:offchain
  • yarn start:issuer
  1. Disable the Metamask extension in your browser if it is enabled