command
Version:
v0.0.0-...-0922dbf
Opens a new window with list of versions in this module.
Published: Dec 10, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This example calls two contract functions, with and without calldata. It uses an ERC20 token, but it can be any smart contract.
Steps:
- Rename the ".env.template" file located at the root of the "examples" folder to ".env"
- Uncomment, and assign your Sepolia testnet endpoint to the
RPC_PROVIDER_URL
variable in the ".env" file
- Uncomment, and assign your account address to the
ACCOUNT_ADDRESS
variable in the ".env" file
- Make sure you are in the "simpleCall" directory
- Execute
go run main.go
The calls outuputs will be returned at the end of the execution.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.