Skip to content

Commit

Permalink
add Vara Network (#8285)
Browse files Browse the repository at this point in the history
* add Vara chain

* add node Logo

* change RPC vara endpoint

* fix lint

* fix test
  • Loading branch information
EugenWay authored Oct 30, 2022
1 parent a9d57a7 commit 52a4761
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/apps-config/src/api/spec/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'unit-parachain': unitv,
unorthodox: standard,
vanilla: parallel,
vara: standard,
vodka,
'web3games-node': web3games,
'zcloak-network': zCloak,
Expand Down
7 changes: 7 additions & 0 deletions packages/apps-config/src/endpoints/production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,13 @@ export const prodChains: EndpointOption[] = [
UniArts: 'wss://mainnet.uniarts.vip:9443'
}
},
{
info: 'vara',
text: 'Vara',
providers: {
'Gear Tech': 'wss://rpc.vara-network.io'
}
},
{
info: 'westlake',
text: 'Westlake',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps-config/src/ui/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ const chainUniarts = 'linear-gradient(150deg, #333ef7 0%, #55adff 100%)';
const chainUnique = '#40BCFF';
const chainUnitv = '#1452F0';
const chainUnorthodox = 'radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(42,244,187,1) 35%, rgba(10,10,10,1) 100%)';
const chainVara = '#32e37d';
const chainVirto = '#063970';
const chainVln = '#33cc33';
const chainWatr = '#373b39';
Expand Down Expand Up @@ -471,6 +472,7 @@ export const chainColors: Record<string, string> = Object.entries({
'UniArts Mainnet': chainUniarts,
'Unique Node': chainUnique,
UNIT: chainUnitv,
'Vara Network': chainVara,
VirtoRococo: chainVirto,
'VLN PC': chainVln,
Wapex: chainTotem,
Expand Down
19 changes: 19 additions & 0 deletions packages/apps-config/src/ui/logos/chains/vara.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/apps-config/src/ui/logos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ import nodeTotem from './chains/totem.svg';
import chainTuring from './chains/turing.png';
import chainUnique from './chains/unique.svg';
import chainUnorthodox from './chains/unorthodox.png';
import chainVara from './chains/vara.svg';
import chainVirto from './chains/virto.png';
import chainWatr from './chains/watr.png';
import chainEggnet from './chains/webb.png';
Expand Down Expand Up @@ -218,6 +219,7 @@ import nodeUniarts from './nodes/uniarts.png';
import nodeUnique from './nodes/unique.svg';
import nodeUnitv from './nodes/unitv.png';
import nodeVln from './nodes/valiu.png';
import nodeVara from './nodes/vara.svg';
import nodeWeb3games from './nodes/web3games.svg';
import nodeWestend from './nodes/westend_colour.svg';
import nodeWestlake from './nodes/westlake.png';
Expand Down Expand Up @@ -440,6 +442,7 @@ export const chainLogos = Object.entries({
UNIQUE: chainUnique,
'Unit Network': nodeUnitv,
Unorthodox: chainUnorthodox,
'Vara Network': chainVara,
VirtoRococo: chainVirto,
Vln: nodeVln,
'VLN PC': nodeVln,
Expand Down Expand Up @@ -944,6 +947,7 @@ export const namedLogos: Record<string, unknown> = {
unitv: nodeUnitv,
unorthodox: chainUnorthodox,
vanilla: nodeParallel,
vara: nodeVara,
vln: nodeVln,
web3games: nodeWeb3games,
westend: nodeWestend,
Expand Down
30 changes: 30 additions & 0 deletions packages/apps-config/src/ui/logos/nodes/vara.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 52a4761

Please sign in to comment.