Last active
August 15, 2019 09:10
-
-
Save iwasaki-kenta/9291466cb6ec5d7f23a610cbe5e1253f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await contract.call( | |
wallet, | |
'send_message', | |
JSBI.BigInt(0), // amount to send | |
JSBI.BigInt(250000), // gas limit | |
JSBI.BigInt(0), // gas deposit (not explained) | |
{type: "string", value: "Your chat message here!"}, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment