You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending money as described in the ContractKit docs does not work and always results in an error. It is also different from how sending money is implemented in the dAppKit Docs.
The first line of the sample code in the ContractKit Examples say that we can do const goldtoken = await kit.contract.getGoldToken()
but the correct code should be const goldtoken = await kit.contracts.getGoldToken()
The sample code in the docs have missing imports
We couldnt find toTxResult even though it is used in the sample code, nor does it seem to be needed when sending transactions like this const result = await kit.web3.eth.sendSignedTransaction(tx);
The text was updated successfully, but these errors were encountered:
For documentation we will use typedoc, and generate docs form .ts files.
typedoc by default generates an html static site, but in order to integrate it with gitbook I'm using a markdown plugin and having some problems with it.
Expected Behavior
Feeback to resolve:
kit.web3.eth.Contract(...).deploy(...)
(now Document how to deploy smart contract on Celo #1046 )const goldtoken = await kit.contract.getGoldToken()
but the correct code should be
const goldtoken = await kit.contracts.getGoldToken()
const result = await kit.web3.eth.sendSignedTransaction(tx);
The text was updated successfully, but these errors were encountered: