Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding script to replace github by custom domain #1491

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/setup-path/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ runs:
run: |
echo "CHAINS_VERSION=$(bash .github/get_actual_json_path.sh chains)" >> "$GITHUB_ENV"
echo "XCM_VERSION=$(bash .github/get_actual_json_path.sh xcm)" >> "$GITHUB_ENV"
echo "ASSETS_VERSION=$(bash .github/get_actual_json_path.sh assets)" >> "$GITHUB_ENV"
shell: bash

- name: Setup json paths
Expand All @@ -15,4 +16,6 @@ runs:
echo "CHAINS_JSON_PATH=chains/${{ env.CHAINS_VERSION }}/chains.json" >> "$GITHUB_ENV"
echo "DEV_XCM_JSON_PATH=xcm/${{ env.XCM_VERSION }}/transfers_dev.json" >> "$GITHUB_ENV"
echo "XCM_JSON_PATH=xcm/${{ env.XCM_VERSION }}/transfers.json" >> "$GITHUB_ENV"
echo "DEV_ASSETS_JSON_PATH=xcm/${{ env.ASSETS_VERSION }}/assets_dev.json" >> "$GITHUB_ENV"
echo "ASSETS_JSON_PATH=xcm/${{ env.ASSETS_VERSION }}/assets.json" >> "$GITHUB_ENV"
shell: bash
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10.8
68 changes: 34 additions & 34 deletions assets/evm/v2/assets_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"precision": 6,
"name": "Tether USD",
"priceId": "tether",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/USDT.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/USDT.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -25,7 +25,7 @@
"precision": 6,
"name": "USD Coin",
"priceId": "usd-coin",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/USDC.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/USDC.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -46,7 +46,7 @@
"precision": 18,
"name": "Binance-Peg BUSD Token",
"priceId": "binance-usd",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/BUSD.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/BUSD.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -63,7 +63,7 @@
"precision": 18,
"name": "Matic",
"priceId": "matic-network",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/MATIC.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/MATIC.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -80,7 +80,7 @@
"precision": 18,
"name": "Dai Stablecoin",
"priceId": "dai",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/DAI.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/DAI.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -101,7 +101,7 @@
"precision": 18,
"name": "Avalanche",
"priceId": "avalanche-2",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/AVAX.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/AVAX.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -114,7 +114,7 @@
"precision": 8,
"name": "Wrapped BTC",
"priceId": "wrapped-bitcoin",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/WBTC.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/WBTC.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -131,7 +131,7 @@
"precision": 18,
"name": "Frax",
"priceId": "frax",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/FRAX.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/FRAX.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -148,7 +148,7 @@
"precision": 18,
"name": "Fantom",
"priceId": "fantom",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/FTM.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/FTM.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -161,7 +161,7 @@
"precision": 18,
"name": "Frax Share",
"priceId": "frax-share",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/FXS.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/FXS.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -178,7 +178,7 @@
"precision": 18,
"name": "Wrapped GLMR",
"priceId": "wrapped-moonbeam",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/chains/white/Moonbeam.svg",
"icon": "https://config2.novasama.uz/icons/chains/white/Moonbeam.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -191,7 +191,7 @@
"precision": 18,
"name": "BOBA Token",
"priceId": "boba-network",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/BOBA.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/BOBA.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -204,7 +204,7 @@
"precision": 18,
"name": "BEPRO Network",
"priceId": "bepro-network",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/BEPRO.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/BEPRO.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -216,7 +216,7 @@
"symbol": "mbXEN",
"precision": 18,
"name": "XEN Crypto",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/mbXEN.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/mbXEN.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -229,7 +229,7 @@
"precision": 18,
"name": "Convergence",
"priceId": "convergence",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/CONV.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/CONV.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -242,7 +242,7 @@
"precision": 18,
"name": "Beamswap Token",
"priceId": "beamswap",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/GLINT.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/GLINT.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -255,7 +255,7 @@
"precision": 18,
"name": "Energyfi Token",
"priceId": "energyfi",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/EFT.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/EFT.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -268,7 +268,7 @@
"precision": 18,
"name": "Impossible Decentralized Incubator Access Token",
"priceId": "idia",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/IDIA.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/IDIA.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -280,7 +280,7 @@
"symbol": "WMOVR",
"precision": 18,
"name": "Wrapped MOVR",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/chains/white/Moonriver.svg",
"icon": "https://config2.novasama.uz/icons/chains/white/Moonriver.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -293,7 +293,7 @@
"precision": 18,
"name": "Crowns",
"priceId": "crowns",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/CWS.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/CWS.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -306,7 +306,7 @@
"precision": 18,
"name": "Zenlink Network Token",
"priceId": "zenlink-network-token",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/ZLK.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/ZLK.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -319,7 +319,7 @@
"precision": 18,
"name": "SolarBeam Token",
"priceId": "solarbeam",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/SOLAR.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/SOLAR.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -332,7 +332,7 @@
"precision": 18,
"name": "HYDRO TOKEN",
"priceId": "hydro",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/HYDRO.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/HYDRO.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -345,7 +345,7 @@
"precision": 18,
"name": "RiverBoat",
"priceId": "riverboat",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/RIB.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/RIB.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -358,11 +358,11 @@
"precision": 18,
"name": "MoonBeans",
"priceId": "moonbeans",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/BEANS.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/BEANS.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
"contractAddress": "0x65b09ef8c5A096C5Fd3A80f1F7369E56eB932412"
"contractAddress": "0x65b09ef8c5A096C5Fd3A80f1F7369E56eB932412"
},
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -375,7 +375,7 @@
"precision": 18,
"name": "Space Token",
"priceId": "space-token-bsc",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/SPACE.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/SPACE.svg",
"instances": [
{
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
Expand All @@ -388,7 +388,7 @@
"precision": 18,
"name": "StellaSwap",
"priceId": "stellaswap",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/STELLA.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/STELLA.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -401,7 +401,7 @@
"precision": 18,
"name": "Binance",
"priceId": "binancecoin",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/BNB.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/BNB.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -418,7 +418,7 @@
"precision": 18,
"name": "Ethereum",
"priceId": "ethereum",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/ETH.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/ETH.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -430,7 +430,7 @@
"symbol": "CP",
"precision": 18,
"name": "Cypress",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/CP.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/CP.svg",
"instances": [
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
Expand All @@ -443,7 +443,7 @@
"precision": 8,
"name": "Hex",
"priceId": "hex",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/HEX.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/HEX.svg",
"instances": [
{
"chainId": "eip155:1",
Expand All @@ -456,7 +456,7 @@
"precision": 18,
"name": "Lido Staked Ether",
"priceId": "staked-ether",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/stETH.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/stETH.svg",
"instances": [
{
"chainId": "eip155:1",
Expand All @@ -469,7 +469,7 @@
"precision": 18,
"name": "Uniswap",
"priceId": "uniswap",
"icon": "https://raw.githubusercontent.com/nova-wallet/nova-utils/master/icons/tokens/white/UNI.svg",
"icon": "https://config2.novasama.uz/icons/tokens/white/UNI.svg",
"instances": [
{
"chainId": "eip155:1",
Expand Down
Loading