Skip to content

Commit

Permalink
feature: substrate dapps
Browse files Browse the repository at this point in the history
  • Loading branch information
brettkolodny committed Jul 28, 2022
1 parent ee59e68 commit de6e7dc
Show file tree
Hide file tree
Showing 8 changed files with 207 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/extension/src/libs/dapp-list/aca.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { DAppsItem } from "@/types/ui";

const dappList: DAppsItem[] = [
{
title: "Acala Platform",
link: "https://apps.acala.network/",
description: "The all-in-one DeFi hub of Polkadot",
isFavorites: false,
image: "https://acala.network/static/media/Acala%20Gradient.e027e8c0.svg",
},
{
title: "Portal",
link: "https://www.portalbridge.com/",
description: "Cross chain token and NFT transfers",
isFavorites: false,
image: require("./assets/portal.svg"),
},
{
title: "Polkadot.js",
description: "An all in one utility for the Polkadot ecosystem",
link: "https://polkadot.js.org/apps",
isFavorites: false,
image: "https://polkadot.js.org/docs/img/logo.svg",
},
];
export default dappList;
12 changes: 12 additions & 0 deletions packages/extension/src/libs/dapp-list/assets/portal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions packages/extension/src/libs/dapp-list/dot.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { DAppsItem } from "@/types/ui";

const dappList: DAppsItem[] = [
{
title: "Polkadot.js",
description: "An all in one utility for the Polkadot ecosystem",
link: "https://polkadot.js.org/apps",
isFavorites: false,
image: "https://polkadot.js.org/docs/img/logo.svg",
},
];
export default dappList;
49 changes: 49 additions & 0 deletions packages/extension/src/libs/dapp-list/glmr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { DAppsItem } from "@/types/ui";

const dappList: DAppsItem[] = [
{
title: "StellaSwap",
link: "https://app.stellaswap.com/exchange/swap",
description:
"StellaSwap is the first and leading Moonbeam DEX that offers an integrated gateway to the DeFi world",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13814/stellaswap-dapp-defi-moonbeam-logo-166x166_e1d8b02f0e0ee6b7c0483723019bd677.png",
},
{
title: "Beamswap",
link: "https://app.beamswap.io/exchange/swap",
description:
"First Audited DEX on Moonbeam: DEX / AMM / Yield Farm / Bridge / Launchpad",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13291/beamswap-dapp-exchanges-moonbeam-logo-166x166_b53d6773616930a38a4ecfbcfa6a7dfd.png",
},
{
title: "Solarflare",
link: "https://solarflare.io/exchange/swap",
description: "Shine a light on DeFi, powering Moonbeam",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13425/solarflare-dapp-exchanges-moonbeam-logo-166x166_cbf74e4ab169637c32727917c6e24847.png",
},
{
title: "Beefy Finance",
link: "https://app.beefy.com/",
description:
"The Multichain Yield Optimizer that autocompounds your crypto on BSC, Polygon, Fantom, HECO and Avalanche",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/4601/beefyfinance-dapp-defi-bsc-logo-166x166_153873cafb00fcab59e5f70dbce0c34a.png",
},
{
title: "MoonBeans",
link: "https://moonbeans.io/",
description:
"MoonBeans is one of the leading NFT marketplaces on Dotsama, providing the highest platform rewards available on the market!",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13544/moonbeans-dapp-marketplaces-moonriver-logo-166x166_9d02ffa0e2df7be32435d03463828649.png",
},
];
export default dappList;
12 changes: 12 additions & 0 deletions packages/extension/src/libs/dapp-list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@ import eth from "./eth";
import binance from "./bsc";
import matic from "./matic";
import etc from "./etc";
import ksm from "./ksm";
import dot from "./dot";
import aca from "./aca";
import kar from "./kar";
import glmr from "./glmr";
import movr from "./movr";

const lists: Partial<Record<NetworkNames, DAppsItem[]>> = {
[NetworkNames.Ethereum]: eth,
[NetworkNames.Binance]: binance,
[NetworkNames.Matic]: matic,
[NetworkNames.EthereumClassic]: etc,
[NetworkNames.Kusama]: ksm,
[NetworkNames.Polkadot]: dot,
[NetworkNames.Acala]: aca,
[NetworkNames.Karura]: kar,
[NetworkNames.Moonbeam]: glmr,
[NetworkNames.Moonriver]: movr,
};

export default lists;
27 changes: 27 additions & 0 deletions packages/extension/src/libs/dapp-list/kar.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { DAppsItem } from "@/types/ui";

const dappList: DAppsItem[] = [
{
title: "Karura Platform",
link: "https://apps.karura.network/",
description: "The all-in-one DeFi hub of Kusama",
isFavorites: false,
image:
"https://acala.network/static/media/Karura%20K%20Gradient.79f0acd7.svg",
},
{
title: "Portal",
link: "https://www.portalbridge.com/",
description: "Cross chain token and NFT transfers",
isFavorites: false,
image: require("./assets/portal.svg"),
},
{
title: "Polkadot.js",
description: "An all in one utility for the Polkadot ecosystem",
link: "https://polkadot.js.org/apps",
isFavorites: false,
image: "https://polkadot.js.org/docs/img/logo.svg",
},
];
export default dappList;
20 changes: 20 additions & 0 deletions packages/extension/src/libs/dapp-list/ksm.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { DAppsItem } from "@/types/ui";

const dappList: DAppsItem[] = [
{
title: "Singular",
link: "https://singular.app/",
description: "The Official UI for the first Kusama-native NFTs",
isFavorites: false,
image:
"https://ipfs.rmrk.link/ipfs/QmVWzLS2Lh2BN6WL9xyYd5b3m91zB5bH3oixKvkuPFUvNi",
},
{
title: "Polkadot.js",
description: "An all in one utility for the Polkadot ecosystem",
link: "https://polkadot.js.org/apps",
isFavorites: false,
image: "https://polkadot.js.org/docs/img/logo.svg",
},
];
export default dappList;
49 changes: 49 additions & 0 deletions packages/extension/src/libs/dapp-list/movr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { DAppsItem } from "@/types/ui";

const dappList: DAppsItem[] = [
{
title: "Solarbeam",
link: "https://app.solarbeam.io/exchange/swap",
description: "The native AMM of Moonriver & Moonbeam",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/12800/solarbeam-dapp-defi-moonriver-logo-166x166_64edf283f3ff4b1b2f081e831e411725.png",
},
{
title: "RomeDAO",
link: "https://romedao.finance/",
description:
"Assembling the great houses to build an APYRPG on Kusama & Polkadot",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13925/romedao-dapp-defi-moonriver-logo-166x166_86b40a28bc3eedadb80d3353adcc79e3.png",
},
{
title: "The Damned Pirates Society",
link: "https://www.damnedpiratessociety.io/",
description:
"Take your NFT's on voyages to find chests, upgrade your ship, build a fleet and more",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13508/thedamnedpiratessociety-dapp-games-moonriver-logo-166x166_c850786128a275acd1bafb5827b22c91.png",
},
{
title: "Moonwell",
link: "https://moonwell.fi/apollo/MOVR",
description:
"Moonwell is an open lending and borrowing protocol built on Moonbeam and Moonriver",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13702/moonwell-dapp-defi-moonriver-logo-166x166_ad2ad90d4269804bfc3d04bbb7ce670d.png",
},
{
title: "MoonBeans",
link: "https://moonbeans.io/",
description:
"MoonBeans is one of the leading NFT marketplaces on Dotsama, providing the highest platform rewards available on the market",
isFavorites: false,
image:
"https://dashboard-assets.dappradar.com/document/13544/moonbeans-dapp-marketplaces-moonriver-logo-166x166_9d02ffa0e2df7be32435d03463828649.png",
},
];
export default dappList;

1 comment on commit de6e7dc

@github-actions
Copy link

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.