Methods
createEvolutionLand(chain, env) → {*}
create a instance for interacting with Evolution Land
Parameters:
| Name | Type | Description |
|---|---|---|
chain |
['ethereum', 'tron'] |
|
env |
Ethereum for ['main','ropsten']、 Tron for ['main', 'shasta'] |
Returns:
- Type
- *
createTronweb(config)
create tronweb instance
Parameters:
| Name | Type | Description |
|---|---|---|
config |
[fullNode, solidityNode, eventServer, privateKey] You can also set a [fullNode] |
(async) createWeb3js(config)
create web3js instance.
Parameters:
| Name | Type | Description |
|---|---|---|
config |
[provider: A URL or one of the Web3 provider classes.] |