Merge pull request #65 from 67P/feature/switch_to_infura

Update contracts, Ethereum/IPFS configs
This commit was merged in pull request #65.
This commit is contained in:
2018-06-07 14:37:17 +00:00
committed by GitHub
4 changed files with 4271 additions and 4228 deletions
+3 -1
View File
@@ -60,7 +60,9 @@ export default Service.extend({
ethSigner = ethProvider.getSigner();
}
let kredits = new Kredits(ethProvider, ethSigner);
let kredits = new Kredits(ethProvider, ethSigner, {
ipfsConfig: config.ipfs
});
return kredits
.init()
.then((kredits) => {
+3 -3
View File
@@ -37,7 +37,7 @@ module.exports = function(environment) {
contractMetadata: { networkId: '42' },
web3ProviderUrl: 'https://parity.kosmos.org:8545',
web3ProviderUrl: 'https://kovan.infura.io/keUVk6OMaAvpmRF3m57n',
ipfs: {
host: 'ipfs.kosmos.org',
@@ -52,8 +52,8 @@ module.exports = function(environment) {
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
ENV.contractMetadata['networkId'] = '100';
ENV.web3ProviderUrl = 'http://localhost:7545';
ENV.contractMetadata['networkId'] = '42';
ENV.web3ProviderUrl = 'https://kovan.infura.io/keUVk6OMaAvpmRF3m57n';
ENV.ipfs = {
host: 'localhost',
+4264 -4223
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -51,7 +51,7 @@
"eslint-plugin-ember": "^5.0.0",
"ethers": "3.0.15",
"kosmos-schemas": "^1.1.2",
"kredits-contracts": "github:67P/truffle-kredits",
"kredits-contracts": "^3.x",
"loader.js": "^4.2.3",
"tv4": "^1.3.0"
},