Skip to content

Commit

Permalink
Merge pull request #189 from skalenetwork/beta
Browse files Browse the repository at this point in the history
Merge beta to develop
  • Loading branch information
dmytrotkk authored Feb 26, 2024
2 parents aa43640 + f564aee commit 1bf4f55
Show file tree
Hide file tree
Showing 7 changed files with 334 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "skale-network"]
path = skale-network
url = https://github.com/skalenetwork/skale-network.git
branch = add-additional-metadata
branch = master
[submodule "helper-scripts"]
path = helper-scripts
url = https://github.com/skalenetwork/helper-scripts.git
Binary file modified bun.lockb
Binary file not shown.
325 changes: 325 additions & 0 deletions config/testnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,325 @@
import { type interfaces } from '@skalenetwork/metaport'

export const METAPORT_CONFIG: interfaces.MetaportConfig = {
skaleNetwork: 'testnet',
openOnLoad: true,
openButton: true,
debug: false,
chains: [
'mainnet',
// 'juicy-low-small-testnet', // Europa
// 'giant-half-dual-testnet', // Calypso
// 'lanky-ill-funny-testnet', // Nebula
],
tokens: {
eth: {
symbol: 'ETH'
},
skl: {
decimals: '18',
name: 'SKALE',
symbol: 'SKL'
},
usdc: {
decimals: '6',
symbol: 'USDC',
name: 'USD Coin'
},
usdt: {
decimals: '6',
symbol: 'USDT',
name: 'Tether USD'
},
wbtc: {
decimals: '8',
symbol: 'WBTC',
name: 'WBTC'
},
ruby: {
name: 'Ruby Token',
iconUrl: 'https://ruby.exchange/images/tokens/ruby-square.png',
symbol: 'RUBY'
},
dai: {
name: 'DAI Stablecoin',
symbol: 'DAI'
},
usdp: {
name: 'Pax Dollar',
symbol: 'USDP',
iconUrl: 'https://ruby.exchange/images/tokens/usdp-square.png'
},
hmt: {
name: 'Human Token',
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'
}
},
connections: {
mainnet: {
eth: {
eth: {
chains: {
'juicy-low-small-testnet': {},
'giant-half-dual-testnet': {
hub: 'juicy-low-small-testnet'
}
}
}
},
erc20: {
skl: {
address: '0x',
chains: {
'juicy-low-small-testnet': {},
'giant-half-dual-testnet': {
hub: 'juicy-low-small-testnet'
},
'lanky-ill-funny-testnet': {
hub: 'juicy-low-small-testnet'
}
}
},
ruby: {
address: '0x',
chains: {
'juicy-low-small-testnet': {}
}
},
dai: {
address: '0x',
chains: {
'juicy-low-small-testnet': {}
}
},
usdp: {
address: '0x',
chains: {
'juicy-low-small-testnet': {}
}
},
usdt: {
address: '0x',
chains: {
'juicy-low-small-testnet': {}
}
},
usdc: {
address: '0x',
chains: {
'juicy-low-small-testnet': {},
'giant-half-dual-testnet': {
hub: 'juicy-low-small-testnet'
},
'lanky-ill-funny-testnet': {
hub: 'juicy-low-small-testnet'
}
}
},
wbtc: {
address: '0x',
chains: {
'juicy-low-small-testnet': {}
}
},
hmt: {
address: '0x',
chains: {}
},
ubxs: {
address: '0x',
chains: {
'juicy-low-small-testnet': {}
}
}
},
erc721meta: {
},
erc1155: {
}
},
'giant-half-dual-testnet': {
// Calypso connections
eth: {
eth: {
address: '0x',
chains: {
'juicy-low-small-testnet': {
clone: true
},
mainnet: {
clone: true,
hub: 'juicy-low-small-testnet'
}
}
}
},
erc20: {
skl: {
address: '0x',
chains: {
'juicy-low-small-testnet': {
clone: true
},
'lanky-ill-funny-testnet': {
hub: 'juicy-low-small-testnet',
clone: true
},
mainnet: {
hub: 'juicy-low-small-testnet',
clone: true
}
}
},
usdc: {
address: '0x',
chains: {
'juicy-low-small-testnet': {
clone: true
},
mainnet: {
hub: 'juicy-low-small-testnet',
clone: true
}
}
}
}
},
'lanky-ill-funny-testnet': { // nebula connections
erc20: {
skl: {
address: '0x',
chains: {
'juicy-low-small-testnet': {
clone: true
},
mainnet: {
hub: 'juicy-low-small-testnet',
clone: true
},
'giant-half-dual-testnet': {
hub: 'juicy-low-small-testnet',
clone: true
}
}
},
usdc: {
address: '0x',
chains: {
'juicy-low-small-testnet': {
clone: true
},
mainnet: {
hub: 'juicy-low-small-testnet',
clone: true
}
}
}
}
},
'juicy-low-small-testnet': {
// Europa connections
eth: {
eth: {
address: '0xD2Aaa00700000000000000000000000000000000',
chains: {
mainnet: {
clone: true
},
'giant-half-dual-testnet': {
wrapper: '0x'
}
}
}
},
erc20: {
skl: {
address: '0x',
chains: {
mainnet: {
clone: true
},
'giant-half-dual-testnet': {
wrapper: '0x'
},
'lanky-ill-funny-testnet': {
wrapper: '0x'
}
}
},
ruby: {
address: '0x',
chains: {
mainnet: {
clone: true
}
}
},
dai: {
address: '0x',
chains: {
mainnet: {
clone: true
}
}
},
usdp: {
address: '0x',
chains: {
mainnet: {
clone: true
}
}
},
usdt: {
address: '0x',
chains: {
mainnet: {
clone: true
}
}
},
usdc: {
address: '0x',
chains: {
mainnet: {
clone: true
},
'giant-half-dual-testnet': {
wrapper: '0x'
},
'lanky-ill-funny-testnet': {
wrapper: '0x'
}
}
},
wbtc: {
address: '0x',
chains: {
mainnet: {
clone: true
}
}
},
ubxs: {
address: '0x',
chains: {
mainnet: {
clone: true
}
}
}
}
}
},
theme: {
mode: 'dark',
vibrant: true
}
}
2 changes: 1 addition & 1 deletion helper-scripts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.3-develop.3",
"@skalenetwork/metaport": "2.0.3-beta.2",
"@types/react-copy-to-clipboard": "^5.0.4",
"@vercel/analytics": "^1.0.2",
"eslint-config-prettier": "^9.0.0",
Expand Down
5 changes: 5 additions & 0 deletions src/data/paymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
chain: '',
address: '0x',
launchTs: '0'
},
testnet: {
chain: '',
address: '0x',
launchTs: '0'
}
},
abi: [
Expand Down

0 comments on commit 1bf4f55

Please sign in to comment.