Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dhruv-2003/sdtokenbridge
A bridge from ETH Rinkeby to Polygon Mumbai for StackedDollars Token
https://github.com/dhruv-2003/sdtokenbridge
Last synced: 21 days ago
JSON representation
A bridge from ETH Rinkeby to Polygon Mumbai for StackedDollars Token
- Host: GitHub
- URL: https://github.com/dhruv-2003/sdtokenbridge
- Owner: Dhruv-2003
- Created: 2022-07-15T04:53:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-15T18:22:43.000Z (over 2 years ago)
- Last Synced: 2024-10-08T03:42:14.913Z (about 1 month ago)
- Language: JavaScript
- Size: 822 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bridge from ETH(Rinkeby) to Polygon(Mumbai)
Now you can transfer the Stacked Dollars to & fro from Rinkebyπ₯ to Polygon π₯. The website link will be out soon
LFG ππ## Screenshots
![Bridge](https://i.ibb.co/KF3ps0r/bridge.png)
## Demo Link
You can view the Demo Link here soon :
## Run Locally for your token && Deploy the Contracts
- Clone the project
```bash
git clone https://github.com/Dhruv-2003/SDTokenBridge
```- Go to Solidity directory
```bash
cd solidity
``````bash
npm insatll
``````bash
npx hardhat run scripts/origin.js --network rinkeby
```Copy out the Contract Addresses and store it in a file
```bash
npx hardhat run scripts/destination.js --network mumbai
```Copy out the Contract Addresses and store it in a file
- Go to backend project directory
&& change the .env file with the example below```bash
cd backend
``````bash
npm installor
yarn install
``````bash
npm start
```-Go to the frontend project directory
```bash
cd frontned
```Install dependencies
```bash
npm installor
yarn install
```- Change the .env files with the example file below
- Start the server
```bash
npm run dev
```## env Example
- frontend
```bash
ALCHEMY_ID =
ORIGIN_TOKEN_ADDRESS =
DESTINATION_TOKEN_ADDRESS =
BRIDGE_WALLET =
```- backend
```bash
ORIGIN_WSS_ENDPOINT=
ORIGIN_HTTPS_ENDPOINT=
ORIGIN_TOKEN_CONTRACT_ADDRESS=
DESTINATION_WSS_ENDPOINT=
DESTINATION_HTTPS_ENDPOINT=
DESTINATION_TOKEN_CONTRACT_ADDRESS=
BRIDGE_WALLET=
BRIDGE_PRIV_KEY=
ORIGIN_EXPLORER=https://ropsten.etherscan.io/tx/
DESTINATION_EXPLORER=https://explorer.pops.one/
WALLET_ZERO=0x0000000000000000000000000000000000000000```
## Support
For support, email [email protected] .