diff --git a/packages/embark-blockchain-connector/src/provider.js b/packages/embark-blockchain-connector/src/provider.js index f31d18107..5d486c04e 100644 --- a/packages/embark-blockchain-connector/src/provider.js +++ b/packages/embark-blockchain-connector/src/provider.js @@ -22,6 +22,9 @@ class Provider { const accounts = this.accounts.map(a => a.address || a); cb(null, accounts); }); + this.events.setCommandHandler("blockchain:provider:contract:accounts:getAll", (cb) => { + cb(null, this.accounts); + }); } getNonce(address, callback) {