Update contracts, Ethereum/IPFS configs #65
@@ -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) => {
|
||||
|
||||
@@ -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',
|
||||
|
||||
Generated
+4264
-4223
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user