Skip to content

Latest commit

 

History

History
 
 

web-console

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Smart Contract - Console

Usage

Load Artifact

App.initContract('ContractName');

Get Contract with Address

const myContract = await App.getContract('ContractName', '0x123...');

// myContract.methods.myMethod([param1[, param2[, ...]]]).call(options [, defaultBlock] [, callback])
// myContract.methods.myMethod([param1[, param2[, ...]]]).send(options[, callback])

Deploy Contract with Arguments

App.deployContract('ContractName', ['arg1', 'arg2']);