-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a16519d
Showing
2,688 changed files
with
45,382 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Upload Changed Networks | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
upload_changed_networks: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
ref: main | ||
|
||
- name: Upload changed jsons | ||
id: upload_changed_jsons | ||
env: | ||
SAVE_NETWORK_API_KEY: ${{ secrets.SAVE_NETWORK_API_KEY }} | ||
run: | | ||
# Use git to get the list of changed files | ||
changed_files=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }}) | ||
# Initialize an empty array to store the changed network jsons | ||
changed_jsons=() | ||
# Loop through the changed files to fetch the content | ||
for file in $changed_files; do | ||
# Use the file command to check the MIME type | ||
mime_type=$(file -b --mime-type "$file") | ||
|
||
# Check if the MIME type is JSON | ||
if [[ ! "$mime_type" == "application/json" ]]; then | ||
continue | ||
fi | ||
|
||
# Read the content of the file | ||
file_content=$(cat "$file") | ||
|
||
# Parse the JSON data | ||
parsed_json=$(echo "$file_content" | jq -c .) | ||
|
||
# Fetch rollapp env | ||
env=$(echo $file | cut -d'/' -f1) | ||
case $env in | ||
"internal-devnet") | ||
save_network_api="https://savenetworkrequest-lmw4daeqdq-uc.a.run.app" | ||
;; | ||
"devnet") | ||
save_network_api="https://savenetworkrequest-zbrmx4rjia-uc.a.run.app" | ||
;; | ||
"testnet") | ||
save_network_api="https://savenetworkrequest-p7gld3dazq-uc.a.run.app" | ||
;; | ||
"mainnet") | ||
save_network_api="https://savenetworkrequest-xqbg2swtrq-uc.a.run.app" | ||
;; | ||
*) | ||
esac | ||
|
||
# Make an API post request with the extracted json | ||
curl -X POST \ | ||
-H "Content-type: application/json" \ | ||
-H "Authorization: Bearer $SAVE_NETWORK_API_KEY" \ | ||
-d "$parsed_json" \ | ||
$save_network_api | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.idea | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# Chain Registry | ||
|
||
![RR](https://github.com/dymensionxyz/rollapp-registry/assets/109034310/081caab5-01c4-4183-93dc-ae2604a1129f) | ||
|
||
A registry for RollApps and other networks on Dymension testnets: | ||
|
||
This repository is dedicated to the listing process of RollApps on the [Portal](https://portal.dymension.xyz/rollapps). | ||
|
||
Please follow the instructions for listing a RollApp: | ||
|
||
1. Make sure to have successfully deployed and are running a RollApp instance. | ||
|
||
2. Fund the Faucet and test the IBC connection by submitting an IBC transfer of your RollApp token to the Dymension Hub faucet with the following command: | ||
|
||
``` | ||
roller tx fund-faucet | ||
``` | ||
|
||
Subsequently, check the balance of the RollApp token on the Dymension Hub faucet which should arrive within 15 minutes: | ||
|
||
``` | ||
$balance dym1g8sf7w4cz5gtupa6y62h3q6a4gjv37pgefnpt5 <RollApp-ID> | ||
``` | ||
|
||
3. Fork the RollApp-registry [repo](https://github.com/dymensionxyz/rollapp-registry) into your GitHub account. | ||
|
||
4. Clone it by running the following command: | ||
|
||
```bash | ||
git clone https://github.com/<your-github-username>/rollapp-registry | ||
``` | ||
|
||
5. CD into the cloned repo: | ||
|
||
```bash | ||
cd rollapp-registry | ||
``` | ||
|
||
6. Retrieve your generated rollapp id with `roller config show` and save it as an environment variable: | ||
|
||
``` | ||
export ROLLAPP_ID=<RollApp-ID-HERE> | ||
``` | ||
|
||
7. Create the appropraite folders and files: | ||
|
||
``` | ||
cd devnet | ||
mkdir -p $ROLLAPP_ID/logos | ||
cd $ROLLAPP_ID && touch $ROLLAPP_ID.json | ||
``` | ||
|
||
This should create a folder for your RollApp logo and config information. | ||
|
||
8. Add your RollApp logo to the `logos` folder. Logo file name: `<RollApp-ID>.<format>`. This can be SVG, PNG, or JPG format. Please make sure the file doesn't exceed 50KB. | ||
9. Export the RollApps configuration JSON by running: | ||
``` | ||
roller config export | ||
``` | ||
10. Copy paste the JSON output to the `<RollApp-ID>.json` and fill in the following fields: | ||
- RPC: `"http://<your-ip-or-domain>:<port>" (default port 26657)` | ||
- REST: ` "http://<your-ip-or-domain>:<port>" (default port 1317)` | ||
- EVM RPC \*(ONLY FOR EVM ROLLAPPS): `"http://<your-ip-or-domain>:<port>" (default port 8545)` | ||
- Logo path: `"/logos/<RollApp-ID>-logo.svg"` | ||
Optinal fields: | ||
- chainName: from `<RollApp-ID>`to your RollApp's name as it will appear on the Portal | ||
- description: add `"<Your RollApp description>",` to be displayed on the portal | ||
- website: add `"<your-RollApp's-url>",` to be displayed on the portal | ||
|
||
|
||
11. Add and commit your changes: | ||
|
||
``` | ||
git add . | ||
git commit -m "added RollApp" | ||
git push -u origin main | ||
``` | ||
|
||
12. Create a PR to https://github.com/dymensionXYZ/rollapp-registry. | ||
|
||
For a demonstration of a step-by-step guide to creating a PR please follow the [GitHub documentation](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) or watch this helpful [youtube video](https://www.youtube.com/watch?v=a_FLqX3vGR4). | ||
|
||
13. Pair the RollApp on the [Discord channel](https://discord.com/channels/956961633165529098/1140590139022782474) by entering the following command: (In the following command replace `<RollApp-ID>` with your customized RollApp ID.) | ||
|
||
```bash | ||
$pair <RollApp-ID> | ||
``` | ||
|
||
A community moderator will then begin a conversation with you in Discord. Please follow attentively to get the listing process fulfilled quickly. | ||
|
||
If you have any question please feel free to reach out to the coreteam and community on Discord. We're here for you! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"chainId": "aabbozo_2771359-1", | ||
"chainName": "Aabbozo", | ||
"rpc": "https://froopyland.dymension.xyz/24/aabbozo_2771359-1/rpc", | ||
"rest": "https://froopyland.dymension.xyz/24/aabbozo_2771359-1/rest", | ||
"bech32Prefix": "ethm", | ||
"currencies": [ | ||
{ | ||
"displayDenom": "BOZZ", | ||
"baseDenom": "uBOZZ", | ||
"decimals": 18, | ||
"logo": "/logos/aabbozo_2771359-1.jpg", | ||
"type": "main" | ||
} | ||
], | ||
"coinType": 60, | ||
"faucetUrl": "https://discord.com/channels/956961633165529098/1143231362468434022", | ||
"website": "", | ||
"logo": "/logos/aabbozo_2771359-1.jpg", | ||
"ibc": { | ||
"hubChannel": "channel-7970", | ||
"channel": "channel-0", | ||
"timeout": 172800000 | ||
}, | ||
"evm": { | ||
"chainId": "0x2a499f", | ||
"rpc": "https://froopyland.dymension.xyz/24/aabbozo_2771359-1/evmrpc" | ||
}, | ||
"type": "RollApp", | ||
"da": "Celestia", | ||
"description": "", | ||
"analytics": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"chainId": "aazifiri_7919697-1", | ||
"chainName": "aazifiri", | ||
"rpc": "https://froopyland.dymension.xyz/16/aazifiri_7919697-1/rpc", | ||
"rest": "https://froopyland.dymension.xyz/16/aazifiri_7919697-1/rest", | ||
"bech32Prefix": "ethm", | ||
"currencies": [ | ||
{ | ||
"displayDenom": "iri", | ||
"baseDenom": "uiri", | ||
"decimals": 18, | ||
"logo": "/logos/aazifiri_7919697-1.png", | ||
"type": "main" | ||
} | ||
], | ||
"coinType": 60, | ||
"faucetUrl": "https://discord.com/channels/956961633165529098/1143231362468434022", | ||
"website": "https://rollape.quest/", | ||
"logo": "/logos/aazifiri_7919697-1.png", | ||
"ibc": { | ||
"hubChannel": "channel-6764", | ||
"channel": "channel-0", | ||
"timeout": 172800000 | ||
}, | ||
"evm": { | ||
"chainId": "0x78d851", | ||
"rpc": "https://froopyland.dymension.xyz/16/aazifiri_7919697-1/evmrpc" | ||
}, | ||
"type": "RollApp", | ||
"da": "Celestia", | ||
"description": "", | ||
"analytics": true, | ||
"active": false | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"chainId": "aazifirii_2932875-1", | ||
"chainName": "aazifirii", | ||
"rpc": "https://froopyland.dymension.xyz/23/aazifirii_2932875-1/rpc", | ||
"rest": "https://froopyland.dymension.xyz/23/aazifirii_2932875-1/rest", | ||
"bech32Prefix": "ethm", | ||
"currencies": [ | ||
{ | ||
"displayDenom": "iri", | ||
"baseDenom": "uiri", | ||
"decimals": 18, | ||
"logo": "/logos/aazifirii_2932875-1.png", | ||
"type": "main" | ||
} | ||
], | ||
"coinType": 60, | ||
"faucetUrl": "https://discord.com/channels/956961633165529098/1143231362468434022", | ||
"website": "https://rollape.quest/", | ||
"logo": "/logos/aazifirii_2932875-1.png", | ||
"ibc": { | ||
"hubChannel": "channel-7737", | ||
"channel": "channel-1", | ||
"timeout": 172800000 | ||
}, | ||
"evm": { | ||
"chainId": "0x2cc08b", | ||
"rpc": "https://froopyland.dymension.xyz/23/aazifirii_2932875-1/evmrpc" | ||
}, | ||
"type": "RollApp", | ||
"da": "Avail", | ||
"description": "Blockchain & Cryptocurrency researcher, enthusiast. Contact TG @enzifiri", | ||
"analytics": true, | ||
"goldberg": true, | ||
"availAddress": "5HB5qERKh87zUQTYbVCSX3thjJur1Qcg4n8qecKdSNXjdLvy", | ||
"validator": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"chainId": "abernethy_9850345-1", | ||
"chainName": "Abernethy", | ||
"rpc": "https://froopyland.dymension.xyz/5/abernethy_9850345-1/rpc", | ||
"rest": "https://froopyland.dymension.xyz/5/abernethy_9850345-1/rest", | ||
"bech32Prefix": "ethm", | ||
"currencies": [ | ||
{ | ||
"displayDenom": "ANT", | ||
"baseDenom": "uANT", | ||
"decimals": 18, | ||
"logo": "/logos/abernethy_9850345-1.png", | ||
"type": "main" | ||
} | ||
], | ||
"coinType": 60, | ||
"faucetUrl": "https://discord.com/channels/956961633165529098/1143231362468434022", | ||
"website": "", | ||
"logo": "/logos/abernethy_9850345-1.png", | ||
"ibc": { | ||
"hubChannel": "channel-5695", | ||
"channel": "channel-0", | ||
"timeout": 172800000 | ||
}, | ||
"evm": { | ||
"chainId": "0x964de9", | ||
"rpc": "https://froopyland.dymension.xyz/5/abernethy_9850345-1/evmrpc" | ||
}, | ||
"type": "RollApp", | ||
"da": "Celestia", | ||
"description": "", | ||
"analytics": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"chainId": "aboyo_9906477-1", | ||
"chainName": "aboyo", | ||
"rpc": "https://froopyland.dymension.xyz/28/aboyo_9906477-1/rpc", | ||
"rest": "https://froopyland.dymension.xyz/28/aboyo_9906477-1/rest", | ||
"bech32Prefix": "ethm", | ||
"currencies": [ | ||
{ | ||
"displayDenom": "ABO", | ||
"baseDenom": "uABO", | ||
"decimals": 18, | ||
"logo": "/logos/aboyo_9906477-1.jpg", | ||
"type": "main" | ||
} | ||
], | ||
"coinType": 60, | ||
"faucetUrl": "https://discord.com/channels/956961633165529098/1143231362468434022", | ||
"website": "", | ||
"logo": "/logos/aboyo_9906477-1.jpg", | ||
"ibc": { | ||
"hubChannel": "channel-8231", | ||
"channel": "channel-0", | ||
"timeout": 172800000 | ||
}, | ||
"evm": { | ||
"chainId": "0x97292d", | ||
"rpc": "https://froopyland.dymension.xyz/28/aboyo_9906477-1/evmrpc" | ||
}, | ||
"type": "RollApp", | ||
"da": "Celestia", | ||
"description": "", | ||
"analytics": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"chainId": "abyss_4029858-1", | ||
"chainName": "Abyss", | ||
"rpc": "https://froopyland.dymension.xyz/13/abyss_4029858-1/rpc", | ||
"rest": "https://froopyland.dymension.xyz/13/abyss_4029858-1/rest", | ||
"bech32Prefix": "ethm", | ||
"currencies": [ | ||
{ | ||
"displayDenom": "ABYSS", | ||
"baseDenom": "uABYSS", | ||
"decimals": 18, | ||
"logo": "/logos/abyss_4029858-1.png", | ||
"type": "main" | ||
} | ||
], | ||
"coinType": 60, | ||
"faucetUrl": "https://discord.com/channels/956961633165529098/1143231362468434022", | ||
"website": "", | ||
"logo": "/logos/abyss_4029858-1.png", | ||
"ibc": { | ||
"hubChannel": "channel-6361", | ||
"channel": "channel-0", | ||
"timeout": 172800000 | ||
}, | ||
"evm": { | ||
"chainId": "0x3d7da2", | ||
"rpc": "https://froopyland.dymension.xyz/13/abyss_4029858-1/evmrpc" | ||
}, | ||
"type": "RollApp", | ||
"da": "Avail", | ||
"description": "", | ||
"analytics": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.