quarkchain-web3.js
quarkchain-web3.js copied to clipboard
web3.qkc.getTransactionReceipt.contractAddress is a qkc address
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.