Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (19 sloc) 998 Bytes

Developing with Ganache

The torus website runs on HTTPS. The browser security model does not allow an insecure connection to a HTTP endpoint over HTTPS. Install the npm package to proxy your HTTP traffic from Ganache through a HTTPS endpoint. The npm package redirects the traffic present on your Ganache port through https://localhost:8545.

Install and run ganache-http-proxy

npm install -g ganache-http-proxy
ganache-http-proxy

Run Ganache on port 8546

8546 is the port where Ganache is running locally.

ganache-cli -p 8546

Connect to the Ganache localhost instance in Torus

Select localhost:8545 from in the Network selector under the Settings tab within the Torus wallet

4. Accept localhost certificates in your browser

Chrome: Paste the following URL into the address bar.

chrome://flags/#allow-insecure-localhost
You can’t perform that action at this time.