|
|
@ -14,8 +14,8 @@ const Transactions = require('./methods/transactions.js') |
|
|
|
const generateBlock = require('./genesis.js') |
|
|
|
const generateBlock = require('./genesis.js') |
|
|
|
|
|
|
|
|
|
|
|
class Provider {
|
|
|
|
class Provider {
|
|
|
|
constructor(options) { |
|
|
|
constructor(options = {}) { |
|
|
|
this.options = options || {} |
|
|
|
this.options = options |
|
|
|
// TODO: init executionContext here
|
|
|
|
// TODO: init executionContext here
|
|
|
|
this.executionContext = executionContext |
|
|
|
this.executionContext = executionContext |
|
|
|
this.Accounts = new Accounts(this.executionContext) |
|
|
|
this.Accounts = new Accounts(this.executionContext) |
|
|
|