Private
Readonly
clientProtected
configProtected
managerStatic
initInitialize a new worker.
In local sandbox mode, this will:
root
:In testnet mode, the same functionality is achieved via different means:
creating a new account as the root
.
Since all actions must occur on one blockchain instead of N.
a configuration object
an instance of the Worker class
Generated using TypeDoc
The main interface to near-workspaces. Create a new worker instance with init, then run code on it.