Ricardo Guilherme Schmidt aaba029cb8
add bridge code
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00
2023-07-17 13:59:00 -03:00

Bridging SNT with the Optimism SDK

This repository contains code to deploy SNT in Ethereum and bridge it to optimism.

Scripts:

npx hardhat run scripts/deploySNT.js --network <network> -> deploy to Optimism chain with the contracts.json configured addresses.

npx hardhat run scripts/deployOptimism.js --network <network> -> deploy to an optimism chain with the contracts.json configured addresses.

The script node index.js uses the configured goerli bridge to bridge 1 STT on Goerli into 1 SNT on Optimism-Goerli.

To everything work, .env needs to be created out of .env.example.

All tokens, even on Optimism, are MiniMeToken variant, meaning they save all account's balance change on Ethereum state for democracy contract ballots. Learn more about MiniMeToken on the official repository Giveth/minime.

Description
Creates a bridge of SNT into Optimism
Readme
Languages
JavaScript 100%