Remove network ID setting

Not needed anymore.
This commit is contained in:
Basti 2019-04-24 13:32:14 +01:00
parent 5a9edda1cd
commit e9987b4d39
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -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',