-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements #3
base: master
Are you sure you want to change the base?
Improvements #3
Conversation
"expo": "32.0.0", | ||
"jest": "24.8.0", | ||
"node-libs-browser": "2.2.0", | ||
"prop-types": "15.7.2", | ||
"react": "16.5.0", | ||
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could it be fetched from npm rather than directly from github?
"react-navigation": "^3.0.9", | ||
"web3": "^1.0.0-beta.52" | ||
"react-navigation": "3.0.9", | ||
"web3": "1.0.0-beta.52" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to use web3 in a stable version (1.2.1). You would have to check if there are no breaking changes.
|
||
class Web3Service { | ||
constructor() { | ||
this.web3 = new Web3(this.httpProvider()); | ||
this.web3.eth.defaultGas = 1000000; | ||
this.web3.eth.defaultGasPrice = 2000000000; | ||
this.web3.eth.defaultGasPrice = parseInt(GAS_PRICE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add .env.tpl to the project
No description provided.