Evolution

Evolution

new Evolution()

Source:

Methods

createEvolutionLand(chain, env) → {*}

Source:

create a instance for interacting with Evolution Land

Parameters:
Name Type Description
chain

['ethereum', 'tron']

env

Ethereum for ['main','kovan']、 Tron for ['main', 'shasta']

Returns:
Type
*

createTronweb(config)

Source:

create tronweb instance

Parameters:
Name Type Description
config

[fullNode, solidityNode, eventServer, privateKey] You can also set a [fullNode]

createWeb3js(config)

Source:

create web3js instance.

Parameters:
Name Type Description
config

[provider: A URL or one of the Web3 provider classes.]