Learn how to build blocks of the quest/course
transfer()
**function.
jsonData.userMetaMaskAddress
: User’s MetaMask wallet address.
jsonData.contract
: address of thecontract deployed for theuser by BuilderGym.
jsonData.userData
: User’s input from the “Checktheanswer” field.
Ethers
and Axios
(soon planning to add web3.js
and viem.sh
)
()
to the function’s end to ensure it is being called. This given example checks the deployed contract’s balance and returns true if it is 0.
General Tips for Using Messages