Skip to content

Commit

Permalink
Merge pull request #30 from stabilitydao/dev
Browse files Browse the repository at this point in the history
0.14.1
  • Loading branch information
a17 authored Sep 23, 2024
2 parents 697976d + c3d907c commit ef65a27
Show file tree
Hide file tree
Showing 3 changed files with 304 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stabilitydao/stability",
"version": "0.14.0",
"version": "0.14.1",
"description": "Stability Integration Library",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
300 changes: 298 additions & 2 deletions src/bridges.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {ChainName} from "./chains";
import {ChainName, chains} from "./chains";
import {integrations} from "./integrations";

export type Bridge = {
name: BridgeName,
Expand All @@ -8,14 +9,309 @@ export type Bridge = {
}

export const enum BridgeName {
// Liquidity transports
STARGATE = 'Stargate',
SATELLITE = 'Satellite',
ORBITER = 'Orbiter',

// Native official bridges
SUPERBRIDGE = 'Superbridge',
BRIDGG = 'Brid.gg',
ARBITRUM = 'Arbitrum',
POLYGON = 'Polygon portal',
ROOTSTOCK = 'Rootstock',
ROOTSTOCK = 'Rootstock Token Bridge',
TELOS = 'Telos Bridge',
BNB = 'BNB Chain Bridge',
SKALE = 'SKALE Portal',
CORE_APP = 'Core Tools Bridge',
MODE = 'Mode App',
MANTLE = 'Mantle Bridge',
REAL = 're.al Bridge',
}

export const bridges: Bridge[] = [
{
name: BridgeName.REAL,
dapp: 'https://www.re.al/bridge',
img: `chains/${chains["111188"].img}`,
chains: [
ChainName.ETHEREUM,
ChainName.REAL,
ChainName.OPTIMISM,
ChainName.BSC,
ChainName.POLYGON,
ChainName.BASE,
ChainName.ARBITRUM,
ChainName.BLAST,
ChainName.SCROLL,
],
},
{
name: BridgeName.ORBITER,
dapp: 'https://www.orbiter.finance',
img: 'assets/orbiter.jpg',
chains: [
ChainName.ETHEREUM,
ChainName.ARBITRUM,
ChainName.OPTIMISM,
ChainName.BASE,
ChainName.LINEA,
ChainName.SCROLL,
// taiko
ChainName.ZKSYNC,
// zora
// solana
// ton
ChainName.X_LAYER,
ChainName.BLAST,
ChainName.MODE,
ChainName.MERLIN,
// bevm
// zksync lite
ChainName.POLYGON_ZKEVM,
ChainName.POLYGON,
ChainName.ARBITRUM_NOVA,
// loopring
// immutable x
// starknet
ChainName.BSC,
// tron
ChainName.FUSE,
ChainName.MANTA,
// mint
// opbnb
// b^2 network
ChainName.FRAXTAL,
// matchain
ChainName.CORE,
// gravity
ChainName.MANTLE,
// bouncebit
ChainName.ZETA,
// cyber
// bomechain
ChainName.ZKFAIR,
// zircuit
// bob
// optopia
// proof of play apex
// bitlayer
// zklink nova
// alienxchain
],
},
{
name: BridgeName.SATELLITE,
dapp: 'https://satellite.money',
img: 'assets/satellite.svg',
chains: [
ChainName.ETHEREUM,
// agoric
ChainName.ARBITRUM,
// archway
ChainName.AVALANCHE,
// axelar
ChainName.BASE,
ChainName.BSC,
// bitsong
ChainName.BLAST,
// c4e
// carbon
// celestia
ChainName.CELO,
// centrifuge
// chihuahua
// comdex
// cosomhub
// crescent
// dymension
ChainName.EVMOS,
ChainName.FANTOM,
// fetch
ChainName.FILECOIN,
ChainName.FRAXTAL,
ChainName.HAQQ,
// immutable
// ixo
// juno
ChainName.KAVA,
// ki
// kujira
// lava
ChainName.LINEA,
ChainName.MANTLE,
// migaloo
ChainName.MOONBEAM,
// neutron
// nolus
// ojo
ChainName.OPTIMISM,
// persistence
ChainName.POLYGON,
// provenance
// rebus
// regen
// saga
ChainName.SCROLL,
ChainName.SEI,
// somellier
// stargaze
// stride
// territori
// umee
// xpla
// osmosis
],
},
{
name: BridgeName.STARGATE,
dapp: 'https://stargate.finance/bridge',
img: `assets/${integrations['stargate'].img}`,
chains: [
ChainName.ETHEREUM,
ChainName.ARBITRUM,
// astar
ChainName.ASTAR_ZKEVM,
ChainName.AURORA,
ChainName.AVALANCHE,
ChainName.BASE,
ChainName.BLAST,
ChainName.BSC,
// ebi
ChainName.FANTOM,
// flare
ChainName.FRAXTAL,
ChainName.GNOSIS,
// gravity
// iota
// kaia
ChainName.KAVA,
ChainName.LINEA,
ChainName.MANTA,
ChainName.MANTLE,
ChainName.METIS,
ChainName.MODE,
ChainName.MOONBEAM,
ChainName.MOONRIVER,
// opbnb
ChainName.OPTIMISM,
ChainName.POLYGON,
ChainName.POLYGON_ZKEVM,
// rari
ChainName.SCROLL,
ChainName.SEI,
// solana
// taiko
ChainName.X_LAYER,
// zircuit
ChainName.ZKSYNC,
],
},
{
name: BridgeName.MANTLE,
dapp: 'https://bridge.mantle.xyz/',
img: `chains/${chains["5000"].img}`,
chains: [
ChainName.ETHEREUM,
ChainName.MANTLE,
],
},
{
name: BridgeName.MODE,
dapp: 'https://app.mode.network',
img: `chains/${chains["34443"].img}`,
chains: [
ChainName.ETHEREUM,
ChainName.MODE,
ChainName.OPTIMISM,
ChainName.BASE,
ChainName.ARBITRUM,
ChainName.POLYGON,
],
},
{
name: BridgeName.CORE_APP,
dapp: 'https://core.app/en/bridge/',
img: 'assets/core-app.png',
chains: [
ChainName.ETHEREUM,
ChainName.AVALANCHE,
],
},
{
name: BridgeName.SKALE,
dapp: 'https://portal.skale.space/bridge',
img: `chains/${chains["2046399126"].img}`,
chains: [
ChainName.ETHEREUM,
ChainName.SKALE_EUROPA,
// Calypso Hub
// Nebula Gaming Hub
// CryptoBlades
// Wan-Red-Ain
// Razor network
// Adorable-Quaint-Bellatrix
// Titan AI hub
],
},
{
name: BridgeName.BNB,
dapp: 'https://www.bnbchain.org/en/bnb-chain-bridge',
img: `chains/${chains["56"].img}`,
chains: [
ChainName.ETHEREUM,
ChainName.BSC,
// opBNB
ChainName.ARBITRUM,
ChainName.BASE,
ChainName.POLYGON,
ChainName.AVALANCHE,
ChainName.BLAST,
ChainName.LINEA,
ChainName.OPTIMISM,
ChainName.ASTAR_ZKEVM,
ChainName.AURORA,
ChainName.BOBA,
// canto
// conflux espace
ChainName.EVMOS,
// fncy
ChainName.FANTOM,
// flare
// godwoken
// gravity alpha
// iota evm
ChainName.KAVA,
ChainName.KLAYTN,
ChainName.MANTLE,
ChainName.METIS,
// milkomeda a1
// milkomeda c1
ChainName.MOONBEAM,
// oasis saphire
// oasis
ChainName.POLYGON_ZKEVM,
// rari
ChainName.SCROLL,
// taiko
ChainName.ZKSYNC,
],
},
{
name: BridgeName.TELOS,
dapp: 'https://bridge.telos.net/bridge',
img: `chains/${chains["40"].img}`,
chains: [
ChainName.ETHEREUM,
ChainName.TELOS,
ChainName.POLYGON,
ChainName.BSC,
ChainName.AVALANCHE,
ChainName.ARBITRUM,
ChainName.ZKSYNC,
ChainName.LINEA,
],
},
{
name: BridgeName.ROOTSTOCK,
dapp: 'https://dapp.tokenbridge.rootstock.io/',
Expand Down
5 changes: 5 additions & 0 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const chains: { [chainId: string]: Chain } = {
chainId: 10,
status: ChainStatus.NOT_SUPPORTED,
img: 'optimism.svg',
multisig: '0x06111E02BEb85B57caebEf15F5f90Bc82D54da3A',
},
"30": {
name: ChainName.ROOTSTOCK,
Expand All @@ -103,6 +104,7 @@ export const chains: { [chainId: string]: Chain } = {
chainId: 56,
status: ChainStatus.NOT_SUPPORTED,
img: 'bsc.svg',
multisig: '0xFad77AAD3C3b769500F8743C16A27FBf951e3A78',
},
"100": {
name: ChainName.GNOSIS,
Expand Down Expand Up @@ -342,6 +344,7 @@ export const chains: { [chainId: string]: Chain } = {
chainId: 43114,
status: ChainStatus.NOT_SUPPORTED,
img: 'avalanche.png',
multisig: '0xFad77AAD3C3b769500F8743C16A27FBf951e3A78',
},
"59144": {
name: ChainName.LINEA,
Expand All @@ -354,6 +357,7 @@ export const chains: { [chainId: string]: Chain } = {
chainId: 81457,
status: ChainStatus.NOT_SUPPORTED,
img: 'blast.png',
multisig: '0xFad77AAD3C3b769500F8743C16A27FBf951e3A78',
},
"111188": {
name: ChainName.REAL,
Expand All @@ -366,6 +370,7 @@ export const chains: { [chainId: string]: Chain } = {
chainId: 534352,
status: ChainStatus.NOT_SUPPORTED,
img: 'scroll.webp',
multisig: '0xFad77AAD3C3b769500F8743C16A27FBf951e3A78',
},
"1313161554": {
name: ChainName.AURORA,
Expand Down

0 comments on commit ef65a27

Please sign in to comment.