Skip to content

Commit

Permalink
Merge pull request #181 from skalenetwork/beta
Browse files Browse the repository at this point in the history
SKALE Portal 2.1 Stable
  • Loading branch information
dmytrotkk authored Jan 8, 2024
2 parents 752ab87 + b67f827 commit 3e59211
Show file tree
Hide file tree
Showing 71 changed files with 3,163 additions and 443 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ yarn-debug.log*
yarn-error.log*

.env
src/metadata/metaportConfig*.ts
src/data/metaportConfig*.ts
src/meta/

src/metadata/chainsData.json
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -e
export DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

METAPORT_CONFIG_PATH=$DIR/config/$NETWORK_NAME.ts
METAPORT_CONFIG_PATH_SRC=$DIR/src/metadata/metaportConfig.ts
METAPORT_CONFIG_PATH_SRC=$DIR/src/data/metaportConfig.ts

echo "Copying ${METAPORT_CONFIG_PATH} -> ${METAPORT_CONFIG_PATH_SRC}..."
cp $METAPORT_CONFIG_PATH $METAPORT_CONFIG_PATH_SRC
Expand Down
Binary file modified bun.lockb
Binary file not shown.
8 changes: 1 addition & 7 deletions config/mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
name: 'Tether USD'
},
wbtc: {
decimals: '18',
decimals: '8',
symbol: 'WBTC',
name: 'WBTC'
},
Expand All @@ -63,12 +63,6 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
symbol: 'HMT',
iconUrl: 'https://s2.coinmarketcap.com/static/img/coins/64x64/10347.png'
},
ubxs: {
name: 'UBXS Token',
symbol: 'UBXS',
decimals: '6',
iconUrl: 'https://s2.coinmarketcap.com/static/img/coins/64x64/17242.png'
},
razor: {
"decimals": "18",
"name": "RAZOR Network",
Expand Down
42 changes: 39 additions & 3 deletions config/staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
name: 'Tether USD'
},
wbtc: {
decimals: '18',
decimals: '8',
symbol: 'WBTC',
name: 'WBTC'
},
Expand Down Expand Up @@ -108,7 +108,10 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
dai: {
address: '0x83B38f79cFFB47CF74f7eC8a5F8D7DD69349fBf7',
chains: {
'staging-legal-crazy-castor': {}
'staging-legal-crazy-castor': {},
'staging-fast-active-bellatrix': {
hub: 'staging-legal-crazy-castor'
}
}
},
usdp: {
Expand All @@ -120,7 +123,10 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
usdt: {
address: '0xD1E44e3afd6d3F155e7704c67705E3bAC2e491b6',
chains: {
'staging-legal-crazy-castor': {}
'staging-legal-crazy-castor': {},
'staging-fast-active-bellatrix': {
hub: 'staging-legal-crazy-castor'
}
}
},
usdc: {
Expand Down Expand Up @@ -229,6 +235,30 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
clone: true
}
}
},
usdt: {
address: '0x082081c8e607ca6c1c53ac093cab3847ed59c0b0',
chains: {
mainnet: {
clone: true,
hub: 'staging-legal-crazy-castor'
},
'staging-legal-crazy-castor': {
clone: true
}
}
},
dai: {
address: '0x08f98Af60eb83C18184231591A8F89577E46A4B9',
chains: {
mainnet: {
clone: true,
hub: 'staging-legal-crazy-castor'
},
'staging-legal-crazy-castor': {
clone: true
}
}
}
}
},
Expand Down Expand Up @@ -307,6 +337,9 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
chains: {
mainnet: {
clone: true
},
'staging-fast-active-bellatrix': {
wrapper: '0x6075f63de307DC2280b7b1b98948885200B03093'
}
}
},
Expand All @@ -323,6 +356,9 @@ export const METAPORT_CONFIG: interfaces.MetaportConfig = {
chains: {
mainnet: {
clone: true
},
'staging-fast-active-bellatrix': {
wrapper: '0xf8179aD86A964f2E856d11Dd7f4a280dCd721Aa3'
}
}
},
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<meta name="twitter:description" content="The SKALE Portal is designed to enhance your interaction with the SKALE Blockchain Network, providing a single website to bridge to SKALE, connect to different chains, and view SKALE statistics.">
<meta name="twitter:image" content="https://portal.skale.space/portal.png">

<meta name="theme-color" content="#000000" />
</head>

<body>
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "portal",
"private": true,
"version": "2.0.2",
"version": "2.1.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -15,7 +15,7 @@
"@mdx-js/rollup": "^2.3.0",
"@mui/icons-material": "^5.14.8",
"@mui/material": "^5.14.5",
"@skalenetwork/metaport": "2.0.2-develop.1",
"@skalenetwork/metaport": "2.0.3-develop.3",
"@types/react-copy-to-clipboard": "^5.0.4",
"@vercel/analytics": "^1.0.2",
"eslint-config-prettier": "^9.0.0",
Expand All @@ -35,6 +35,7 @@
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.4",
"bun-types": "^1.0.17",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
Expand Down
Binary file added public/apps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/bridge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/chains.jpg
Binary file not shown.
Binary file added public/chains.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/portfolio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/stats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

1 comment on commit 3e59211

@vercel
Copy link

@vercel vercel bot commented on 3e59211 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.