forked from SmartStake/relayers
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
42 changed files
with
981 additions
and
141 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,18 @@ | ||
import json | ||
import glob | ||
|
||
def validate_json(json_file): | ||
try: | ||
json.load(open(json_file, 'r')) | ||
print(f"Valid JSON: {json_file}") | ||
except ValueError as e: | ||
print(f"Invalid JSON: {json_file}") | ||
print(f"Error: {e}") | ||
exit(1) | ||
|
||
if __name__ == "__main__": | ||
print("starting json validation") | ||
files = glob.glob('**/*.json', recursive=True) | ||
for file in files: | ||
validate_json(file) | ||
print("after json validation") |
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,39 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install jsonschema | ||
- name: Validate JSON | ||
run: python .github/scripts/validate_json.py |
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
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,14 @@ | ||
{ | ||
"keybaseIdentity": "0CEA385BEFC79A5D", | ||
"name": "SECARD", | ||
"website": "https://secardnode.com/", | ||
"twitter": "secardNodE", | ||
"telegram": "@secarda", | ||
"discord": "secard", | ||
"email": "[email protected]", | ||
"supportRelayerBy": "SECARD Relayer Service. Your support keeps us alive", | ||
"chainsRelayed": [ | ||
{"ticker": "DYM", "relayerAddress": "dym1a66qfd4sgsldce44vy5xgszj78wz6ss87leuhr"}, | ||
{"ticker": "OSMO", "relayerAddress": "osmo1mxetqz66umfn5hqeqsa3kpakeju7rnwy3srgm5"} | ||
] | ||
} |
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,15 @@ | ||
{ | ||
"keybaseIdentity": "14FAC43C52C20093", | ||
"name": "Sentinel Growth DAO", | ||
"website": "https://sentinelgrowthdao.com/", | ||
"twitter": "https://twitter.com/dVPNDAO", | ||
"telegram": "https://t.me/SentinelGrowthDAO", | ||
"discord": "https://discord.gg/Stutc2UHJZ", | ||
"email": null, | ||
"supportRelayerBy": "Stake with Sentinel Growth DAO to support the project!", | ||
"chainsRelayed": [ | ||
{ "ticker": "DVPN", "relayerAddress": "sent175vdslyt4whfyeudm463m5trsjhwh3ydxu8spp" }, | ||
{ "ticker": "OSMO", "relayerAddress": "osmo175vdslyt4whfyeudm463m5trsjhwh3yd4uzenu" }, | ||
{ "ticker": "DEC", "relayerAddress": "decentr175vdslyt4whfyeudm463m5trsjhwh3ydkfhayx" } | ||
] | ||
} |
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
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
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,72 @@ | ||
{ | ||
"keybaseIdentity": "1E09665F32FE7217", | ||
"name": "defiantlabs.net", | ||
"website": "https://defiantlabs.net", | ||
"twitter": "https://twitter.com/defiantlabs", | ||
"telegram": "https://t.me/defiantdanb", | ||
"discord": "https://discord.gg/b5nXFAsex2", | ||
"email": "[email protected]", | ||
"supportRelayerBy": "Defiantlabs develops advanced tooling for the Cosmos ecosystem, including Sycamore.tax and the Cosmos-Upgrades API. We also serve as validators, relayers, and consultants, providing technical support and advice to blockchain protocols. Our commitment to innovation and excellence makes us trusted partners in the blockchain community.", | ||
"chainsRelayed": [ | ||
{ | ||
"ticker": "AKT", | ||
"relayerAddress": "akash1x9fxqdkg4rumkzrck8t3qnhm30jgfsx90ch7fq" | ||
}, | ||
{ | ||
"ticker": "MNTL", | ||
"relayerAddress": "mantle1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9u8pu0s" | ||
}, | ||
{ | ||
"ticker": "CRE", | ||
"relayerAddress": "cre1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9xtfu9h" | ||
}, | ||
{ | ||
"ticker": "DYDX", | ||
"relayerAddress": "dydx1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9t65asd" | ||
}, | ||
{ | ||
"ticker": "KAVA", | ||
"relayerAddress": "kava1utmjxp6ypyymdaqzc0tadqwsazdk602r9sp085" | ||
}, | ||
{ | ||
"ticker": "KUJI", | ||
"relayerAddress": "kujira1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9ntcpas" | ||
}, | ||
{ | ||
"ticker": "NTRN", | ||
"relayerAddress": "neutron1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9xunm2a" | ||
}, | ||
{ | ||
"ticker": "USDC", | ||
"relayerAddress": "noble1x9fxqdkg4rumkzrck8t3qnhm30jgfsx92q03g5" | ||
}, | ||
{ | ||
"ticker": "FLIX", | ||
"relayerAddress": "omniflix1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9latq8y" | ||
}, | ||
{ | ||
"ticker": "REGEN", | ||
"relayerAddress": "regen1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9ap39x7" | ||
}, | ||
{ | ||
"ticker": "SOMM", | ||
"relayerAddress": "somm1x9fxqdkg4rumkzrck8t3qnhm30jgfsx9wl44ps" | ||
}, | ||
{ | ||
"ticker": "LUNA", | ||
"relayerAddress": "terra1waj96rg2a65uf8m9h9zmfpsp6ayy364z4zh0ec" | ||
}, | ||
{ | ||
"ticker": "ODIN", | ||
"relayerAddress": "odin14vrutp488vh4y2n07atq3r6d578zgwr43mv04r" | ||
}, | ||
{ | ||
"ticker": "OSMO", | ||
"relayerAddress": "osmo14vrutp488vh4y2n07atq3r6d578zgwr4aqeu0m" | ||
}, | ||
{ | ||
"ticker": "KUJI", | ||
"relayerAddress": "kujira14vrutp488vh4y2n07atq3r6d578zgwr4yng55r" | ||
} | ||
] | ||
} |
Oops, something went wrong.