Skip to content
This repository has been archived by the owner on Dec 19, 2020. It is now read-only.

Commit

Permalink
add currentProvider.isCyb
Browse files Browse the repository at this point in the history
update dragonereum ipfs hash
use Earth eth nodes by default
  • Loading branch information
vbloher committed Nov 30, 2018
1 parent c166f39 commit 792765f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ class Settings extends Component {
};

setEthMain = () => {
this.updateEth('https://mainnet.infura.io');
this.updateEth('http://earth.cybernode.ai:34545');
};

setEthKovan = () => {
this.updateEth('https://kovan.infura.io');
this.updateEth('http://earth.cybernode.ai:34645');
};

setEthRinkeby = () => {
this.updateEth('https://rinkeby.infura.io');
this.updateEth('http://earth.cybernode.ai:34745');
};

setEthCustom = () => {
Expand Down
2 changes: 2 additions & 0 deletions src/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class ElectronProvider extends EventEmitter {
constructor() {
super();

this.isCyb = true;

this._providerCallbacks = {};
ipcRenderer.on('web3_eth_call', (_, payload) => {
const id = payload.id || payload[0].id;
Expand Down
2 changes: 1 addition & 1 deletion src/redux/rootRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const initState = {
protocol: 'ipfs',
},
dragons: {
hash: 'QmYgxz2Tb74yBeF5ms4rN3N2QFy7cd27iJpYKq2bv6BmCn',
hash: 'QmZG329N15rEt7c1RgZA4DNtSm79pKFWMvr4EErckrL1BR',
protocol: 'ipfs',
},
},
Expand Down

0 comments on commit 792765f

Please sign in to comment.