You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Following the code outlined in the readme - Ganache should initialise as a provider to web3
Current Behavior
Attempting to serve my angular app results in build errors
Possible Solution
Steps to Reproduce (for bugs)
Create angular application
npm install ganache-core
create file with code
const Ganache = require('ganache-core');
this.web3 = new Web3();
this.web3.setProvider(Ganache.provider());
run ng serve
Context
Trying to create a web3 provider that is packaged into my app and does not need to run outside, when metamask or mist are not available. For use on the ropsten network.
Your Environment
Version used: Tried with ^2.1.0, ~2.0.2, 1.1.2 - each time gives different errors
Environment name and version (e.g. PHP 5.4 on nginx 1.9.1):
Expected Behavior
Following the code outlined in the readme - Ganache should initialise as a provider to web3
Current Behavior
Attempting to serve my angular app results in build errors
Possible Solution
Steps to Reproduce (for bugs)
Context
Trying to create a web3 provider that is packaged into my app and does not need to run outside, when metamask or mist are not available. For use on the ropsten network.
Your Environment
The text was updated successfully, but these errors were encountered: