Merge pull request #135 from 67P/feature/expose-available-networks
Expose available network IDs
This commit is contained in:
commit
231d6e2477
@ -83,6 +83,10 @@ class Kredits {
|
||||
return new Kredits(ethProvider, signer, kreditsOptions);
|
||||
}
|
||||
|
||||
static availableNetworks () {
|
||||
return Object.keys(DaoAddresses);
|
||||
}
|
||||
|
||||
get Kernel () {
|
||||
let k = this.contractFor('Kernel');
|
||||
// in case we want to use a special apm (e.g. development vs. production)
|
||||
|
Loading…
x
Reference in New Issue
Block a user