Graphite Wrapped Tokens
Last updated
These are the addresses of the token and the bridge.
All tokens have the symbol @G.
All tokens have the symbol @G.
You can use our official interface at https://bridge.atgraphite.com. If you prefer to use the bridge functionality without our frontend, follow the instructions below based on your current network to transfer Graphite tokens from one chain to another.
Use the swap function:
This is a payable function — make sure to send the desired amount of native Graphite (@G) along with the transaction.
Parameters:
to
address
Address on the destination chain to receive the tokens
destChainId
uint256
Destination chain ID (1 = Ethereum, 56 = BSC, 137 = Polygon, 42161 = Arbitrum)
Use the swapToken function:
Parameters:
to
address
Address on the destination chain to receive the tokens
destChainId
uint256
Destination chain ID (1 = Ethereum, 56 = BSC, 137 = Polygon, 42161 = Arbitrum, 440017 = Graphite)
amount
uint256
Amount of Graphite tokens to send (18 decimals)
The contract code and full documentation are available at: https://github.com/atgraphite/graphite-token You can find the documentation for all available contract methods here: https://github.com/atgraphite/graphite-token/blob/main/docs/LiquidityStorager.md
Last updated
function swap(address to, uint256 destChainId) external payablefunction swapToken(address to, uint256 destChainId, uint256 amount) external