In this guide, we will discuss how to bridge ETH to PGN using the PGN mainnet bridge.
Warning: Please do not transfer large amounts of ETH to PGN. It is recommended to transfer a small amount of ETH when bridging for the first time.
Also, do not directly transfer WETH or any ERC-20 tokens to the bridge address.
Bridging Options on PGN:
- Superbridge (opens in a new tab): L1 to L2 depositing and withdrawing of all officially deployed tokens, including DAI, USDT and GTC. There is a 7-day challenge period for withdraws back to L1, with unique features to make the process smooth.
- LayerSwap (opens in a new tab): L1 to L2 depositing and withdrawing and L2 to L2 bridging for ETH. Withdrawls are not subject to the challenge period and clear in minutes.
- PGN native bridge (opens in a new tab): L1 to L2 depositing and withdrawing of all officially deployed tokens, including DAI, USDT and GTC. There is a 7-day challenge period and process for withdraws back to L1.
Follow these steps to bridge tokens from Ethereum (L1) to PGN mainnet network (L2):
- Navigate to the PGN bridge: bridge.publicgoods.network (opens in a new tab)
- Connect your wallet.
- Make sure the following are set up within the bridge.
- Set “Asset” to your desired token
- Set “From” to “Ethereum”
- Set “To” to “PGN”
- Enter the amount of tokens you’d like to bridge to PGN.
- Deposit your tokens to the bridge.
- Pay the gas fee.
- Wait for the transaction to process.
Although the bridge will offer status updates when the transaction state changes, you might go as much as 30 seconds without an update. This is to be expected depending on the gas amount paid and the settlement speed on the L1.
When bridging to Bedrock chains such as PGN, you may need to increase the gas for the bridge transaction to settle properly. If you are running into transaction errors when trying to bridge, try increasing the gas. More details can be found in the Bedrock documentation (opens in a new tab).
You can review your bridge transactions by navigating to the block explorer (opens in a new tab) and searching for your wallet address. Note that you might need to use your actual wallet address instead of an ENS or custom domain name.
When bridging tokens from PGN to Ethereum, your transaction must go through a 7-day challenge period.
This challenge period is important, as it is designed to protect users from fraud. During this period, a user can submit a fault proof to challenge a transaction before it is relayed from the L2 to the L1.
To successfully bridge from PGN to Ethereum, you must follow these instructions:
- Submit the withdrawal using the bridge.
- Change back to the Ethereum network.
- Navigate to the Withdrawals (opens in a new tab) page. You will eventually see your transaction show up with the status, "Waiting for state root".
- Within 30 minutes, your transaction status will change to "Ready to prove." Click the "Prove" button to initiate the challenge window.
- The transaction status will change to "In challenge period" and will display how much time is left in the period via the "Time left" column.
- Once the challenge period is over, the transaction status will change to "Ready to relay". You will need to click the "Finalize" button to relay the transaction to PGN.
At this point, the transaction should say "Relayed", which means that the tokens have successfully been bridged to Ethereum!
To put this process a different way, please refer to the following table:
|1||Submit the transaction to the bridge.|
|2||Change your network to Ethereum|
|3||Navigate to the Withdrawals page.||Waiting for state root||30 minutes|
|4||Click the "Prove" button to initiate the challenge window.||Ready to prove|
|5||Wait for the seven day window to close||In challenge period||7 days|
|6||Click the "Finalize" button to relay the transaction to PGN.||Ready to relay|
Some key details to understand around the timing of a challenge period:
- The challenge period ends after 7 days, regardless of whether or not a fault proof has been submitted.
- If a fault proof is submitted after the challenge period has ended, the challenge will be dismissed.
- You can only challenge a transaction that you have personally submitted.
- You cannot challenge a transaction that has already been withdrawn.
You can learn more by reading the Optimism documentation (opens in a new tab) on the subject.
The instructions for testnet are very similar to mainnet. However, you will use the following PGN Sepolia bridge, and bridge from Sepolia to PGN Testnet instead. bridge.sepolia.publicgoods.network (opens in a new tab)
If you need to request testnet Sepolia ETH, you can do so via the following faucets: