PlatONEnterprise / PlatONE-Go

PlatONE client implemented by golang
GNU Lesser General Public License v3.0
105 stars 50 forks source link

how can I invoke bcwasm contract with JavaScript #20

Open OoKurumi opened 3 years ago

OoKurumi commented 3 years ago

what's the difference between a bcwasm contract and a solidity contact when encodeABI to eth_sendRawTransaction? I have already set the setupGensis.json "wasm" to "all" but when I try to use web3.js to send rpc request for invoking bawasm contract , I always get "transation reverted by evm". Does tool like ctool or cli do something else different from web3 when getting a bcwasm abi json file ?Can I do the same thing with JavaScript?

co1ingue commented 3 years ago

currently,we don't support web3j and javascripts, we are working on that