Compare commits
1 Commits
master
...
chore/remo
Author | SHA1 | Date | |
---|---|---|---|
e9987b4d39 |
@ -24,7 +24,6 @@ As usual in Hubot, you can add all config as environment variables.
|
||||
| `KREDITS_WALLET_PATH` | Path to an Etherum wallet JSON file (default: `./wallet.json`) |
|
||||
| `KREDITS_WALLET_PASSWORD` | Wallet password |
|
||||
| `KREDITS_PROVIDER_URL` | Ethereum JSON-RPC URL (default: `http://localhost:7545`) |
|
||||
| `KREDITS_NETWORK_ID` | The ethereum network ID to use (default: 100 = local) |
|
||||
|
||||
## Integrations
|
||||
|
||||
|
1
index.js
1
index.js
@ -7,7 +7,6 @@ const Kredits = require('kredits-contracts');
|
||||
const walletPath = process.env.KREDITS_WALLET_PATH || './wallet.json';
|
||||
const walletJson = fs.readFileSync(walletPath);
|
||||
const providerUrl = process.env.KREDITS_PROVIDER_URL;
|
||||
const networkId = parseInt(process.env.KREDITS_NETWORK_ID || 100);
|
||||
|
||||
const ipfsConfig = {
|
||||
host: process.env.IPFS_API_HOST || 'localhost',
|
||||
|
Loading…
x
Reference in New Issue
Block a user