diff --git a/lib/contracts/base.js b/lib/contracts/base.js index 8d9d189..9cbcb7a 100644 --- a/lib/contracts/base.js +++ b/lib/contracts/base.js @@ -7,6 +7,10 @@ class Base { return this.contract.functions; } + get address () { + return this.contract.address; + } + get ipfs () { if (!this._ipfsAPI) { throw new Error('IPFS API not configured; please set an ipfs instance'); } return this._ipfsAPI;