std-gateway-erc20

command
v0.0.0-...-d275869 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 5 Imported by: 0

README

Example Suapp with external calls to an ERC20 contract

This example features how a Suapp can use the Gateway.sol contract to make an external call to check the balance of an ERC20 contract deployed on another chain.

How to use

Run Suave in development mode:

$ suave-geth --suave.dev

Export the JSON-RPC URL of the chain where the ERC20 contract is deployed:

export JSONRPC_ENDPOINT=https://mainnet.infura.io<...>

Execute the deployment script:

$ go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL