Synthetix Docs
V2x
Search
K

Getting Goerli & Optimistic Goerli Testnet Tokens

How to mint testnet tokens (SNX and sUSD) with goETH
In order to mint testnet tokens, exchangeEtherForSNX and exchangeEtherForSynth can be used under the depot contract.
Note that this contract returns SNX and sUSD on goerli for deposited ETH. In order to relay these tokens into optimistim, the official optimistic bridge can be used. Alternatively the bridgeToOptimism contract can be interacted with directly.
Under the bridge contract the deposit function can be used for bridging SNX while intiateSynthTransfer for bridging sUSD into optimism. Bridging sUSD requires using 0x73555344 should provided as an argument under the currencyKey field as the currencyKey.