quarkchain-web3.js icon indicating copy to clipboard operation
quarkchain-web3.js copied to clipboard

web3.qkc.getTransactionReceipt.contractAddress is a qkc address

Open jishankai opened this issue 6 years ago • 0 comments

It's different in readme.

contractAddress : String - 20 Bytes - The contract address created without full shard id, if the transaction was a contract creation, otherwise null. To build a QKC contract address, append the toFullShardId used in the contract creation transaction. Normally you should use web3.qkc.contract(abi).new() which returns the QKC address in the callback.

jishankai avatar Nov 12 '18 10:11 jishankai