diff --git a/.env.example b/.env.example
index 368e84341..4872580df 100644
--- a/.env.example
+++ b/.env.example
@@ -14,8 +14,6 @@ LUMA_PRIVATE_API_KEY=
# Builder
NEXT_PUBLIC_BUILDER_API_KEY=
NEXT_PUBLIC_BUILDER_NEWS_SETTINGS_ID=
-# Airtable
-AIRTABLE_TOKEN=
# River
RIVER_KEY=
# RPC Endpoint
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index beff1d178..cd0127c39 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -7,6 +7,11 @@ labels: "Status: Unconfirmed"
## Steps To Reproduce
+
+
## The current behavior
+
+
## The expected behavior
+
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 000000000..250dc0288
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,9 @@
+### Problem
+
+
+
+### Summary of Changes
+
+
+
+Fixes #
\ No newline at end of file
diff --git a/.prettierignore b/.prettierignore
index 6a5c572b0..4aa5deb72 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,3 +1,4 @@
+.github/*.md
public
packages
.vercel
diff --git a/src/components/ramps/assets/logos/alchemy-pay.png b/assets/ramps/logos/alchemy-pay.png
similarity index 100%
rename from src/components/ramps/assets/logos/alchemy-pay.png
rename to assets/ramps/logos/alchemy-pay.png
diff --git a/src/components/ramps/assets/logos/banxa.png b/assets/ramps/logos/banxa.png
similarity index 100%
rename from src/components/ramps/assets/logos/banxa.png
rename to assets/ramps/logos/banxa.png
diff --git a/src/components/ramps/assets/logos/coinflow.png b/assets/ramps/logos/coinflow.png
similarity index 100%
rename from src/components/ramps/assets/logos/coinflow.png
rename to assets/ramps/logos/coinflow.png
diff --git a/src/components/ramps/assets/logos/coinify.png b/assets/ramps/logos/coinify.png
similarity index 100%
rename from src/components/ramps/assets/logos/coinify.png
rename to assets/ramps/logos/coinify.png
diff --git a/src/components/ramps/assets/logos/kado.png b/assets/ramps/logos/kado.png
similarity index 100%
rename from src/components/ramps/assets/logos/kado.png
rename to assets/ramps/logos/kado.png
diff --git a/src/components/ramps/assets/logos/luno.png b/assets/ramps/logos/luno.png
similarity index 100%
rename from src/components/ramps/assets/logos/luno.png
rename to assets/ramps/logos/luno.png
diff --git a/src/components/ramps/assets/logos/mercuryo.png b/assets/ramps/logos/mercuryo.png
similarity index 100%
rename from src/components/ramps/assets/logos/mercuryo.png
rename to assets/ramps/logos/mercuryo.png
diff --git a/src/components/ramps/assets/logos/meso.png b/assets/ramps/logos/meso.png
similarity index 100%
rename from src/components/ramps/assets/logos/meso.png
rename to assets/ramps/logos/meso.png
diff --git a/src/components/ramps/assets/logos/moonpay.png b/assets/ramps/logos/moonpay.png
similarity index 100%
rename from src/components/ramps/assets/logos/moonpay.png
rename to assets/ramps/logos/moonpay.png
diff --git a/src/components/ramps/assets/logos/onmeta.png b/assets/ramps/logos/onmeta.png
similarity index 100%
rename from src/components/ramps/assets/logos/onmeta.png
rename to assets/ramps/logos/onmeta.png
diff --git a/src/components/ramps/assets/logos/onramp.png b/assets/ramps/logos/onramp.png
similarity index 100%
rename from src/components/ramps/assets/logos/onramp.png
rename to assets/ramps/logos/onramp.png
diff --git a/src/components/ramps/assets/logos/paybis.png b/assets/ramps/logos/paybis.png
similarity index 100%
rename from src/components/ramps/assets/logos/paybis.png
rename to assets/ramps/logos/paybis.png
diff --git a/src/components/ramps/assets/logos/payfura.png b/assets/ramps/logos/payfura.png
similarity index 100%
rename from src/components/ramps/assets/logos/payfura.png
rename to assets/ramps/logos/payfura.png
diff --git a/src/components/ramps/assets/logos/saber.png b/assets/ramps/logos/saber.png
similarity index 100%
rename from src/components/ramps/assets/logos/saber.png
rename to assets/ramps/logos/saber.png
diff --git a/src/components/ramps/assets/logos/scalex.png b/assets/ramps/logos/scalex.png
similarity index 100%
rename from src/components/ramps/assets/logos/scalex.png
rename to assets/ramps/logos/scalex.png
diff --git a/src/components/ramps/assets/logos/sphere.png b/assets/ramps/logos/sphere.png
similarity index 100%
rename from src/components/ramps/assets/logos/sphere.png
rename to assets/ramps/logos/sphere.png
diff --git a/src/components/ramps/assets/logos/stables.png b/assets/ramps/logos/stables.png
similarity index 100%
rename from src/components/ramps/assets/logos/stables.png
rename to assets/ramps/logos/stables.png
diff --git a/src/components/ramps/assets/logos/stripe.png b/assets/ramps/logos/stripe.png
similarity index 100%
rename from src/components/ramps/assets/logos/stripe.png
rename to assets/ramps/logos/stripe.png
diff --git a/src/components/ramps/assets/logos/topper.png b/assets/ramps/logos/topper.png
similarity index 100%
rename from src/components/ramps/assets/logos/topper.png
rename to assets/ramps/logos/topper.png
diff --git a/src/components/ramps/assets/logos/transak.png b/assets/ramps/logos/transak.png
similarity index 100%
rename from src/components/ramps/assets/logos/transak.png
rename to assets/ramps/logos/transak.png
diff --git a/src/components/ramps/assets/logos/transfero.png b/assets/ramps/logos/transfero.png
similarity index 100%
rename from src/components/ramps/assets/logos/transfero.png
rename to assets/ramps/logos/transfero.png
diff --git a/src/components/ramps/assets/logos/transfi.png b/assets/ramps/logos/transfi.png
similarity index 100%
rename from src/components/ramps/assets/logos/transfi.png
rename to assets/ramps/logos/transfi.png
diff --git a/src/components/ramps/assets/logos/unlimit.png b/assets/ramps/logos/unlimit.png
similarity index 100%
rename from src/components/ramps/assets/logos/unlimit.png
rename to assets/ramps/logos/unlimit.png
diff --git a/src/components/ramps/assets/logos/untorg.png b/assets/ramps/logos/untorg.png
similarity index 100%
rename from src/components/ramps/assets/logos/untorg.png
rename to assets/ramps/logos/untorg.png
diff --git a/assets/wallets/icons/enkrypt.png b/assets/wallets/icons/enkrypt.png
new file mode 100644
index 000000000..e8444d5a8
Binary files /dev/null and b/assets/wallets/icons/enkrypt.png differ
diff --git a/next.config.js b/next.config.js
index 69aa57f88..7f9b2c82d 100644
--- a/next.config.js
+++ b/next.config.js
@@ -72,33 +72,43 @@ const moduleExports = () => {
})),
];
- return builder
- .getAll("url-redirects", {
- apiKey:
- process.env.NEXT_PUBLIC_BUILDER_API_KEY ||
- "ce0c7323a97a4d91bd0baa7490ec9139",
- options: { noTargeting: true },
- cachebust: true,
- })
- .then(
- (results) => [
- ...existingRedirects,
- ...results
- .filter((content) => {
- const data = (content || {}).data || {};
- return !!(data.sourceUrl && data.destinationUrl);
- })
- .map(({ data }) => ({
- source: data.sourceUrl,
- destination: data.destinationUrl,
- permanent: !!data.permanentRedirect,
- })),
- ],
- (error) => {
+ try {
+ return builder
+ .getAll("url-redirects", {
+ apiKey:
+ process.env.NEXT_PUBLIC_BUILDER_API_KEY ||
+ "ce0c7323a97a4d91bd0baa7490ec9139",
+ options: { noTargeting: true },
+ cachebust: true,
+ })
+ .then((results) => {
+ try {
+ return [
+ ...existingRedirects,
+ ...results
+ .filter((content) => {
+ const data = (content || {}).data || {};
+ return !!(data.sourceUrl && data.destinationUrl);
+ })
+ .map(({ data }) => ({
+ source: data.sourceUrl,
+ destination: data.destinationUrl,
+ permanent: !!data.permanentRedirect,
+ })),
+ ];
+ } catch (error) {
+ console.log("Error processing redirects", error);
+ return existingRedirects;
+ }
+ })
+ .catch((error) => {
console.log("Error setting up redirects", error);
return existingRedirects;
- },
- );
+ });
+ } catch (error) {
+ console.log("Error fetching redirects from Builder:", error);
+ return existingRedirects;
+ }
},
webpack(config) {
config.module.rules.push({
diff --git a/public/locales/en/common.json b/public/locales/en/common.json
index afdf64e11..619bc9699 100644
--- a/public/locales/en/common.json
+++ b/public/locales/en/common.json
@@ -300,7 +300,7 @@
"logo": {
"title": "Solana Brand",
"sub-title": "Logotype",
- "description": "Solana’s wordmark is constructed from custom-built, modular type. The angular and uniform lettering take cues from 1980s tech aesthetics, updated to feel fresh and futuristic. The logomark is created by stacking three identical parallelograms. It conveys speed and celebrates the concept of building."
+ "description": "Solana’s wordmark is constructed from custom-built, modular type. The angular and uniform lettering takes cues from 1980s tech aesthetics, updated to feel fresh and futuristic. The logomark is created by stacking three identical parallelograms. It conveys speed and celebrates the concept of building."
},
"welcome": {
"title": "Welcome to Solana Brand & Marketing page",
@@ -744,7 +744,7 @@
"email-error": "Please enter a valid email address",
"signup": "Sign up",
"signup-success": "You are successfully signed up!",
- "unexpected-error": "An unexpected error occured. Please try again!"
+ "unexpected-error": "An unexpected error occurred. Please try again!"
}
},
"resources": {
@@ -791,6 +791,10 @@
"title": "Solana Program Library Documentation",
"description": "Official docs the Solana Program Library."
},
+ "cookbook": {
+ "title": "Cookbook",
+ "description": "Snippets and copyable example code for Solana applications."
+ },
"resources": {
"title": "Resources",
"description": "Extensive developer tooling for building on Solana."
@@ -810,7 +814,7 @@
"hello-world": "Hello World",
"bootcamp": "Bootcamp",
"evm-to-svm": "EVM to SVM",
- "local-setup": "Local Setup"
+ "local-setup": "Installation"
}
},
"solutions": {
diff --git a/public/locales/es/common.json b/public/locales/es/common.json
index 44219adc6..694c5724d 100644
--- a/public/locales/es/common.json
+++ b/public/locales/es/common.json
@@ -54,7 +54,7 @@
"card-1": {
"title": "Solana Audits AI",
"subtitle": "Ryan Trat @ryan_trat",
- "content": "Utiliza LLLMs para identificar vulnerabilidades en contratos inteligentes de Solana"
+ "content": "Utiliza LLMs para identificar vulnerabilidades en contratos inteligentes de Solana"
},
"card-2": {
"title": "Búsqueda Ecosistema Solana",
diff --git a/public/locales/hi/common.json b/public/locales/hi/common.json
index 597176700..2bbf7eb5d 100644
--- a/public/locales/hi/common.json
+++ b/public/locales/hi/common.json
@@ -337,28 +337,28 @@
"hero-old": "क्रिप्टो क्रांति में शामिल हों",
"subheader": "निम्नलिखित हमारे सबसे अधिक बार उपयोग किए जाने वाले और अपडेट किए गए संचार चैनल हैं। आप नाम लें, हमारे पास है!",
"telegram": "टेलीग्राम",
- "approx-members": "~ {number} सदस्य",
- "gt-members": "~ {number} सदस्य",
+ "approx-members": "सदस्य",
+ "gt-members": "सदस्य",
"announcements": "घोषणाएँ",
"discord": "डिस्कॉर्ड",
"engineering": "इंजीनियरिंग",
"twitter": "ट्विटर",
- "approx-followers": "~ {number} अनुयायी",
+ "approx-followers": "अनुयायी",
"medium": "समाचार",
- "approx-write-ups": "~ {number} लेख",
+ "approx-write-ups": "लेख",
"blogposts": "ब्लॉग पोस्ट",
"github": "गिटहब",
"vk": "वीके",
- "vk-subscribers": "~ {number} अनुयायी",
+ "vk-subscribers": "अनुयायी",
"weibo": "वीबो",
- "weibo-subscribers": "> {number} ग्राहक",
+ "weibo-subscribers": "ग्राहक",
"twitter-jp": "ट्विटर जापान",
- "twitter-jp-subscribers": "> {number} सदस्य",
+ "twitter-jp-subscribers": "सदस्य",
"forum": "सोलाना फोरम",
- "forum-subscribers": "> {number} पोस्ट",
- "gt-stars": "> {number} सितारे",
+ "forum-subscribers": "पोस्ट",
+ "gt-stars": "सितारे",
"youtube": "यूट्यूब",
- "gt-subscribers": "> {number} ग्राहक",
+ "gt-subscribers": "ग्राहक",
"yt-subscribers": "K ग्राहक",
"videos": "वीडियो",
"email": "ईमेल",
diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json
index 08ab188dc..e567448a5 100644
--- a/public/locales/ja/common.json
+++ b/public/locales/ja/common.json
@@ -337,28 +337,28 @@
"hero-old": "暗号革命に参加する",
"subheader": "以下は、私たちの最も頻繁に利用され、更新されているコミュニケーションチャネルです。あなたが名前を挙げれば、私たちはそれを持っています!",
"telegram": "テレグラム",
- "approx-members": "〜{number} 人",
+ "approx-members": "人",
"gt-members": " 人",
"announcements": "アナウンス",
"discord": "ディスコード",
"engineering": "エンジニアリング",
"twitter": "ツイッター",
- "approx-followers": "〜{number} フォロワー",
+ "approx-followers": "フォロワー",
"medium": "ニュース",
- "approx-write-ups": "〜{number} 件の投稿",
+ "approx-write-ups": "件の投稿",
"blogposts": "ブログ",
"github": "GitHub",
"vk": "VK",
- "vk-subscribers": "〜{number} フォロワー",
+ "vk-subscribers": "フォロワー",
"weibo": "Weibo",
- "weibo-subscribers": "{number} 人以上の登録者",
+ "weibo-subscribers": "人以上の登録者",
"twitter-jp": "Twitter Japan",
"twitter-jp-subscribers": " 人",
"forum": "Solanaフォーラム",
"forum-subscribers": " 投稿",
- "gt-stars": "{number} 個以上のスター",
+ "gt-stars": "個以上のスター",
"youtube": "YouTube",
- "gt-subscribers": "{number} 人以上の登録者",
+ "gt-subscribers": "人以上の登録者",
"yt-subscribers": "K 登録者",
"videos": "動画",
"email": "メール",
diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json
index e76f1781f..ea9a08f4a 100644
--- a/public/locales/tr/common.json
+++ b/public/locales/tr/common.json
@@ -337,8 +337,8 @@
"hero-old": "Kripto devrimine katılın",
"subheader": "Aşağıdakiler en sık kullanılan ve güncellenen iletişim kanallarımızdır. Adını siz koyun, bizde var!",
"telegram": "Telegram",
- "approx-members": "~ {number} üyeler",
- "gt-members": "> {number} üyeler",
+ "approx-members": "üyeler",
+ "gt-members": "üyeler",
"announcements": "Duyurular",
"discord": "Discord",
"engineering": "Mühendislik",
diff --git a/public/locales/uk/common.json b/public/locales/uk/common.json
index 9affca490..7fbb722f1 100644
--- a/public/locales/uk/common.json
+++ b/public/locales/uk/common.json
@@ -21,7 +21,7 @@
"point-1": "Фонд грантів ІІ у розмірі $10M",
"point-2": "Плагін ChatGPT для Solana",
"point-3": "Екосистема розробників на перетині ІІ + Web3",
- "cta": "Зв'яжіться з нами"
+ "cta": "Зв’язатися з нами"
},
"why-ai": {
"caption": "Чому ІІ на блокчейні?",
@@ -176,7 +176,7 @@
"hackathon": {
"index": {
"title": "Приєднуйтесь до онлайн-хакатону Solana, щоб розпочати свою крипто-подорож",
- "description": "Хакатони Solana надають амбітним розробникам платформу для створення проектів, які просувають криптопростір вперед. Зареєструйтесь на Colosseum, щоб знайти співзасновників, поділитися ідеями та зареєструватися на наступний хакатон Solana.",
+ "description": "Хакатони Solana надають амбітним розробникам платформу для створення проектів, які просувають криптопростір вперед. Зареєструйтеся на Colosseum, щоб знайти співзасновників, поділитися ідеями та зареєструватися на наступний хакатон Solana.",
"cta": "Приєднатися до Colosseum",
"hero": {
"developers": {
diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json
index 82855a4f5..602659168 100644
--- a/public/locales/vi/common.json
+++ b/public/locales/vi/common.json
@@ -337,7 +337,7 @@
"hero-old": "Tham gia cuộc cách mạng tiền điện tử",
"subheader": "Dưới đây là các kênh liên lạc được cập nhật và truy cập nhiều nhất của chúng tôi. Bạn gọi tên nó, chúng tôi có nó!",
"telegram": "Telegram\n",
- "approx-members": "~ {number} thành viên",
+ "approx-members": "thành viên",
"gt-members": " thành viên",
"announcements": "Thông báo",
"discord": "Bất hòa\n",
@@ -345,7 +345,7 @@
"twitter": "Twitter",
"approx-followers": "người theo dõi",
"medium": "Tin tức",
- "approx-write-ups": "~ {number} bài viết",
+ "approx-write-ups": "bài viết",
"blogposts": "Bài đăng trên blog",
"github": "GitHub",
"vk": "VK",
@@ -355,10 +355,10 @@
"twitter-jp": "Twitter Nhật Bản",
"twitter-jp-subscribers": " thành viên",
"forum": "Diễn đàn Solana",
- "forum-subscribers": "> {number} bài viết",
- "gt-stars": "> {number} sao",
+ "forum-subscribers": "bài viết",
+ "gt-stars": "sao",
"youtube": "YouTube",
- "gt-subscribers": "> {number} người đăng ký",
+ "gt-subscribers": "người đăng ký",
"yt-subscribers": "K người đăng ký",
"videos": "Video",
"email": "Email",
diff --git a/rewrites-redirects.json b/rewrites-redirects.json
index a5055c9e0..b4a840a68 100644
--- a/rewrites-redirects.json
+++ b/rewrites-redirects.json
@@ -124,6 +124,10 @@
"source": "/environment",
"destination": "https://climate.solana.com/"
},
- { "source": "/breakpoint/side-events", "destination": "/breakpoint" }
+ { "source": "/breakpoint/side-events", "destination": "/breakpoint" },
+ {
+ "source": "/verifiable-builds",
+ "destination": "/developers/guides/advanced/verified-builds#install-the-solana-verify-cli"
+ }
]
}
diff --git a/src/components/header/HeaderListBuild.js b/src/components/header/HeaderListBuild.js
index db9448e7d..533b7694d 100644
--- a/src/components/header/HeaderListBuild.js
+++ b/src/components/header/HeaderListBuild.js
@@ -36,24 +36,34 @@ const HeaderListBuild = () => {
{t("nav.developers.items.docs.description")}
- {t("nav.developers.items.resources.title")}
+ {t("nav.developers.items.courses.title")}
- {t("nav.developers.items.resources.description")}
+ {t("nav.developers.items.courses.description")}
- {t("nav.developers.items.courses.title")}
+ {t("nav.developers.items.cookbook.title")}
- {t("nav.developers.items.courses.description")}
+ {t("nav.developers.items.cookbook.description")}
+
+
+
+ {t("nav.developers.items.resources.title")}
+
+ {t("nav.developers.items.resources.description")}
@@ -74,7 +84,7 @@ const HeaderListBuild = () => {
{t("nav.developers.tutorials.hello-world")}
diff --git a/src/components/ramps/RampsLayout.jsx b/src/components/ramps/RampsLayout.jsx
index 23dc71562..2ddc1269a 100644
--- a/src/components/ramps/RampsLayout.jsx
+++ b/src/components/ramps/RampsLayout.jsx
@@ -7,33 +7,6 @@ import { Hero } from "@solana-foundation/solana-lib";
import onOffRampHeroImage from "../../../assets/onofframp/on-off-ramp-hero-img.png";
import { useTranslation } from "next-i18next";
-// Logo imports
-import alchemyPayLogo from "./assets/logos/alchemy-pay.png";
-import banxa from "./assets/logos/banxa.png";
-import coinflow from "./assets/logos/coinflow.png";
-import coinify from "./assets/logos/coinify.png";
-import kado from "./assets/logos/kado.png";
-import luno from "./assets/logos/luno.png";
-import mercuryo from "./assets/logos/mercuryo.png";
-import mesonetwork from "./assets/logos/meso.png";
-import moneygram from "./assets/logos/moneygram.png";
-import moonpay from "./assets/logos/moonpay.png";
-import onmeta from "./assets/logos/onmeta.png";
-import onramp from "./assets/logos/onramp.png";
-import payfura from "./assets/logos/payfura.png";
-import saber from "./assets/logos/saber.png";
-import scalex from "./assets/logos/scalex.png";
-import stripe from "./assets/logos/stripe.png";
-import transak from "./assets/logos/transak.png";
-import transfero from "./assets/logos/transfero.png";
-import transfi from "./assets/logos/transfi.png";
-import unlimit from "./assets/logos/unlimit.png";
-import utorg from "./assets/logos/untorg.png";
-import paybis from "./assets/logos/paybis.png";
-import topper from "./assets/logos/topper.png";
-import sphere from "./assets/logos/sphere.png";
-import stables from "./assets/logos/stables.png";
-
const RampLayout = ({
data,
fiatAssetsOptions,
@@ -53,109 +26,6 @@ const RampLayout = ({
}
};
- const RampLogoMap = [
- {
- ramp: "AlchemyPay",
- logo: alchemyPayLogo,
- },
- {
- ramp: "Banxa",
- logo: banxa,
- },
- {
- ramp: "Coinflow",
- logo: coinflow,
- },
- {
- ramp: "Coinify",
- logo: coinify,
- },
- {
- ramp: "Kado",
- logo: kado,
- },
- {
- ramp: "Luno",
- logo: luno,
- },
- {
- ramp: "Mercuryo",
- logo: mercuryo,
- },
- {
- ramp: "Meso Network",
- logo: mesonetwork,
- },
- {
- ramp: "Moonpay",
- logo: moonpay,
- },
- {
- ramp: "Moneygram",
- logo: moneygram,
- },
- {
- ramp: "Onmeta",
- logo: onmeta,
- },
- {
- ramp: "OnRamp",
- logo: onramp,
- },
- {
- ramp: "Payfura",
- logo: payfura,
- },
- {
- ramp: "Saber Money",
- logo: saber,
- },
- {
- ramp: "Scalex",
- logo: scalex,
- },
- {
- ramp: "Stripe",
- logo: stripe,
- },
- {
- ramp: "Transak",
- logo: transak,
- },
- {
- ramp: "Transfero",
- logo: transfero,
- },
- {
- ramp: "TransFi",
- logo: transfi,
- },
- {
- ramp: "Unlimit Crypto",
- logo: unlimit,
- },
- {
- ramp: "Utorg",
- logo: utorg,
- },
- {
- ramp: "Paybis",
- logo: paybis,
- },
- {
- ramp: "Topper",
- logo: topper,
- },
- {
- ramp: "Sphere",
- logo: sphere,
- },
- {
- ramp: "Stables",
- logo: stables,
- },
- ];
-
const rampsTitles = data.map((data) => data.fields.RampName).sort();
const placeholderRamps = [];
@@ -171,26 +41,21 @@ const RampLayout = ({
RampStatusOff,
RampStatusOn,
WebsiteUrl,
- Countries2,
- FiatAssets2,
- PaymentRails2,
+ RampLogo,
+ Countries,
+ FiatAssets,
+ PaymentRails,
} = matchingRamp[0].fields;
- const matchingRampLogoObject = RampLogoMap.filter(
- (item) => item.ramp === RampName,
- );
-
placeholderRamps.push({
title: RampName,
description: Description ?? "",
websiteUrl: WebsiteUrl,
- imageUrl: matchingRampLogoObject.length
- ? matchingRampLogoObject[0].logo.src
- : null,
+ imageUrl: RampLogo,
meta: {
- countries: Countries2 ?? [],
- "payment-rails": PaymentRails2 ?? [],
- "fiat-assets": FiatAssets2 ?? [],
+ countries: Countries ?? [],
+ "payment-rails": PaymentRails ?? [],
+ "fiat-assets": FiatAssets ?? [],
"ramp-status-on": RampStatusOn ?? false,
"ramp-status-off": RampStatusOff ?? false,
},
@@ -227,11 +92,11 @@ const RampLayout = ({
];
/**
- * Runs through an array of records that comes from the Airtable API, sorts them by Name, then returns the correct format for the data for our checkboxes
+ * Sorts and formats the data for the filter checkboxes
*
- * @param {Array} dataArray the Data that gets returned from the Airtable API
- * @param {String} checkboxName the name of the checkbox so when one is clicked the ramps will filter based on that data
- * @returns array
+ * @param {Array} dataArray Array of items (fiatAssets, countries, or paymentRails)
+ * @param {String} checkboxName the name of the checkbox for filtering (fiat-assets, countries, or payment-rails)
+ * @returns array of formatted items for the filter checkboxes
*/
const sortAndFormatData = (dataArray, checkboxName) => {
const sortedData = [];
@@ -242,7 +107,8 @@ const RampLayout = ({
const data = dataArray.filter((item) => item.fields.Name === title);
sortedData.push({
value: data[0].id,
- title: data[0].fields?.Name,
+ title:
+ checkboxName === "fiat-assets" ? data[0].id : data[0].fields?.Name,
name: checkboxName,
});
});
diff --git a/src/components/ramps/assets/logos/moneygram.png b/src/components/ramps/assets/logos/moneygram.png
deleted file mode 100755
index 847a9f7be..000000000
Binary files a/src/components/ramps/assets/logos/moneygram.png and /dev/null differ
diff --git a/src/data/ramps/ramps-data.js b/src/data/ramps/ramps-data.js
new file mode 100644
index 000000000..6905a3ef6
--- /dev/null
+++ b/src/data/ramps/ramps-data.js
@@ -0,0 +1,2253 @@
+import alchemyPayLogo from "../../../assets/ramps/logos/alchemy-pay.png";
+import banxa from "../../../assets/ramps/logos/banxa.png";
+import coinflow from "../../../assets/ramps/logos/coinflow.png";
+import coinify from "../../../assets/ramps/logos/coinify.png";
+import kado from "../../../assets/ramps/logos/kado.png";
+import luno from "../../../assets/ramps/logos/luno.png";
+import mercuryo from "../../../assets/ramps/logos/mercuryo.png";
+import mesonetwork from "../../../assets/ramps/logos/meso.png";
+import moonpay from "../../../assets/ramps/logos/moonpay.png";
+import onmeta from "../../../assets/ramps/logos/onmeta.png";
+import onramp from "../../../assets/ramps/logos/onramp.png";
+import payfura from "../../../assets/ramps/logos/payfura.png";
+import saber from "../../../assets/ramps/logos/saber.png";
+import scalex from "../../../assets/ramps/logos/scalex.png";
+import stripe from "../../../assets/ramps/logos/stripe.png";
+import transak from "../../../assets/ramps/logos/transak.png";
+import transfero from "../../../assets/ramps/logos/transfero.png";
+import transfi from "../../../assets/ramps/logos/transfi.png";
+import unlimit from "../../../assets/ramps/logos/unlimit.png";
+import utorg from "../../../assets/ramps/logos/untorg.png";
+import paybis from "../../../assets/ramps/logos/paybis.png";
+import topper from "../../../assets/ramps/logos/topper.png";
+import sphere from "../../../assets/ramps/logos/sphere.png";
+import stables from "../../../assets/ramps/logos/stables.png";
+
+export const rampData = [
+ {
+ id: "mercuryo",
+ fields: {
+ RampName: "Mercuryo",
+ WebsiteUrl: "https://mercuryo.io",
+ RampLogo: mercuryo,
+ PaymentRails: [
+ "apple-pay",
+ "google-pay",
+ "mastercard",
+ "pix",
+ "sepa",
+ "visa",
+ ],
+ FiatAssets: [
+ "AUD",
+ "BGN",
+ "BRL",
+ "CAD",
+ "CHF",
+ "COP",
+ "CZK",
+ "DKK",
+ "DOP",
+ "EUR",
+ "GBP",
+ "GHS",
+ "HKD",
+ "HUF",
+ "ILS",
+ "ISK",
+ "JOD",
+ "JPY",
+ "KRW",
+ "KZT",
+ "LKR",
+ "MXN",
+ "NZD",
+ "PEN",
+ "PLN",
+ "QAR",
+ "RON",
+ "SEK",
+ "THB",
+ "TRY",
+ "TWD",
+ "USD",
+ "UYU",
+ "VND",
+ ],
+ Countries: [
+ "aland-islands",
+ "albania",
+ "american-samoa",
+ "andorra",
+ "antigua-and-barbuda",
+ "argentina",
+ "armenia",
+ "aruba",
+ "australia",
+ "azerbaijan",
+ "bahamas",
+ "bahrain",
+ "belarus",
+ "belgium",
+ "belize",
+ "benin",
+ "bermuda",
+ "bhutan",
+ "bosnia-and-herzegovina",
+ "botswana",
+ "brazil",
+ "british-virgin-islands",
+ "brunei",
+ "bulgaria",
+ "burkina-faso",
+ "cabo-verde",
+ "cameroon",
+ "canada",
+ "cayman-islands",
+ "chad",
+ "chile",
+ "christmas-island",
+ "cocos-keeling-islands",
+ "comoros",
+ "cook-islands",
+ "croatia",
+ "curacao",
+ "cyprus",
+ "czech-republic",
+ "denmark",
+ "djibouti",
+ "dominica",
+ "dominican-republic",
+ "east-timor",
+ "egypt",
+ "el-salvador",
+ "equatorial-guinea",
+ "eritrea",
+ "estonia",
+ "eswatini",
+ "ethiopia",
+ "european-union",
+ "falkland-islands",
+ "faroe-islands",
+ "fiji",
+ "finland",
+ "france",
+ "gabon",
+ "gambia",
+ "georgia",
+ "germany",
+ "ghana",
+ "greece",
+ "greenland",
+ "grenada",
+ "guadeloupe",
+ "guam",
+ "guinea",
+ "guyana",
+ "hong-kong",
+ "hungary",
+ "india",
+ "indonesia",
+ "ireland",
+ "israel",
+ "italy",
+ "ivory-coast",
+ "jamaica",
+ "japan",
+ "jordan",
+ "kazakhstan",
+ "kenya",
+ "kiribati",
+ "kosovo",
+ "kuwait",
+ "laos",
+ "latvia",
+ "lesotho",
+ "liechtenstein",
+ "lithuania",
+ "luxembourg",
+ "macau",
+ "madagascar",
+ "malawi",
+ "malaysia",
+ "maldives",
+ "malta",
+ "marshall-islands",
+ "martinique",
+ "mauritania",
+ "mauritius",
+ "mayotte",
+ "mexico",
+ "micronesia",
+ "moldova",
+ "monaco",
+ "mongolia",
+ "montenegro",
+ "mozambique",
+ "nauru",
+ "netherlands",
+ "new-zealand",
+ "niger",
+ "nigeria",
+ "niue",
+ "norfolk-islands",
+ "north-macedonia",
+ "northern-mariana-islands",
+ "norway",
+ "palau",
+ "paraguay",
+ "philippines",
+ "pitcairn",
+ "poland",
+ "portugal",
+ "puerto-rico",
+ "saint-barthelemy",
+ "saint-kitts",
+ "saint-lucia",
+ "saint-martin",
+ "saint-pierre-and-miquelon",
+ "saint-vincent",
+ "samoa",
+ "san-marino",
+ "sao-tome-and-principe",
+ "senegal",
+ "serbia",
+ "seychelles",
+ "singapore",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "south-africa",
+ "south-korea",
+ "spain",
+ "sri-lanka",
+ "suriname",
+ "svalbard-and-jan-mayen",
+ "sweden",
+ "switzerland",
+ "taiwan",
+ "tajikistan",
+ "tanzania",
+ "thailand",
+ "togo",
+ "tokelau",
+ "tonga",
+ "trinidad-and-tobago",
+ "turkey",
+ "turkmenistan",
+ "turks-and-caicos",
+ "tuvalu",
+ "us-virgin-islands",
+ "uganda",
+ "ukraine",
+ "united-arab-emirates",
+ "united-kingdom",
+ "united-states",
+ "uruguay",
+ "uzbekistan",
+ "vanuatu",
+ "vatican-city",
+ "vietnam",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "paybis",
+ fields: {
+ RampName: "Paybis",
+ WebsiteUrl: "https://paybis.com/",
+ RampLogo: paybis,
+ PaymentRails: [
+ "apple-pay",
+ "astropay",
+ "cards-international",
+ "fpx",
+ "google-pay",
+ "grab-pay",
+ "neteller",
+ "pix",
+ "sepa",
+ "skrill",
+ "spei",
+ ],
+ FiatAssets: [
+ "AED",
+ "AUD",
+ "AZN",
+ "CRC",
+ "CZK",
+ "DKK",
+ "DOP",
+ "DZD",
+ "EUR",
+ "GBP",
+ "GEL",
+ "HUF",
+ "IDR",
+ "ILS",
+ "INR",
+ "KWD",
+ "MAD",
+ "MXN",
+ "MYR",
+ "NOK",
+ "PEN",
+ "PHP",
+ "PLN",
+ "RON",
+ "SAR",
+ "SEK",
+ "SGD",
+ "THB",
+ "TND",
+ "TRY",
+ "UAH",
+ "USD",
+ "VND",
+ "XAF",
+ "ZAR",
+ ],
+ Countries: [
+ "aland-islands",
+ "albania",
+ "algeria",
+ "american-samoa",
+ "andorra",
+ "angola",
+ "antigua-and-barbuda",
+ "argentina",
+ "armenia",
+ "aruba",
+ "australia",
+ "austria",
+ "azerbaijan",
+ "bahamas",
+ "bahrain",
+ "belgium",
+ "belize",
+ "benin",
+ "bermuda",
+ "bhutan",
+ "bosnia-and-herzegovina",
+ "botswana",
+ "brazil",
+ "british-virgin-islands",
+ "brunei",
+ "bulgaria",
+ "burundi",
+ "cabo-verde",
+ "cambodia",
+ "cameroon",
+ "canada",
+ "cayman-islands",
+ "chad",
+ "chile",
+ "christmas-island",
+ "cocos-keeling-islands",
+ "colombia",
+ "comoros",
+ "cook-islands",
+ "costa-rica",
+ "croatia",
+ "curacao",
+ "cyprus",
+ "czech-republic",
+ "denmark",
+ "djibouti",
+ "dominica",
+ "dominican-republic",
+ "east-timor",
+ "ecuador",
+ "egypt",
+ "el-salvador",
+ "equatorial-guinea",
+ "eritrea",
+ "estonia",
+ "eswatini",
+ "ethiopia",
+ "european-union",
+ "falkland-islands",
+ "faroe-islands",
+ "fiji",
+ "finland",
+ "france",
+ "french-guyana",
+ "gabon",
+ "gambia",
+ "georgia",
+ "germany",
+ "ghana",
+ "greece",
+ "greenland",
+ "grenada",
+ "guadeloupe",
+ "guam",
+ "guatemala",
+ "guinea",
+ "guinea-bissau",
+ "guyana",
+ "honduras",
+ "hong-kong",
+ "hungary",
+ "india",
+ "indonesia",
+ "ireland",
+ "israel",
+ "italy",
+ "ivory-coast",
+ "jordan",
+ "kazakhstan",
+ "kenya",
+ "kiribati",
+ "kuwait",
+ "kyrgyzstan",
+ "laos",
+ "latvia",
+ "lesotho",
+ "liechtenstein",
+ "lithuania",
+ "luxembourg",
+ "madagascar",
+ "malawi",
+ "maldives",
+ "marshall-islands",
+ "martinique",
+ "mauritania",
+ "mauritius",
+ "mayotte",
+ "mexico",
+ "micronesia",
+ "moldova",
+ "monaco",
+ "montenegro",
+ "mozambique",
+ "nauru",
+ "nepal",
+ "netherlands",
+ "new-zealand",
+ "niger",
+ "nigeria",
+ "niue",
+ "norfolk-islands",
+ "north-macedonia",
+ "northern-mariana-islands",
+ "norway",
+ "oman",
+ "palau",
+ "papua-new-guinea",
+ "paraguay",
+ "peru",
+ "philippines",
+ "pitcairn",
+ "poland",
+ "portugal",
+ "puerto-rico",
+ "qatar",
+ "reunion",
+ "romania",
+ "rwanda",
+ "saint-barthelemy",
+ "saint-kitts",
+ "saint-lucia",
+ "saint-martin",
+ "saint-pierre-and-miquelon",
+ "saint-vincent",
+ "samoa",
+ "san-marino",
+ "sao-tome-and-principe",
+ "serbia",
+ "seychelles",
+ "sierra-leone",
+ "singapore",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "somalia",
+ "south-africa",
+ "spain",
+ "sri-lanka",
+ "suriname",
+ "svalbard-and-jan-mayen",
+ "sweden",
+ "switzerland",
+ "taiwan",
+ "tanzania",
+ "thailand",
+ "trinidad-and-tobago",
+ "tunisia",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "meso-network",
+ fields: {
+ RampName: "Meso Network",
+ WebsiteUrl: "https://developers.meso.network/",
+ RampLogo: mesonetwork,
+ PaymentRails: ["debit"],
+ FiatAssets: ["USD"],
+ Countries: ["united-states"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "stables",
+ fields: {
+ RampName: "Stables",
+ WebsiteUrl: "https://stables.money/",
+ RampLogo: stables,
+ PaymentRails: ["ach", "mastercard", "rtp", "sepa", "visa", "wires"],
+ FiatAssets: [
+ "AED",
+ "ARS",
+ "AUD",
+ "BGN",
+ "BRL",
+ "BWP",
+ "BYN",
+ "CAD",
+ "CHF",
+ "CLP",
+ "COP",
+ "CZK",
+ "DKK",
+ "EUR",
+ "HKD",
+ "HUF",
+ "IDR",
+ "ILS",
+ "JPY",
+ "KES",
+ "KRW",
+ "MXN",
+ "NGN",
+ "NOK",
+ "NZD",
+ "PEN",
+ "PHP",
+ "PLN",
+ "RON",
+ "RWF",
+ "SAR",
+ "SEK",
+ "SGD",
+ "THB",
+ "TRY",
+ "TZS",
+ "UAH",
+ "UGX",
+ "USD",
+ "UYU",
+ "UZS",
+ "XAF",
+ "XOF",
+ "ZAR",
+ "ZMW",
+ ],
+ Countries: [
+ "algeria",
+ "anguilla",
+ "antigua-and-barbuda",
+ "argentina",
+ "armenia",
+ "australia",
+ "austria",
+ "azerbaijan",
+ "bahamas",
+ "bahrain",
+ "belarus",
+ "belgium",
+ "belize",
+ "benin",
+ "bermuda",
+ "bolivia",
+ "bosnia-and-herzegovina",
+ "botswana",
+ "brazil",
+ "british-virgin-islands",
+ "brunei",
+ "bulgaria",
+ "burkina-faso",
+ "cambodia",
+ "cameroon",
+ "canada",
+ "cape-verde",
+ "chad",
+ "chile",
+ "colombia",
+ "congo",
+ "costa-rica",
+ "croatia",
+ "cyprus",
+ "czech-republic",
+ "cote-divoire",
+ "denmark",
+ "dominica",
+ "dominican-republic",
+ "ecuador",
+ "egypt",
+ "el-salvador",
+ "estonia",
+ "fiji",
+ "finland",
+ "france",
+ "gabon",
+ "gambia",
+ "georgia",
+ "germany",
+ "ghana",
+ "greece",
+ "grenada",
+ "guatemala",
+ "guyana",
+ "honduras",
+ "hong-kong",
+ "hungary",
+ "iceland",
+ "india",
+ "indonesia",
+ "ireland",
+ "israel",
+ "italy",
+ "jamaica",
+ "japan",
+ "kenya",
+ "korea",
+ "kosovo",
+ "kuwait",
+ "laos",
+ "latvia",
+ "lithuania",
+ "luxembourg",
+ "macau",
+ "malaysia",
+ "maldives",
+ "malta",
+ "mauritius",
+ "mexico",
+ "micronesia",
+ "moldova",
+ "mongolia",
+ "montenegro",
+ "montserrat",
+ "namibia",
+ "nauru",
+ "nepal",
+ "netherlands",
+ "new-zealand",
+ "nigeria",
+ "north-macedonia",
+ "norway",
+ "pakistan",
+ "palau",
+ "papua-new-guinea",
+ "paraguay",
+ "peru",
+ "philippines",
+ "poland",
+ "portugal",
+ "qatar",
+ "romania",
+ "rwanda",
+ "senegal",
+ "serbia",
+ "seychelles",
+ "sierra-leone",
+ "singapore",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "somalia",
+ "south-africa",
+ "spain",
+ "sri-lanka",
+ "saint-kitts",
+ "saint-lucia",
+ "saint-vincent",
+ "suriname",
+ "sweden",
+ "switzerland",
+ "sao-tome-and-principe",
+ "taiwan",
+ "tanzania",
+ "thailand",
+ "trinidad-and-tobago",
+ "tunisia",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "alchemy-pay",
+ fields: {
+ RampName: "AlchemyPay",
+ WebsiteUrl: "https://alchemypay.org/",
+ RampLogo: alchemyPayLogo,
+ PaymentRails: ["bank-transfer", "sepa"],
+ FiatAssets: ["ARS", "EUR", "USD"],
+ Countries: ["france", "germany", "united-states"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "utorg",
+ fields: {
+ RampName: "Utorg",
+ WebsiteUrl: "https://utorg.pro/",
+ RampLogo: utorg,
+ PaymentRails: ["mastercard", "visa"],
+ FiatAssets: ["TWD", "USD"],
+ Countries: ["taiwan"],
+ RampStatusOn: true,
+ RampStatusOff: false,
+ },
+ },
+ {
+ id: "onmeta",
+ fields: {
+ RampName: "Onmeta",
+ WebsiteUrl: "https://onmeta.in/",
+ RampLogo: onmeta,
+ PaymentRails: [],
+ FiatAssets: ["INR"],
+ Countries: ["india"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "transfero",
+ fields: {
+ RampName: "Transfero",
+ WebsiteUrl: "https://transfero.com/",
+ RampLogo: transfero,
+ PaymentRails: ["pix"],
+ FiatAssets: ["BRL"],
+ Countries: ["brazil", "mexico"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "topper",
+ fields: {
+ RampName: "Topper",
+ WebsiteUrl: "https://www.topperpay.com/",
+ RampLogo: topper,
+ PaymentRails: ["apple-pay", "credit", "debit", "google-pay", "pix"],
+ FiatAssets: [
+ "AED",
+ "ARS",
+ "AUD",
+ "BRL",
+ "CAD",
+ "CHF",
+ "CNY",
+ "CZK",
+ "DKK",
+ "EUR",
+ "GBP",
+ "HKD",
+ "HUF",
+ "ILS",
+ "INR",
+ "JPY",
+ "KES",
+ "MXN",
+ "NOK",
+ "NZD",
+ "PHP",
+ "PLN",
+ "RON",
+ "SEK",
+ "SGD",
+ "USD",
+ ],
+ Countries: [
+ "andorra",
+ "antigua-and-barbuda",
+ "argentina",
+ "australia",
+ "austria",
+ "bahamas",
+ "bahrain",
+ "belgium",
+ "belize",
+ "bermuda",
+ "bhutan",
+ "bolivia",
+ "bonaire",
+ "botswana",
+ "brazil",
+ "british-indian-ocean-territory",
+ "brunei",
+ "bulgaria",
+ "cabo-verde",
+ "cameroon",
+ "canada",
+ "cayman-islands",
+ "chile",
+ "christmas-island",
+ "cocos-keeling-islands",
+ "colombia",
+ "comoros",
+ "cook-islands",
+ "costa-rica",
+ "croatia",
+ "curacao",
+ "cyprus",
+ "czech-republic",
+ "democratic-republic",
+ "denmark",
+ "djibouti",
+ "dominican-republic",
+ "el-salvador",
+ "estonia",
+ "falkland-islands",
+ "faroe-islands",
+ "finland",
+ "france",
+ "french-guiana",
+ "french-polynesia",
+ "gabon",
+ "gambia",
+ "greece",
+ "greenland",
+ "grenada",
+ "guadeloupe",
+ "guam",
+ "guatemala",
+ "guernsey",
+ "guyana",
+ "honduras",
+ "hong-kong",
+ "hungary",
+ "iceland",
+ "india",
+ "indonesia",
+ "ireland",
+ "isle-of-man",
+ "israel",
+ "italy",
+ "japan",
+ "jersey",
+ "kenya",
+ "kiribati",
+ "kuwait",
+ "kyrgyzstan",
+ "laos",
+ "latvia",
+ "lesotho",
+ "liechtenstein",
+ "lithuania",
+ "luxembourg",
+ "macau",
+ "madagascar",
+ "malawi",
+ "malaysia",
+ "maldives",
+ "malta",
+ "marshall-islands",
+ "martinique",
+ "mauritius",
+ "mayotte",
+ "mexico",
+ "micronesia",
+ "monaco",
+ "montserrat",
+ "mozambique",
+ "namibia",
+ "nauru",
+ "new-caledonia",
+ "new-zealand",
+ "niger",
+ "niue",
+ "norfolk-island",
+ "north-macedonia",
+ "northern-mariana-islands",
+ "norway",
+ "oman",
+ "palestine",
+ "panama",
+ "papua-new-guinea",
+ "paraguay",
+ "peru",
+ "philippines",
+ "pitcairn",
+ "poland",
+ "portugal",
+ "puerto-rico",
+ "qatar",
+ "romania",
+ "rwanda",
+ "reunion",
+ "saint-barthelemy",
+ "saint-helena",
+ "saint-kitts",
+ "saint-lucia",
+ "saint-martin",
+ "saint-pierre-and-miquelon",
+ "saint-vincent",
+ "san-marino",
+ "sao-tome-and-principe",
+ "saudi-arabia",
+ "senegal",
+ "seychelles",
+ "sierra-leone",
+ "singapore",
+ "sint-eustatius-and-saba",
+ "sint-maarten",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "somalia",
+ "south-africa",
+ "south-georgia",
+ "south-korea",
+ "spain",
+ "suriname",
+ "svalbard-and-jan-mayen",
+ "swaziland",
+ "sweden",
+ "switzerland",
+ "taiwan",
+ "tajikistan",
+ "thailand",
+ "timor-leste",
+ "tokelau",
+ "tonga",
+ "turkey",
+ "turks-and-caicos",
+ "tuvalu",
+ "united-arab-emirates",
+ "united-kingdom",
+ "uruguay",
+ "british-virgin-islands",
+ "wallis-and-futuna",
+ "western-sahara",
+ "zambia",
+ "aland-islands",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: false,
+ },
+ },
+ {
+ id: "moonpay",
+ fields: {
+ RampName: "Moonpay",
+ WebsiteUrl: "https://www.moonpay.com/",
+ RampLogo: moonpay,
+ PaymentRails: [
+ "apple-pay",
+ "credit",
+ "debit",
+ "google-pay",
+ "pix",
+ "sepa",
+ "sepa-instant",
+ "uk-faster-payments",
+ ],
+ FiatAssets: [
+ "AUD",
+ "BGN",
+ "BRL",
+ "CAD",
+ "CHF",
+ "COP",
+ "CZK",
+ "DKK",
+ "DOP",
+ "EGP",
+ "EUR",
+ "GBP",
+ "HKD",
+ "IDR",
+ "ILS",
+ "JOD",
+ "KES",
+ "KWD",
+ "LKR",
+ "MXN",
+ "NGN",
+ "NOK",
+ "NZD",
+ "OMR",
+ "PEN",
+ "PLN",
+ "RON",
+ "SEK",
+ "THB",
+ "TRY",
+ "TWD",
+ "USD",
+ "VND",
+ "ZAR",
+ ],
+ Countries: [
+ "aland-islands",
+ "albania",
+ "algeria",
+ "american-samoa",
+ "andorra",
+ "angola",
+ "antigua-and-barbuda",
+ "argentina",
+ "armenia",
+ "aruba",
+ "australia",
+ "austria",
+ "azerbaijan",
+ "bahamas",
+ "bahrain",
+ "belgium",
+ "belize",
+ "benin",
+ "bermuda",
+ "bhutan",
+ "bosnia-and-herzegovina",
+ "botswana",
+ "brazil",
+ "british-virgin-islands",
+ "brunei",
+ "bulgaria",
+ "burundi",
+ "cabo-verde",
+ "cambodia",
+ "cameroon",
+ "canada",
+ "cayman-islands",
+ "chad",
+ "chile",
+ "christmas-island",
+ "cocos-keeling-islands",
+ "colombia",
+ "comoros",
+ "cook-islands",
+ "costa-rica",
+ "croatia",
+ "curacao",
+ "cyprus",
+ "czech-republic",
+ "denmark",
+ "djibouti",
+ "dominica",
+ "dominican-republic",
+ "east-timor",
+ "ecuador",
+ "egypt",
+ "el-salvador",
+ "equatorial-guinea",
+ "eritrea",
+ "estonia",
+ "eswatini",
+ "ethiopia",
+ "european-union",
+ "falkland-islands",
+ "faroe-islands",
+ "fiji",
+ "finland",
+ "france",
+ "french-guyana",
+ "gabon",
+ "gambia",
+ "georgia",
+ "germany",
+ "ghana",
+ "greece",
+ "greenland",
+ "grenada",
+ "guadeloupe",
+ "guam",
+ "guatemala",
+ "guinea",
+ "guinea-bissau",
+ "guyana",
+ "honduras",
+ "hong-kong",
+ "hungary",
+ "india",
+ "indonesia",
+ "ireland",
+ "israel",
+ "italy",
+ "ivory-coast",
+ "jordan",
+ "kazakhstan",
+ "kenya",
+ "kiribati",
+ "kuwait",
+ "kyrgyzstan",
+ "laos",
+ "latvia",
+ "lesotho",
+ "liechtenstein",
+ "lithuania",
+ "luxembourg",
+ "madagascar",
+ "malawi",
+ "maldives",
+ "marshall-islands",
+ "martinique",
+ "mauritania",
+ "mauritius",
+ "mayotte",
+ "mexico",
+ "micronesia",
+ "moldova",
+ "monaco",
+ "montenegro",
+ "mozambique",
+ "nauru",
+ "nepal",
+ "netherlands",
+ "new-zealand",
+ "niger",
+ "nigeria",
+ "niue",
+ "norfolk-islands",
+ "north-macedonia",
+ "northern-mariana-islands",
+ "norway",
+ "oman",
+ "palau",
+ "papua-new-guinea",
+ "paraguay",
+ "peru",
+ "philippines",
+ "pitcairn",
+ "poland",
+ "portugal",
+ "puerto-rico",
+ "qatar",
+ "reunion",
+ "romania",
+ "rwanda",
+ "saint-barthelemy",
+ "saint-kitts",
+ "saint-lucia",
+ "saint-martin",
+ "saint-pierre-and-miquelon",
+ "saint-vincent",
+ "samoa",
+ "san-marino",
+ "sao-tome-and-principe",
+ "serbia",
+ "seychelles",
+ "sierra-leone",
+ "singapore",
+ "sint-eustatius-and-saba",
+ "sint-maarten",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "somalia",
+ "south-africa",
+ "spain",
+ "sri-lanka",
+ "suriname",
+ "sweden",
+ "switzerland",
+ "taiwan",
+ "tanzania",
+ "thailand",
+ "trinidad-and-tobago",
+ "tunisia",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "onramp",
+ fields: {
+ RampName: "OnRamp",
+ WebsiteUrl: "https://onramp.money/",
+ RampLogo: onramp,
+ PaymentRails: ["bank-transfer", "upi", "vietqr"],
+ FiatAssets: ["INR", "TRY", "VND"],
+ Countries: ["india", "turkey", "vietnam"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "coinify",
+ fields: {
+ RampName: "Coinify",
+ WebsiteUrl: "https://help.coinify.com/",
+ RampLogo: coinify,
+ PaymentRails: ["mastercard", "visa"],
+ FiatAssets: ["USD"],
+ Countries: ["hong-kong", "lesotho", "qatar"],
+ RampStatusOn: true,
+ RampStatusOff: false,
+ },
+ },
+ {
+ id: "unlimit-crypto",
+ fields: {
+ RampName: "Unlimit Crypto",
+ WebsiteUrl: "https://www.crypto.unlimit.com/",
+ RampLogo: unlimit,
+ PaymentRails: ["bank-transfer", "boleto", "picpay", "pix"],
+ FiatAssets: ["BRL", "MXN"],
+ Countries: ["brazil", "mexico"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "stripe",
+ fields: {
+ RampName: "Stripe",
+ WebsiteUrl: "https://docs.stripe.com/crypto/overview",
+ RampLogo: stripe,
+ PaymentRails: ["ach", "apple-pay", "credit", "debit"],
+ FiatAssets: ["USD"],
+ Countries: ["united-states"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "saber-money",
+ fields: {
+ RampName: "Saber Money",
+ WebsiteUrl: "https://saber.money/",
+ RampLogo: saber,
+ PaymentRails: ["bank-transfer", "upi"],
+ FiatAssets: ["INR"],
+ Countries: ["india"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "transak",
+ fields: {
+ RampName: "Transak",
+ WebsiteUrl: "https://transak.com/",
+ RampLogo: transak,
+ PaymentRails: [
+ "apple-pay",
+ "astropay",
+ "faster-payments",
+ "gcash",
+ "google-pay",
+ "grab-pay",
+ "imps",
+ "kachi-shop",
+ "mastercard",
+ "ob",
+ "pagos-seguros",
+ "sepa",
+ "visa",
+ ],
+ FiatAssets: [
+ "AED",
+ "AMD",
+ "ANG",
+ "AOA",
+ "ARS",
+ "AUD",
+ "AZN",
+ "BAM",
+ "BHD",
+ "BMD",
+ "BND",
+ "BRL",
+ "BSD",
+ "BZD",
+ "CAD",
+ "CDF",
+ "CLP",
+ "COP",
+ "CRC",
+ "CVE",
+ "DJF",
+ "DKK",
+ "DOP",
+ "DZD",
+ "EUR",
+ "FJD",
+ "FKP",
+ "GEL",
+ "GTQ",
+ "HKD",
+ "HNL",
+ "HUF",
+ "IDR",
+ "ILS",
+ "INR",
+ "ISK",
+ "JOD",
+ "JPY",
+ "KES",
+ "KGS",
+ "KHR",
+ "KRW",
+ "KWD",
+ "KYD",
+ "KZT",
+ "MGA",
+ "MKD",
+ "MRU",
+ "MWK",
+ "MXN",
+ "MYR",
+ "NGN",
+ "NOK",
+ "NZD",
+ "OMR",
+ "PAB",
+ "PEN",
+ "PGK",
+ "PHP",
+ "PLN",
+ "RON",
+ "RSD",
+ "RWF",
+ "SBD",
+ "SCR",
+ "SEK",
+ "SGD",
+ "SRD",
+ "STN",
+ "SZL",
+ "TJS",
+ "TMT",
+ "TOP",
+ "TRY",
+ "TTD",
+ "TWD",
+ "USD",
+ "UYU",
+ "VND",
+ "XCD",
+ "XOF",
+ "ZAR",
+ ],
+ Countries: [
+ "aland-islands",
+ "algeria",
+ "american-samoa",
+ "andorra",
+ "angola",
+ "argentina",
+ "armenia",
+ "aruba",
+ "australia",
+ "azerbaijan",
+ "bahamas",
+ "bahrain",
+ "belgium",
+ "belize",
+ "benin",
+ "bermuda",
+ "bosnia-and-herzegovina",
+ "brazil",
+ "brunei",
+ "burkina-faso",
+ "cabo-verde",
+ "cambodia",
+ "canada",
+ "cayman-islands",
+ "chile",
+ "christmas-island",
+ "cocos-keeling-islands",
+ "colombia",
+ "comoros",
+ "cook-islands",
+ "costa-rica",
+ "croatia",
+ "curacao",
+ "cyprus",
+ "czech-republic",
+ "democratic-republic-of-congo",
+ "denmark",
+ "djibouti",
+ "dominica",
+ "dominican-republic",
+ "estonia",
+ "eswatini",
+ "falkland-islands",
+ "faroe-islands",
+ "fiji",
+ "finland",
+ "france",
+ "french-guyana",
+ "georgia",
+ "germany",
+ "greece",
+ "greenland",
+ "grenada",
+ "guadeloupe",
+ "guam",
+ "guatemala",
+ "honduras",
+ "hong-kong",
+ "hungary",
+ "iceland",
+ "india",
+ "indonesia",
+ "ireland",
+ "israel",
+ "italy",
+ "ivory-coast",
+ "japan",
+ "kazakhstan",
+ "kenya",
+ "kiribati",
+ "kuwait",
+ "kyrgyzstan",
+ "latvia",
+ "luxembourg",
+ "madagascar",
+ "malawi",
+ "malaysia",
+ "malta",
+ "martinique",
+ "mauritania",
+ "mayotte",
+ "mexico",
+ "moldova",
+ "montenegro",
+ "nauru",
+ "netherlands",
+ "new-zealand",
+ "niger",
+ "nigeria",
+ "niue",
+ "norfolk-islands",
+ "north-macedonia",
+ "northern-mariana-islands",
+ "norway",
+ "oman",
+ "palestine",
+ "panama",
+ "papua-new-guinea",
+ "paraguay",
+ "peru",
+ "philippines",
+ "pitcairn",
+ "poland",
+ "portugal",
+ "puerto-rico",
+ "reunion",
+ "romania",
+ "rwanda",
+ "saint-barthelemy",
+ "saint-kitts",
+ "saint-lucia",
+ "saint-martin",
+ "saint-pierre-and-miquelon",
+ "saint-vincent",
+ "samoa",
+ "sao-tome-and-principe",
+ "senegal",
+ "serbia",
+ "seychelles",
+ "singapore",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "south-africa",
+ "south-korea",
+ "spain",
+ "suriname",
+ "svalbard-and-jan-mayen",
+ "swaziland",
+ "sweden",
+ "switzerland",
+ "taiwan",
+ "tajikistan",
+ "tanzania",
+ "tokelau",
+ "tonga",
+ "trinidad-and-tobago",
+ "turkey",
+ "turkmenistan",
+ "turks-and-caicos",
+ "tuvalu",
+ "us-virgin-islands",
+ "united-arab-emirates",
+ "united-kingdom",
+ "uruguay",
+ "vatican-city",
+ "vietnam",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "banxa",
+ fields: {
+ RampName: "Banxa",
+ WebsiteUrl: "https://banxa.com/",
+ RampLogo: banxa,
+ PaymentRails: ["mastercard", "sar", "sepa", "visa"],
+ FiatAssets: ["EUR", "SOL", "USDC", "USDT"],
+ Countries: [
+ "bangladesh",
+ "egypt",
+ "france",
+ "germany",
+ "morocco",
+ "mozambique",
+ "sri-lanka",
+ "taiwan",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "kado",
+ fields: {
+ RampName: "Kado",
+ WebsiteUrl: "https://www.kado.money/",
+ RampLogo: kado,
+ PaymentRails: ["credit", "crypto", "debit", "fiat", "otc", "sepa"],
+ FiatAssets: ["VND"],
+ Countries: [
+ "albania",
+ "andorra",
+ "angola",
+ "antigua-and-barbuda",
+ "argentina",
+ "armenia",
+ "australia",
+ "austria",
+ "azerbaijan",
+ "bahamas",
+ "bahrain",
+ "barbados",
+ "belgium",
+ "belize",
+ "benin",
+ "bermuda",
+ "bhutan",
+ "bosnia-and-herzegovina",
+ "botswana",
+ "brazil",
+ "british-virgin-islands",
+ "brunei",
+ "bulgaria",
+ "burundi",
+ "cambodia",
+ "canada",
+ "cayman-islands",
+ "chad",
+ "chile",
+ "costa-rica",
+ "croatia",
+ "curacao",
+ "cyprus",
+ "czech-republic",
+ "cote-divoire",
+ "denmark",
+ "dominica",
+ "dominican-republic",
+ "ecuador",
+ "egypt",
+ "el-salvador",
+ "estonia",
+ "fiji",
+ "finland",
+ "france",
+ "gabon",
+ "gambia",
+ "georgia",
+ "germany",
+ "ghana",
+ "greece",
+ "grenada",
+ "guatemala",
+ "guyana",
+ "honduras",
+ "hong-kong",
+ "hungary",
+ "iceland",
+ "india",
+ "indonesia",
+ "ireland",
+ "israel",
+ "italy",
+ "jamaica",
+ "japan",
+ "jordan",
+ "kazakhstan",
+ "kiribati",
+ "kosovo",
+ "kuwait",
+ "kyrgyzstan",
+ "laos",
+ "liechtenstein",
+ "lithuania",
+ "luxembourg",
+ "madagascar",
+ "malawi",
+ "maldives",
+ "marshall-islands",
+ "martinique",
+ "mauritania",
+ "mauritius",
+ "mexico",
+ "micronesia",
+ "moldova",
+ "mongolia",
+ "montenegro",
+ "montserrat",
+ "namibia",
+ "nauru",
+ "nepal",
+ "netherlands",
+ "new-zealand",
+ "nicaragua",
+ "north-macedonia",
+ "norway",
+ "oman",
+ "palau",
+ "panama",
+ "papua-new-guinea",
+ "paraguay",
+ "peru",
+ "philippines",
+ "pitcairn",
+ "poland",
+ "portugal",
+ "romania",
+ "rwanda",
+ "senegal",
+ "serbia",
+ "seychelles",
+ "sierra-leone",
+ "singapore",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "somalia",
+ "south-africa",
+ "spain",
+ "sri-lanka",
+ "sudan",
+ "suriname",
+ "sweden",
+ "switzerland",
+ "sao-tome-and-principe",
+ "taiwan",
+ "tanzania",
+ "thailand",
+ "trinidad-and-tobago",
+ "tunisia",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: false,
+ },
+ },
+ {
+ id: "payfura",
+ fields: {
+ RampName: "Payfura",
+ WebsiteUrl: "https://payfura.com/",
+ RampLogo: payfura,
+ PaymentRails: [
+ "7-eleven",
+ "banco-do-brasil",
+ "oxxo",
+ "picpay",
+ "pix",
+ "spei",
+ ],
+ FiatAssets: ["BRL", "MXN"],
+ Countries: ["brazil", "mexico"],
+ RampStatusOn: false,
+ RampStatusOff: false,
+ },
+ },
+ {
+ id: "luno",
+ fields: {
+ RampName: "Luno",
+ WebsiteUrl: "https://www.luno.com/en",
+ RampLogo: luno,
+ PaymentRails: [],
+ FiatAssets: ["NGN"],
+ Countries: ["nigeria"],
+ RampStatusOn: false,
+ RampStatusOff: false,
+ },
+ },
+ {
+ id: "scalex",
+ fields: {
+ RampName: "Scalex",
+ WebsiteUrl: "https://www.scalex.africa/",
+ RampLogo: scalex,
+ PaymentRails: [],
+ FiatAssets: ["NGN"],
+ Countries: ["nigeria"],
+ RampStatusOn: false,
+ RampStatusOff: false,
+ },
+ },
+ {
+ id: "sphere",
+ fields: {
+ RampName: "Sphere",
+ WebsiteUrl: "https://spherepay.co/ramp",
+ RampLogo: sphere,
+ PaymentRails: ["ach", "sepa"],
+ FiatAssets: [
+ "AUD",
+ "BGN",
+ "BRL",
+ "CAD",
+ "CHF",
+ "COP",
+ "CZK",
+ "DKK",
+ "DOP",
+ "EUR",
+ "GBP",
+ "GHS",
+ "HKD",
+ "HUF",
+ "ILS",
+ "ISK",
+ "JOD",
+ "JPY",
+ "KRW",
+ "KZT",
+ "LKR",
+ "MXN",
+ "NZD",
+ "PEN",
+ "PLN",
+ "QAR",
+ "RON",
+ "SEK",
+ "THB",
+ "TRY",
+ "TWD",
+ "USD",
+ "UYU",
+ "VND",
+ ],
+ Countries: [
+ "aland-islands",
+ "algeria",
+ "american-samoa",
+ "andorra",
+ "angola",
+ "argentina",
+ "armenia",
+ "aruba",
+ "australia",
+ "azerbaijan",
+ "bahamas",
+ "bahrain",
+ "belarus",
+ "belgium",
+ "belize",
+ "benin",
+ "bermuda",
+ "bhutan",
+ "bosnia-and-herzegovina",
+ "botswana",
+ "brazil",
+ "british-virgin-islands",
+ "brunei",
+ "bulgaria",
+ "burkina-faso",
+ "cabo-verde",
+ "cambodia",
+ "canada",
+ "cayman-islands",
+ "chad",
+ "chile",
+ "christmas-island",
+ "cocos-keeling-islands",
+ "comoros",
+ "cook-islands",
+ "croatia",
+ "curacao",
+ "cyprus",
+ "czech-republic",
+ "denmark",
+ "djibouti",
+ "dominica",
+ "dominican-republic",
+ "east-timor",
+ "ecuador",
+ "egypt",
+ "el-salvador",
+ "equatorial-guinea",
+ "eritrea",
+ "estonia",
+ "eswatini",
+ "ethiopia",
+ "european-union",
+ "falkland-islands",
+ "faroe-islands",
+ "fiji",
+ "finland",
+ "france",
+ "french-guyana",
+ "gabon",
+ "gambia",
+ "georgia",
+ "germany",
+ "ghana",
+ "greece",
+ "greenland",
+ "grenada",
+ "guadeloupe",
+ "guam",
+ "guatemala",
+ "honduras",
+ "hong-kong",
+ "hungary",
+ "iceland",
+ "india",
+ "indonesia",
+ "ireland",
+ "israel",
+ "italy",
+ "ivory-coast",
+ "japan",
+ "kazakhstan",
+ "kenya",
+ "kiribati",
+ "kuwait",
+ "kyrgyzstan",
+ "laos",
+ "latvia",
+ "lesotho",
+ "liechtenstein",
+ "lithuania",
+ "luxembourg",
+ "madagascar",
+ "malawi",
+ "maldives",
+ "marshall-islands",
+ "martinique",
+ "mauritania",
+ "mauritius",
+ "mayotte",
+ "mexico",
+ "micronesia",
+ "moldova",
+ "monaco",
+ "montenegro",
+ "mozambique",
+ "nauru",
+ "nepal",
+ "new-caledonia",
+ "new-zealand",
+ "niger",
+ "niue",
+ "norfolk-island",
+ "north-macedonia",
+ "northern-mariana-islands",
+ "norway",
+ "oman",
+ "palestine",
+ "panama",
+ "papua-new-guinea",
+ "paraguay",
+ "peru",
+ "philippines",
+ "pitcairn",
+ "poland",
+ "portugal",
+ "puerto-rico",
+ "qatar",
+ "romania",
+ "rwanda",
+ "reunion",
+ "saint-barthelemy",
+ "saint-helena",
+ "saint-kitts",
+ "saint-lucia",
+ "saint-martin",
+ "saint-pierre-and-miquelon",
+ "saint-vincent",
+ "san-marino",
+ "sao-tome-and-principe",
+ "saudi-arabia",
+ "senegal",
+ "seychelles",
+ "sierra-leone",
+ "singapore",
+ "sint-eustatius-and-saba",
+ "sint-maarten",
+ "slovakia",
+ "slovenia",
+ "solomon-islands",
+ "somalia",
+ "south-africa",
+ "south-georgia",
+ "south-korea",
+ "spain",
+ "suriname",
+ "svalbard-and-jan-mayen",
+ "swaziland",
+ "sweden",
+ "switzerland",
+ "taiwan",
+ "tajikistan",
+ "thailand",
+ "timor-leste",
+ "tokelau",
+ "tonga",
+ "turkey",
+ "turks-and-caicos",
+ "tuvalu",
+ "united-arab-emirates",
+ "united-states",
+ "uruguay",
+ "british-virgin-islands",
+ "wallis-and-futuna",
+ "western-sahara",
+ "zambia",
+ "aland-islands",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "coinflow",
+ fields: {
+ RampName: "Coinflow",
+ WebsiteUrl: "https://coinflow.cash/",
+ RampLogo: coinflow,
+ PaymentRails: [
+ "ach",
+ "apple-pay",
+ "credit",
+ "debit",
+ "push-to-card",
+ "rtp",
+ "sepa",
+ "sepa-instant",
+ "wires",
+ ],
+ FiatAssets: ["CAD", "EUR", "GBP", "USD"],
+ Countries: [
+ "canada",
+ "european-union",
+ "united-kingdom",
+ "united-states",
+ ],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+ {
+ id: "transfi",
+ fields: {
+ RampName: "TransFi",
+ WebsiteUrl: "https://www.transfi.com/",
+ RampLogo: transfi,
+ PaymentRails: ["bank-transfer", "fpx", "mastercard", "vietqr", "visa"],
+ FiatAssets: ["NGN", "USD", "VND"],
+ Countries: ["dominican-republic", "nigeria", "vietnam"],
+ RampStatusOn: true,
+ RampStatusOff: true,
+ },
+ },
+];
+
+export const fiatAssets = [
+ { id: "AED", fields: { Name: "United Arab Emirates Dirham" } },
+ { id: "AMD", fields: { Name: "Armenian Dram" } },
+ { id: "ANG", fields: { Name: "Netherlands Antillean Guilder" } },
+ { id: "AOA", fields: { Name: "Angolan Kwanza" } },
+ { id: "ARS", fields: { Name: "Argentine Peso" } },
+ { id: "AUD", fields: { Name: "Australian Dollar" } },
+ { id: "AZN", fields: { Name: "Azerbaijani Manat" } },
+ { id: "BAM", fields: { Name: "Bosnia-Herzegovina Convertible Mark" } },
+ { id: "BGN", fields: { Name: "Bulgarian Lev" } },
+ { id: "BHD", fields: { Name: "Bahraini Dinar" } },
+ { id: "BMD", fields: { Name: "Bermudian Dollar" } },
+ { id: "BND", fields: { Name: "Brunei Dollar" } },
+ { id: "BRL", fields: { Name: "Brazilian Real" } },
+ { id: "BSD", fields: { Name: "Bahamian Dollar" } },
+ { id: "BWP", fields: { Name: "Botswanan Pula" } },
+ { id: "BYN", fields: { Name: "Belarusian Ruble" } },
+ { id: "BZD", fields: { Name: "Belize Dollar" } },
+ { id: "CAD", fields: { Name: "Canadian Dollar" } },
+ { id: "CDF", fields: { Name: "Congolese Franc" } },
+ { id: "CHF", fields: { Name: "Swiss Franc" } },
+ { id: "CLP", fields: { Name: "Chilean Peso" } },
+ { id: "CNY", fields: { Name: "Chinese Yuan" } },
+ { id: "COP", fields: { Name: "Colombian Peso" } },
+ { id: "CRC", fields: { Name: "Costa Rican Colón" } },
+ { id: "CVE", fields: { Name: "Cape Verdean Escudo" } },
+ { id: "CZK", fields: { Name: "Czech Koruna" } },
+ { id: "DJF", fields: { Name: "Djiboutian Franc" } },
+ { id: "DKK", fields: { Name: "Danish Krone" } },
+ { id: "DOP", fields: { Name: "Dominican Peso" } },
+ { id: "DZD", fields: { Name: "Algerian Dinar" } },
+ { id: "EGP", fields: { Name: "Egyptian Pound" } },
+ { id: "EUR", fields: { Name: "Euro" } },
+ { id: "FJD", fields: { Name: "Fijian Dollar" } },
+ { id: "FKP", fields: { Name: "Falkland Islands Pound" } },
+ { id: "GBP", fields: { Name: "British Pound Sterling" } },
+ { id: "GEL", fields: { Name: "Georgian Lari" } },
+ { id: "GHS", fields: { Name: "Ghanaian Cedi" } },
+ { id: "GTQ", fields: { Name: "Guatemalan Quetzal" } },
+ { id: "HKD", fields: { Name: "Hong Kong Dollar" } },
+ { id: "HNL", fields: { Name: "Honduran Lempira" } },
+ { id: "HUF", fields: { Name: "Hungarian Forint" } },
+ { id: "IDR", fields: { Name: "Indonesian Rupiah" } },
+ { id: "ILS", fields: { Name: "Israeli New Shekel" } },
+ { id: "INR", fields: { Name: "Indian Rupee" } },
+ { id: "ISK", fields: { Name: "Icelandic Króna" } },
+ { id: "JOD", fields: { Name: "Jordanian Dinar" } },
+ { id: "JPY", fields: { Name: "Japanese Yen" } },
+ { id: "KES", fields: { Name: "Kenyan Shilling" } },
+ { id: "KGS", fields: { Name: "Kyrgystani Som" } },
+ { id: "KHR", fields: { Name: "Cambodian Riel" } },
+ { id: "KRW", fields: { Name: "South Korean Won" } },
+ { id: "KWD", fields: { Name: "Kuwaiti Dinar" } },
+ { id: "KYD", fields: { Name: "Cayman Islands Dollar" } },
+ { id: "KZT", fields: { Name: "Kazakhstani Tenge" } },
+ { id: "LKR", fields: { Name: "Sri Lankan Rupee" } },
+ { id: "MAD", fields: { Name: "Moroccan Dirham" } },
+ { id: "MGA", fields: { Name: "Malagasy Ariary" } },
+ { id: "MKD", fields: { Name: "Macedonian Denar" } },
+ { id: "MRU", fields: { Name: "Mauritanian Ouguiya" } },
+ { id: "MWK", fields: { Name: "Malawian Kwacha" } },
+ { id: "MXN", fields: { Name: "Mexican Peso" } },
+ { id: "MYR", fields: { Name: "Malaysian Ringgit" } },
+ { id: "NGN", fields: { Name: "Nigerian Naira" } },
+ { id: "NOK", fields: { Name: "Norwegian Krone" } },
+ { id: "NZD", fields: { Name: "New Zealand Dollar" } },
+ { id: "OMR", fields: { Name: "Omani Rial" } },
+ { id: "PAB", fields: { Name: "Panamanian Balboa" } },
+ { id: "PEN", fields: { Name: "Peruvian Sol" } },
+ { id: "PGK", fields: { Name: "Papua New Guinean Kina" } },
+ { id: "PHP", fields: { Name: "Philippine Peso" } },
+ { id: "PLN", fields: { Name: "Polish Złoty" } },
+ { id: "QAR", fields: { Name: "Qatari Riyal" } },
+ { id: "RON", fields: { Name: "Romanian Leu" } },
+ { id: "RSD", fields: { Name: "Serbian Dinar" } },
+ { id: "RWF", fields: { Name: "Rwandan Franc" } },
+ { id: "SAR", fields: { Name: "Saudi Riyal" } },
+ { id: "SBD", fields: { Name: "Solomon Islands Dollar" } },
+ { id: "SCR", fields: { Name: "Seychellois Rupee" } },
+ { id: "SEK", fields: { Name: "Swedish Krona" } },
+ { id: "SGD", fields: { Name: "Singapore Dollar" } },
+ { id: "SOL", fields: { Name: "Solana" } },
+ { id: "SRD", fields: { Name: "Surinamese Dollar" } },
+ { id: "STN", fields: { Name: "São Tomé and Príncipe Dobra" } },
+ { id: "SZL", fields: { Name: "Swazi Lilangeni" } },
+ { id: "THB", fields: { Name: "Thai Baht" } },
+ { id: "TJS", fields: { Name: "Tajikistani Somoni" } },
+ { id: "TMT", fields: { Name: "Turkmenistani Manat" } },
+ { id: "TND", fields: { Name: "Tunisian Dinar" } },
+ { id: "TOP", fields: { Name: "Tongan Paʻanga" } },
+ { id: "TRY", fields: { Name: "Turkish Lira" } },
+ { id: "TTD", fields: { Name: "Trinidad and Tobago Dollar" } },
+ { id: "TWD", fields: { Name: "New Taiwan Dollar" } },
+ { id: "TZS", fields: { Name: "Tanzanian Shilling" } },
+ { id: "UAH", fields: { Name: "Ukrainian Hryvnia" } },
+ { id: "UGX", fields: { Name: "Ugandan Shilling" } },
+ { id: "USD", fields: { Name: "US Dollar" } },
+ { id: "USDC", fields: { Name: "USD Coin" } },
+ { id: "USDT", fields: { Name: "Tether" } },
+ { id: "UYU", fields: { Name: "Uruguayan Peso" } },
+ { id: "UZS", fields: { Name: "Uzbekistani Som" } },
+ { id: "VND", fields: { Name: "Vietnamese Dong" } },
+ { id: "XAF", fields: { Name: "Central African CFA Franc" } },
+ { id: "XCD", fields: { Name: "East Caribbean Dollar" } },
+ { id: "XOF", fields: { Name: "West African CFA Franc" } },
+ { id: "ZAR", fields: { Name: "South African Rand" } },
+ { id: "ZMW", fields: { Name: "Zambian Kwacha" } },
+];
+
+export const countries = [
+ { id: "andorra", fields: { Name: "Andorra" } },
+ { id: "argentina", fields: { Name: "Argentina" } },
+ { id: "australia", fields: { Name: "Australia" } },
+ { id: "austria", fields: { Name: "Austria" } },
+ { id: "bangladesh", fields: { Name: "Bangladesh" } },
+ { id: "belgium", fields: { Name: "Belgium" } },
+ { id: "brazil", fields: { Name: "Brazil" } },
+ { id: "brunei", fields: { Name: "Brunei" } },
+ { id: "bulgaria", fields: { Name: "Bulgaria" } },
+ { id: "cambodia", fields: { Name: "Cambodia" } },
+ { id: "canada", fields: { Name: "Canada" } },
+ { id: "chile", fields: { Name: "Chile" } },
+ { id: "china", fields: { Name: "China" } },
+ { id: "colombia", fields: { Name: "Colombia" } },
+ { id: "croatia", fields: { Name: "Croatia" } },
+ { id: "cyprus", fields: { Name: "Cyprus" } },
+ { id: "czech-republic", fields: { Name: "Czech Republic" } },
+ { id: "denmark", fields: { Name: "Denmark" } },
+ { id: "egypt", fields: { Name: "Egypt" } },
+ { id: "estonia", fields: { Name: "Estonia" } },
+ { id: "european-union", fields: { Name: "European Union" } },
+ { id: "fiji", fields: { Name: "Fiji" } },
+ { id: "finland", fields: { Name: "Finland" } },
+ { id: "france", fields: { Name: "France" } },
+ { id: "germany", fields: { Name: "Germany" } },
+ { id: "ghana", fields: { Name: "Ghana" } },
+ { id: "greece", fields: { Name: "Greece" } },
+ { id: "hong-kong", fields: { Name: "Hong Kong" } },
+ { id: "hungary", fields: { Name: "Hungary" } },
+ { id: "iceland", fields: { Name: "Iceland" } },
+ { id: "india", fields: { Name: "India" } },
+ { id: "indonesia", fields: { Name: "Indonesia" } },
+ { id: "ireland", fields: { Name: "Ireland" } },
+ { id: "italy", fields: { Name: "Italy" } },
+ { id: "japan", fields: { Name: "Japan" } },
+ { id: "kenya", fields: { Name: "Kenya" } },
+ { id: "laos", fields: { Name: "Laos" } },
+ { id: "latvia", fields: { Name: "Latvia" } },
+ { id: "liechtenstein", fields: { Name: "Liechtenstein" } },
+ { id: "lithuania", fields: { Name: "Lithuania" } },
+ { id: "luxembourg", fields: { Name: "Luxembourg" } },
+ { id: "malaysia", fields: { Name: "Malaysia" } },
+ { id: "malta", fields: { Name: "Malta" } },
+ { id: "mexico", fields: { Name: "Mexico" } },
+ { id: "monaco", fields: { Name: "Monaco" } },
+ { id: "morocco", fields: { Name: "Morocco" } },
+ { id: "myanmar", fields: { Name: "Myanmar" } },
+ { id: "nepal", fields: { Name: "Nepal" } },
+ { id: "netherlands", fields: { Name: "Netherlands" } },
+ { id: "new-zealand", fields: { Name: "New Zealand" } },
+ { id: "nigeria", fields: { Name: "Nigeria" } },
+ { id: "norway", fields: { Name: "Norway" } },
+ { id: "pakistan", fields: { Name: "Pakistan" } },
+ { id: "papua-new-guinea", fields: { Name: "Papua New Guinea" } },
+ { id: "peru", fields: { Name: "Peru" } },
+ { id: "philippines", fields: { Name: "Philippines" } },
+ { id: "poland", fields: { Name: "Poland" } },
+ { id: "portugal", fields: { Name: "Portugal" } },
+ { id: "qatar", fields: { Name: "Qatar" } },
+ { id: "romania", fields: { Name: "Romania" } },
+ { id: "saint-kitts", fields: { Name: "Saint Kitts" } },
+ { id: "saint-lucia", fields: { Name: "Saint Lucia" } },
+ { id: "saint-vincent", fields: { Name: "Saint Vincent" } },
+ { id: "samoa", fields: { Name: "Samoa" } },
+ { id: "san-marino", fields: { Name: "San Marino" } },
+ { id: "saudi-arabia", fields: { Name: "Saudi Arabia" } },
+ { id: "senegal", fields: { Name: "Senegal" } },
+ { id: "seychelles", fields: { Name: "Seychelles" } },
+ { id: "sierra-leone", fields: { Name: "Sierra Leone" } },
+ { id: "singapore", fields: { Name: "Singapore" } },
+ { id: "slovakia", fields: { Name: "Slovakia" } },
+ { id: "slovenia", fields: { Name: "Slovenia" } },
+ { id: "solomon-islands", fields: { Name: "Solomon Islands" } },
+ { id: "somalia", fields: { Name: "Somalia" } },
+ { id: "south-africa", fields: { Name: "South Africa" } },
+ { id: "south-korea", fields: { Name: "South Korea" } },
+ { id: "spain", fields: { Name: "Spain" } },
+ { id: "sri-lanka", fields: { Name: "Sri Lanka" } },
+ { id: "sudan", fields: { Name: "Sudan" } },
+ { id: "suriname", fields: { Name: "Suriname" } },
+ { id: "sweden", fields: { Name: "Sweden" } },
+ { id: "switzerland", fields: { Name: "Switzerland" } },
+ { id: "sao-tome-and-principe", fields: { Name: "São Tomé and Príncipe" } },
+ { id: "taiwan", fields: { Name: "Taiwan" } },
+ { id: "tanzania", fields: { Name: "Tanzania" } },
+ { id: "thailand", fields: { Name: "Thailand" } },
+ { id: "timor-leste", fields: { Name: "Timor-Leste" } },
+ { id: "togo", fields: { Name: "Togo" } },
+ { id: "trinidad-and-tobago", fields: { Name: "Trinidad and Tobago" } },
+ { id: "tunisia", fields: { Name: "Tunisia" } },
+ { id: "turks-and-caicos", fields: { Name: "Turks and Caicos" } },
+ { id: "ukraine", fields: { Name: "Ukraine" } },
+ { id: "united-arab-emirates", fields: { Name: "United Arab Emirates" } },
+ { id: "united-kingdom", fields: { Name: "United Kingdom" } },
+ { id: "united-states", fields: { Name: "United States" } },
+ { id: "uruguay", fields: { Name: "Uruguay" } },
+ { id: "uzbekistan", fields: { Name: "Uzbekistan" } },
+ { id: "vanuatu", fields: { Name: "Vanuatu" } },
+ { id: "vatican-city", fields: { Name: "Vatican City" } },
+ { id: "vietnam", fields: { Name: "Vietnam" } },
+ { id: "virgin-islands", fields: { Name: "Virgin Islands" } },
+ { id: "wallis-and-futuna", fields: { Name: "Wallis and Futuna" } },
+ { id: "aland-islands", fields: { Name: "Åland Islands" } },
+ { id: "american-samoa", fields: { Name: "American Samoa" } },
+ {
+ id: "british-indian-ocean-territory",
+ fields: { Name: "British Indian Ocean Territory" },
+ },
+ { id: "cocos-keeling-islands", fields: { Name: "Cocos (Keeling) Islands" } },
+ { id: "french-guyana", fields: { Name: "French Guiana" } },
+ {
+ id: "sint-eustatius-and-saba",
+ fields: { Name: "Sint Eustatius and Saba" },
+ },
+ { id: "sint-maarten", fields: { Name: "Sint Maarten" } },
+ { id: "western-sahara", fields: { Name: "Western Sahara" } },
+ {
+ id: "democratic-republic-of-congo",
+ fields: { Name: "Democratic Republic of the Congo" },
+ },
+ { id: "cote-divoire", fields: { Name: "Côte d'Ivoire" } },
+ { id: "bonaire", fields: { Name: "Bonaire" } },
+ { id: "french-polynesia", fields: { Name: "French Polynesia" } },
+ { id: "guernsey", fields: { Name: "Guernsey" } },
+ { id: "isle-of-man", fields: { Name: "Isle of Man" } },
+ { id: "jersey", fields: { Name: "Jersey" } },
+ { id: "new-caledonia", fields: { Name: "New Caledonia" } },
+ { id: "saint-helena", fields: { Name: "Saint Helena" } },
+ { id: "south-georgia", fields: { Name: "South Georgia" } },
+];
+
+export const paymentRails = [
+ { id: "7-eleven", fields: { Name: "7 Eleven" } },
+ { id: "ach", fields: { Name: "ACH" } },
+ { id: "apple-pay", fields: { Name: "Apple Pay" } },
+ { id: "astropay", fields: { Name: "AstroPay" } },
+ { id: "banco-do-brasil", fields: { Name: "Banco Do Brasil" } },
+ { id: "bank-transfer", fields: { Name: "Bank Transfer" } },
+ { id: "boleto", fields: { Name: "Boleto" } },
+ { id: "cards-international", fields: { Name: "Cards (International)" } },
+ { id: "credit", fields: { Name: "Credit" } },
+ { id: "crypto", fields: { Name: "Crypto" } },
+ { id: "debit", fields: { Name: "Debit" } },
+ { id: "fpx", fields: { Name: "FPX" } },
+ { id: "faster-payments", fields: { Name: "Faster Payments" } },
+ { id: "fiat", fields: { Name: "Fiat" } },
+ { id: "gcash", fields: { Name: "Gcash" } },
+ { id: "google-pay", fields: { Name: "Google Pay" } },
+ { id: "grab-pay", fields: { Name: "Grab Pay" } },
+ { id: "imps", fields: { Name: "IMPS" } },
+ { id: "kachi-shop", fields: { Name: "Kachi Shop" } },
+ { id: "mastercard", fields: { Name: "MasterCard" } },
+ { id: "neteller", fields: { Name: "Neteller" } },
+ { id: "ob", fields: { Name: "OB" } },
+ { id: "otc", fields: { Name: "OTC" } },
+ { id: "oxxo", fields: { Name: "OXXO" } },
+ { id: "pagos-seguros", fields: { Name: "Pagos Seguros" } },
+ { id: "picpay", fields: { Name: "PicPay" } },
+ { id: "pix", fields: { Name: "Pix" } },
+ { id: "push-to-card", fields: { Name: "Push-to-card (Visa & Mastercard)" } },
+ { id: "rtp", fields: { Name: "RTP" } },
+ { id: "sar", fields: { Name: "SAR" } },
+ { id: "sepa", fields: { Name: "Sepa" } },
+ { id: "sepa-instant", fields: { Name: "Sepa Instant" } },
+ { id: "skrill", fields: { Name: "Skrill" } },
+ { id: "spei", fields: { Name: "Spei" } },
+ { id: "uk-faster-payments", fields: { Name: "UK Faster Payments" } },
+ { id: "upi", fields: { Name: "UPI" } },
+ { id: "vietqr", fields: { Name: "VietQR" } },
+ { id: "visa", fields: { Name: "Visa" } },
+ { id: "wires", fields: { Name: "Wires" } },
+];
diff --git a/src/data/wallets/wallet-data.js b/src/data/wallets/wallet-data.js
index 3413aa950..c3a3cf0ea 100644
--- a/src/data/wallets/wallet-data.js
+++ b/src/data/wallets/wallet-data.js
@@ -24,6 +24,7 @@ import keystoneIcon from "../../../assets/wallets/icons/keystone.png";
import turnkeyIcon from "../../../assets/wallets/icons/turnkey.png";
import gemIcon from "../../../assets/wallets/icons/gem.png";
import dynamicIcon from "../../../assets/wallets/icons/dynamic.png";
+import enkryptIcon from "../../../assets/wallets/icons/enkrypt.png";
export const walletData = [
{
@@ -721,6 +722,30 @@ export const walletData = [
hardware: false,
private_key_infrastructure: false,
},
+ {
+ name: "Enkrypt",
+ body: "A multichain crypto wallet hold, buy, send, receive, and swap tokens. Manage your NFTs. Access web3 apps across multiple blockchains.",
+ website: "https://www.enkrypt.com/",
+ additionalInfo:
+ "Non-Custodial/Self Custodial • Actions & Blinks • Buy Crypto • Sell Crypto • Hold NFTs • Open Source",
+ icon: enkryptIcon,
+ custodial: false,
+ non_custodial: true,
+ te: false,
+ blinks_and_actions: true,
+ solana_pay: false,
+ buy_crypto: true,
+ sell_crypto: true,
+ hold_nfts: true,
+ mpc: false,
+ gas_abstraction: false,
+ social_recovery: false,
+ staking: false,
+ spending_limits: false,
+ open_source: true,
+ hardware: false,
+ private_key_infrastructure: false,
+ },
// {
// name: "Passkeys.Foundation",
// body: "Binance Web3 wallet is a keyless, seedless, multi-chain, semi-custody wallet designed for DeFi.",
diff --git a/src/pages/solanaramp.js b/src/pages/solanaramp.js
index 3114940ab..f8d396df0 100644
--- a/src/pages/solanaramp.js
+++ b/src/pages/solanaramp.js
@@ -3,14 +3,16 @@ import Layout from "../components/layout";
import HTMLHead from "../components/HTMLHead";
import RampLayout from "../components/ramps/RampsLayout";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
-
-const Solanaramp = ({
- airtableData,
- fiatAssetsOptions,
- countryOptions,
- paymentRailsOptions,
-}) => {
+import {
+ rampData,
+ fiatAssets,
+ countries,
+ paymentRails,
+} from "../data/ramps/ramps-data";
+
+const Solanaramp = () => {
const { t } = useTranslation();
+
return (
);
};
export async function getStaticProps({ locale }) {
- const apiKey = process.env.AIRTABLE_TOKEN;
-
- let propData = {};
-
- if (!apiKey) {
- console.warn("Airtable API Key is not set. Returning dummy data");
- propData = {
- airtableData: {
- value: [
- {
- id: "dummy-test-ramp-1",
- fields: {
- RampName: "Test Ramp",
- description: "Lorem Ipsum",
- websiteUrl: "",
- imageUrl: null,
- PaymentRails2: [
- "payment-rails-option-1",
- "payment-rails-option-2",
- ],
- Countries2: ["country-option-1"],
- FiatAssets2: ["fiat-asset-option-1", "fiat-asset-option-2"],
- RampStatusOn: true,
- RampStatusOff: true,
- },
- },
- ],
- },
- fiatAssetsOptions: {
- value: [
- {
- id: "fiat-asset-option-1",
- fields: {
- Name: "EUR",
- },
- },
- {
- id: "fiat-asset-option-2",
- fields: {
- Name: "USD",
- },
- },
- ],
- },
- countryOptions: {
- value: [
- {
- id: "country-option-1",
- fields: {
- Name: "United States",
- },
- },
- {
- id: "country-option-2",
- fields: {
- Name: "European Union",
- },
- },
- ],
- },
- paymentRailsOptions: {
- value: [
- {
- id: "payment-rails-option-1",
- fields: {
- Name: "Visa",
- },
- },
- {
- id: "payment-rails-option-2",
- fields: {
- Name: "Mastercard",
- },
- },
- ],
- },
- };
- } else {
- const headers = new Headers({
- Authorization: `Bearer ${apiKey}`,
- });
-
- const app = "appbflHYVylWsEorx";
-
- // Order of tables: Master Ramps, Fiat Assets, Country Options, Payment Rails
- const tableIdentifiers = [
- {
- app,
- tbl: "tblfphNf5WHd1tusv",
- },
- {
- app,
- tbl: "tblXOuVEhS1DqjDHl",
- },
- {
- app,
- tbl: "tblFkXValj82u3eKD",
- },
- {
- app,
- tbl: "tblinJdgA5jE3Bywl",
- },
- ];
-
- const getAllAirtableRecords = async (
- appId,
- tableId,
- headers,
- offset = "",
- pageSize = 100,
- allData = [],
- ) => {
- let queryParams = new URLSearchParams({
- pageSize,
- });
-
- if (offset) {
- queryParams.set("offset", offset);
- }
-
- try {
- const response = await fetch(
- `https://api.airtable.com/v0/${appId}/${tableId}?${queryParams}`,
- {
- headers,
- },
- )
- .then((data) => {
- return data.json();
- })
- .catch((error) =>
- console.error("Issue calling Airtable API:", error),
- );
-
- if (response && Array.isArray(response.records)) {
- response.records.forEach((item) => allData.push(item));
- }
-
- if (response.offset) {
- return await getAllAirtableRecords(
- appId,
- tableId,
- headers,
- response.offset,
- 100,
- allData,
- );
- }
- } catch (error) {
- console.error("Error fetching Airtable Data:", error);
- }
-
- return allData;
- };
-
- const allFetchRequests = tableIdentifiers.map((item) => {
- return getAllAirtableRecords(app, item.tbl, headers);
- });
-
- const [
- airtableData,
- fiatAssetsOptions,
- countryOptions,
- paymentRailsOptions,
- ] = await Promise.allSettled(allFetchRequests);
-
- propData = {
- airtableData,
- fiatAssetsOptions,
- countryOptions,
- paymentRailsOptions,
- };
- }
-
return {
props: {
- ...propData,
...(await serverSideTranslations(locale, ["common"])),
},
- revalidate: 60,
};
}
diff --git a/src/utils/markdown.ts b/src/utils/markdown.ts
index d5402e47c..aa2d9d440 100644
--- a/src/utils/markdown.ts
+++ b/src/utils/markdown.ts
@@ -45,7 +45,7 @@ export async function serializeMarkdown(
}
}
-const CODE_BLOCK_FILENAME_REGEX = /(name|file|filename)="?([^"\s]*)"?/;
+const CODE_BLOCK_FILENAME_REGEX = /(name|filename)="?([^"\s]*)"?/;
// const CODE_BLOCK_SHOW_LINE_NUMBERS_REGEX = /showLineNumbers=?(true|false)?/;
function visit(node: any, tagNames: any, handler: any) {