Skip to content

Commit

Permalink
Update names, links, content
Browse files Browse the repository at this point in the history
  • Loading branch information
easeev committed Aug 3, 2023
1 parent 8db9d15 commit 483813b
Show file tree
Hide file tree
Showing 31 changed files with 1,653 additions and 9,121 deletions.
8 changes: 4 additions & 4 deletions components/avaxsubnet/avaxsubnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Checkbox,
Link,
} from '@material-ui/core'
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles'
import { createTheme, ThemeProvider } from '@material-ui/core/styles'
import ArrowForwardIcon from '@material-ui/icons/ArrowForward'
import CloseIcon from '@material-ui/icons/Close'

Expand All @@ -18,14 +18,14 @@ export default function Avaxsubnet({ closeAvaxsubnet }) {
const [checked, setChecked] = useState(false)

const navigateToAvaxsubnet = () => {
window.open('https://chainstack.com/permissioned-chains-avalanche-subnets/', '_blank')
window.open('https://chainstack.com/avalanche-subnets/', '_blank')
}

const handleChange = () => {
setChecked(!checked)
}

const theme = createMuiTheme({
const theme = createTheme({
palette: {
type: 'dark',
secondary: {
Expand Down Expand Up @@ -74,7 +74,7 @@ export default function Avaxsubnet({ closeAvaxsubnet }) {
<ThemeProvider theme={theme}>
<div className={classes.topInfo}>
<img
src="/subnet-tech/chainstack-subnet.png"
src="/chainstack-subnet.png"
width={126}
height={126}
className={classes.avatar}
Expand Down
24 changes: 5 additions & 19 deletions components/chain/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import MonetizationOnIcon from '@material-ui/icons/MonetizationOn'
import classes from './chain.module.css'

import stores from '../../stores/index.js'
import { getProvider } from '../../utils'

import {
ERROR,
Expand Down Expand Up @@ -89,26 +88,16 @@ export default function Chain({ chain }) {

const renderProviderText = () => {
if (account && account.address) {
const providerTextList = {
Metamask: 'Add to MetaMask',
}
return providerTextList[getProvider()]
return 'Add to Wallet'
} else {
return 'Connect wallet to add'
return 'Connect Wallet'
}
}
const renderBadgeLabel = () => {
if (chain.isMain && chain.isLive) {
if (chain.isLive) {
return `Mainnet`
}
if (chain.isMain && !chain.isLive) {
return `Testnet`
}
if (!chain.isMain && chain.isLive) {
return `Subnet Live`
}

return `Subnet Test`
return `Testnet`
}
const netColor = () => {
// return `primary`
Expand All @@ -119,10 +108,7 @@ export default function Chain({ chain }) {
}

const icon = useMemo(() => {
return chain.isMain ? `/subnet-tech/favicon.png` : `/subnet-tech/chains/unknown-logo.png`
// return chain.chainSlug
// ? `https://subnet.tech/chain-icons/rsz_${chain.chainSlug}.jpg`
// : '/unknown-logo.png'
return chain.isMain ? `/favicon.png` : `/chains/unknown-logo.png`
}, [chain])

if (!chain) {
Expand Down
2 changes: 1 addition & 1 deletion components/chain/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"decimals": 18
},
"infoURL": "https://github.com/ava-labs/",
"shortName": "avax",
"shortName": "avax-fuji",
"chainId": 43113,
"networkId": 43113,
"explorers": [
Expand Down
172 changes: 91 additions & 81 deletions components/chain/subnets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,157 +2,167 @@
{
"name": "DFK Chain",
"chain": "DFK",
"description": "Subnet for DefiKingdoms project, a Defi protocol/NFT game running on Avalanche & Harmony.",
"description": "Subnet for DefiKingdoms project, a Defi protocol/NFT game running on Avalanche & Klaytn.",
"isLive": true,
"rpc": [
"https://api-dfk.avax.network/rpc"
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"faucets": [],
"nativeCurrency": {
"name": "Jewel",
"symbol": "JEWEL",
"decimals": 18
},
"projectURL": "https://defikingdoms.com",
"shortName": "DFK",
"projectURL": "https://defikingdoms.com/",
"shortName": "dfk",
"chainId": 53935,
"networkId": 53935,
"explorers": [
{
"name": "ethernal",
"url": "https://explorer.dfkchain.com",
"url": "https://avascan.info/blockchain/dfk/home",
"icon": "ethereum",
"standard": "none"
}
]
},
{
"name": "DFK Chain Test",
"name": "DFK Chain Testnet",
"chain": "DFK",
"description": "Test subnet for DefiKingdoms project, a Defi protocol/NFT game running on Avalanche & Harmony.",
"description": "Test subnet for DefiKingdoms project, a Defi protocol/NFT game running on Avalanche & Klaytn.",
"isLive": false,
"rpc": [
"https://api-dfk.avax-test.network/rpc"
"https://subnets.avax.network/defi-kingdoms/dfk-chain-testnet/rpc"
],
"faucets": [
"https://core.app/tools/testnet-faucet/?subnet=dfk"
],
"faucets": [],
"nativeCurrency": {
"name": "Jewel",
"symbol": "JEWEL",
"decimals": 18
},
"projectURL": "https://defikingdoms.com",
"shortName": "DFKTEST",
"shortName": "dfk-testnet",
"chainId": 335,
"networkId": 335,
"explorers": [
{
"name": "ethernal",
"url": "https://explorer-test.dfkchain.com",
"url": "https://subnets-test.avax.network/defi-kingdoms",
"icon": "ethereum",
"standard": "none"
}
]
},
{
"name": "Swimmer Network",
"title": "Swimmer Network",
"description": "Subnet created for the Crabada project, a play and earn idle game.",
"projectURL": "https://www.crabada.com/",
"chain": "Swimmer Network Subnet",
"isLive": true,
"name": "WAGMI Subnet",
"chain": "WAGMI",
"description": "Test subnet created by Avalanche used to experiment with release candidates before they make it into an official coreth release.",
"isLive": false,
"rpc": [
"https://rpc.swimmer.network/ext/bc/2K33xS9AyP9oCDiHYKVrHe7F54h2La5D8erpTChaAhdzeSu2RX/rpc"
"https://subnets.avax.network/wagmi/wagmi-chain-testnet/rpc"
],
"faucets": [
"https://core.app/tools/testnet-faucet/?subnet=wagmi"
],
"faucets": [],
"nativeCurrency": {
"name": "TUS",
"symbol": "TUS",
"name": "WAGMI",
"symbol": "WGM",
"decimals": 18
},
"shortName": "swimmer-mainnet",
"chainId": 73772,
"networkId": 73772,
"projectURL": "https://docs.avax.network/build/subnet/info/wagmi",
"shortName": "wagmi",
"chainId": 11111,
"networkId": 11111,
"explorers": [
{
"name": "Swimmer explorer",
"url": "https://explorer.swimmer.network/",
"standard": "EIP3091"
"name": "ethernal",
"url": "https://subnets-test.avax.network/wagmi",
"icon": "ethereum",
"standard": "none"
}
]
},
{
"name": "Swimmer Testnet",
"title": "Swimmer Testnet",
"description": "Subnet created for the Crabada project, a play and earn idle game.",
"projectURL": "https://www.crabada.com/",
"chain": "Swimmer Test Subnet",
"isLive": false,
"name": "Dexalot Subnet",
"chain": "Dexalot",
"description": "Subnet for Dexalot project, a decentralized exchange running on Avalanche.",
"isLive": true,
"rpc": [
"https://testnet-rpc.swimmer.network/ext/bc/2Sk6j8TYVQc2oR1TtUz64EWHAYjDUoDQ4hpbu6FMN2JBKC77xa/rpc"
],
"faucets": [
"https://faucet.swimmer.network/"
"https://subnets.avax.network/dexalot/mainnet/rpc"
],
"faucets": [],
"nativeCurrency": {
"name": "TUS",
"symbol": "TUS",
"name": "Dexalot",
"symbol": "ALOT",
"decimals": 18
},
"shortName": "swimmer-test",
"chainId": 73771,
"networkId": 73771,
"projectURL": "https://dexalot.com/",
"shortName": "dexalot",
"chainId": 432204,
"networkId": 432204,
"explorers": [
{
"name": "Swimmer explorer",
"url": "https://testnet-explorer.swimmer.network/",
"standard": "EIP3091"
"name": "ethernal",
"url": "https://avascan.info/blockchain/dexalot/home",
"icon": "ethereum",
"standard": "none"
}
]
},
{
"name": "WAGMI ",
"chain": "WAGMI Subnet",
"title": "WAGMI Subnet",
"description": "Test subnet created by Avalanche used to experiment with release candidates before they make it into an official coreth release.",
"projectURL": "https://ava-labs-inc.metabaseapp.com/public/dashboard/15e33581-113a-4671-87f9-766d98e8d4e9#refresh=60",
"isLive": false,
"name": "PLAYA3ULL Subnet",
"chain": "PLAYA3ULL",
"description": "Subnet for PLAYA3ULL Games project, a gaming platform running on Avalanche.",
"isLive": true,
"rpc": [
"https://api.mainnet.playa3ull.games"
],
"faucets": [],
"nativeCurrency": {
"name": "WAGMI",
"symbol": "WGM",
"name": "PLAYA3ULL",
"symbol": "3ULL",
"decimals": 18
},
"chainId": 11111,
"networkId": 11111,
"blockchain": "2ebCneCbwthjQ1rYT41nhd7M76Hc6YmosMAQrTFhBq8qeqh6tt",
"subnetId": "28nrH5T2BMvNrWecFcV3mfccjs6axM1TVyqe79MCv2Mhs8kxiY",
"faucets": [
"https://faucet.trywagmi.xyz/"
],
"rpc": [
"https://api-wagmi.avax-test.network/rpc"
],
"infoURL": "https://github.com/ava-labs/"
"projectURL": "https://playa3ull.games/",
"shortName": "playa3ull",
"chainId": 3011,
"networkId": 3011,
"explorers": [
{
"name": "ethernal",
"url": "https://avascan.info/blockchain/playa3ull/home",
"icon": "ethereum",
"standard": "none"
}
]
},
{
"name": "Rise of the Warbots",
"chain": "Rise of the Warbots Testnet",
"title": "Rise of the Warbots Testnet",
"description": "Subnet created for Rise of the Warbots, a PVP Play-to-Earn NFT gaming experience, set in a post-apocalyptic world where players face off against each other.",
"projectURL": "https://riseofthewarbots.com",
"isLive": false,
"name": "Shrapnel Subnet",
"chain": "Shrapnel",
"description": "Subnet for Shrapnel, the 1st blockchain-enabled AAA customizable First Person Shooter (FPS) video game to be owned by players.",
"isLive": true,
"rpc": [
"https://subnets.avax.network/shrapnel/mainnet/rpc"
],
"faucets": [],
"nativeCurrency": {
"name": "Nano Machines",
"symbol": "NMAC",
"name": "Shrapnel",
"symbol": "SHRAP",
"decimals": 18
},
"chainId": 13213,
"networkId": 13213,
"blockchain": "bN6SQaHnYRefSPjivCTzw7kyBTBR6b9tzZbcQuKQqZC2E32s1",
"subnetId": "jSRFApuLheiSfiZAb6Rdk7oYaLfhDY9kPRnYBW5m2oUqrT5gA",
"faucets": [],
"rpc": [
"https://testnet.riseofthewarbots.com/subnet/rpc"
],
"infoURL": "https://riseofthewarbots.com"
"projectURL": "https://www.shrapnel.com/",
"shortName": "shrapnel",
"chainId": 2044,
"networkId": 2044,
"explorers": [
{
"name": "ethernal",
"url": "https://avascan.info/blockchain/shrapnel/home",
"icon": "ethereum",
"standard": "none"
}
]
}
]
8 changes: 4 additions & 4 deletions components/navigation/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Navigation() {
variant="text"
color="primary"
startIcon={<RouterOutlinedIcon />}
href="/subnet-tech/"
href="/"
className={classes.navItem}
>
Subnets
Expand All @@ -22,7 +22,7 @@ export default function Navigation() {
variant="text"
color="primary"
startIcon={<ValidatorIcon />}
href="/subnet-tech/validators"
href="/validators"
className={classes.navItem}
>
Validators
Expand All @@ -31,7 +31,7 @@ export default function Navigation() {
variant="text"
color="primary"
startIcon={<ClearAllIcon />}
href="/subnet-tech/projects"
href="/projects"
className={classes.navItem}
>
Projects
Expand All @@ -40,7 +40,7 @@ export default function Navigation() {
variant="text"
color="primary"
startIcon={<InfoOutlinedIcon />}
href="/subnet-tech/subnets-information"
href="/subnets-information"
className={classes.navItem}
>
Resources
Expand Down
Loading

0 comments on commit 483813b

Please sign in to comment.