Add JS wrapper for Kit contract #130

Merged
bumi merged 4 commits from feature/kredits-kit-wrapper into master 2019-06-09 11:56:33 +00:00
Showing only changes of commit ffff09ab23 - Show all commits

View File

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