From facfc67028e03f770136fae6ee3541f7557e5c56 Mon Sep 17 00:00:00 2001 From: MOZGIII Date: Thu, 13 Feb 2025 12:54:49 -0300 Subject: [PATCH 1/3] Add get eHMND section --- src/app/_meta.ts | 7 +++++ src/app/get-ehmnd/_meta.ts | 6 +++++ src/app/get-ehmnd/mainnet/page.mdx | 42 ++++++++++++++++++++++++++++++ src/app/get-ehmnd/testnet/page.mdx | 8 ++++++ src/data/links.ts | 16 ++++++++++++ 5 files changed, 79 insertions(+) create mode 100644 src/app/get-ehmnd/_meta.ts create mode 100644 src/app/get-ehmnd/mainnet/page.mdx create mode 100644 src/app/get-ehmnd/testnet/page.mdx diff --git a/src/app/_meta.ts b/src/app/_meta.ts index cc6fd42..7852e3a 100644 --- a/src/app/_meta.ts +++ b/src/app/_meta.ts @@ -38,6 +38,13 @@ export default { display: "children", }, + "---guides": { + ...separator, + title: "Guides", + }, + + 'get-ehmnd': "How to get eHMND", + biomapper: { title: "Biomapper App", type: "menu", diff --git a/src/app/get-ehmnd/_meta.ts b/src/app/get-ehmnd/_meta.ts new file mode 100644 index 0000000..dd30e73 --- /dev/null +++ b/src/app/get-ehmnd/_meta.ts @@ -0,0 +1,6 @@ +import type { MetaRecord } from "nextra"; + +export default { + "mainnet": "Mainnet", + "testnet": "Testnet", +} as const satisfies MetaRecord; diff --git a/src/app/get-ehmnd/mainnet/page.mdx b/src/app/get-ehmnd/mainnet/page.mdx new file mode 100644 index 0000000..5b4177d --- /dev/null +++ b/src/app/get-ehmnd/mainnet/page.mdx @@ -0,0 +1,42 @@ +--- +title: How to Get eHMND Tokens for Biomapping Transaction Fees +--- + +import { A } from "../../../components/mdx"; +import links, { tradeLinks } from "../../../data/links"; +import { Callout } from "nextra/components"; + +# How to Get eHMND Tokens for Biomapping Transaction Fees + + +To cover transaction fees usually less than US$1 while Biomapping, you'll need eHMND tokens. There are two ways to get them + + +### Option 1: Buy HMND from a Centralized Exchange (CEX) & Swap + +#### Buy HMND tokens from a supported centralized exchange. +Exchanges where you can buy HMND: +- BingX +- BitMart +- KuCoin +- SimpleSwap +- CoinEx + +#### Transfer HMND to your Polkadot wallet or Talisman wallet. +Use the BitMartHumanode internal swap to convert HMND to eHMND. + +Enter your Polkadot/Talisman wallet address starting with hm…. in the Substrate account field. You'll need to install the required extension +- Polkadot wallet extension +- Talisman wallet extension + +Connect your Ethereum-compatible wallet (MetaMask or Talisman) in the Ethereum address field. + +Confirm the swap. Your eHMND will be sent to your EVM wallet. + +### Option 2: Buy HMND on BitMart & Withdraw Directly as eHMND + +Buy HMND on BitMart. + +Withdraw HMND directly to your EVM wallet (Metamask or Talisman) that you are using to Biomap. + +This method is quicker since BitMart allows direct withdrawals to an EVM wallet, eliminating the need for an internal swap. diff --git a/src/app/get-ehmnd/testnet/page.mdx b/src/app/get-ehmnd/testnet/page.mdx new file mode 100644 index 0000000..abcc68d --- /dev/null +++ b/src/app/get-ehmnd/testnet/page.mdx @@ -0,0 +1,8 @@ +--- +title: How to Get eHMND Tokens for Biomapping Transaction Fees +--- + +import { link } from "fs"; +import { Callout } from "nextra/components"; + +# How to Get eHMND Tokens for Biomapping Transaction Fees diff --git a/src/data/links.ts b/src/data/links.ts index aba793d..ca0f34a 100644 --- a/src/data/links.ts +++ b/src/data/links.ts @@ -16,6 +16,19 @@ const biomapperDocsRepoMaster = const biostakerMainnet = "https://mainnet.biostaker.hmnd.app"; +export const tradeLinks = { + bingx: "https://link.humanode.io/trade/bingx", + bitmart: "https://link.humanode.io/trade/bitmart", + kucoin: "https://link.humanode.io/trade/kucoin", + simpleswap: "https://link.humanode.io/trade/simpleswap", + coinex: "https://link.humanode.io/trade/coinex", +} as const satisfies Record; + +const humanodeSwap = + "https://evm-playground.mainnet.stages.humanode.io/swap/native-to-evm"; +const polkadotExt = "https://polkadot.js.org/extension"; +const talismanWallet = "https://link.humanode.io/wallets/talisman"; + const links = { chat, humanodeDocsChains, @@ -26,6 +39,9 @@ const links = { biomapperSdkRepo, biomapperSdkRepoUsage, biomapperSdkRepoExamples, + humanodeSwap, + polkadotExt, + talismanWallet, } as const satisfies Record; export default links; From b52d6a2b398961e33cfddc50e57355b69ec7ead4 Mon Sep 17 00:00:00 2001 From: MOZGIII Date: Thu, 13 Feb 2025 13:14:19 -0300 Subject: [PATCH 2/3] Tweak the markup --- src/app/get-ehmnd/mainnet/page.mdx | 49 ++++++++++++++++++++---------- src/app/get-ehmnd/testnet/page.mdx | 28 +++++++++++++++-- src/data/links.ts | 3 ++ 3 files changed, 62 insertions(+), 18 deletions(-) diff --git a/src/app/get-ehmnd/mainnet/page.mdx b/src/app/get-ehmnd/mainnet/page.mdx index 5b4177d..3a806a7 100644 --- a/src/app/get-ehmnd/mainnet/page.mdx +++ b/src/app/get-ehmnd/mainnet/page.mdx @@ -4,39 +4,56 @@ title: How to Get eHMND Tokens for Biomapping Transaction Fees import { A } from "../../../components/mdx"; import links, { tradeLinks } from "../../../data/links"; -import { Callout } from "nextra/components"; # How to Get eHMND Tokens for Biomapping Transaction Fees - -To cover transaction fees usually less than US$1 while Biomapping, you'll need eHMND tokens. There are two ways to get them - +## Mainnet -### Option 1: Buy HMND from a Centralized Exchange (CEX) & Swap +To cover the price and network fees for the Biomapping you'll need eHMND tokens. + +There are two ways to get them: + +- [Option 1](#option-1) - buy HMND from a Centralized Exchange (CEX) & swap. +- [Option 2](#option-2) - buy HMND on BitMart & Withdraw Directly as eHMND. + +### Option 1 + +#### Buy HMND tokens from a supported centralized exchange -#### Buy HMND tokens from a supported centralized exchange. Exchanges where you can buy HMND: + - BingX - BitMart - KuCoin - SimpleSwap - CoinEx -#### Transfer HMND to your Polkadot wallet or Talisman wallet. -Use the BitMartHumanode internal swap to convert HMND to eHMND. +#### Transfer HMND to your Polkadot wallet or Talisman wallet + +Use the Humanode internal swap +to convert HMND to eHMND. + +1. Enter your Polkadot/Talisman wallet address starting with `hm...` in + the _Substrate account_ field. + You'll need to install the required extension: + + - Polkadot wallet extension + - Talisman wallet extension -Enter your Polkadot/Talisman wallet address starting with hm…. in the Substrate account field. You'll need to install the required extension -- Polkadot wallet extension -- Talisman wallet extension +2. Connect your Ethereum-compatible wallet (MetaMask or Talisman) in + the Ethereum address field. -Connect your Ethereum-compatible wallet (MetaMask or Talisman) in the Ethereum address field. +3. Confirm the swap. + Your eHMND will be sent to your EVM wallet. -Confirm the swap. Your eHMND will be sent to your EVM wallet. +### Option 2 -### Option 2: Buy HMND on BitMart & Withdraw Directly as eHMND +#### Buy HMND on BitMart & Withdraw Directly as eHMND Buy HMND on BitMart. -Withdraw HMND directly to your EVM wallet (Metamask or Talisman) that you are using to Biomap. +Withdraw HMND directly to your EVM wallet (Metamask or Talisman) that you +are using to Biomap. -This method is quicker since BitMart allows direct withdrawals to an EVM wallet, eliminating the need for an internal swap. +This method is quicker since BitMart allows direct withdrawals to an EVM wallet, +eliminating the need for an internal swap. diff --git a/src/app/get-ehmnd/testnet/page.mdx b/src/app/get-ehmnd/testnet/page.mdx index abcc68d..ec5e040 100644 --- a/src/app/get-ehmnd/testnet/page.mdx +++ b/src/app/get-ehmnd/testnet/page.mdx @@ -2,7 +2,31 @@ title: How to Get eHMND Tokens for Biomapping Transaction Fees --- -import { link } from "fs"; -import { Callout } from "nextra/components"; +import { A } from "../../../components/mdx"; +import links from "../../../data/links"; # How to Get eHMND Tokens for Biomapping Transaction Fees + +## Testnet + +### Use the Faucet to get HMND and swap to eHMND + +#### Get HMND from Testnet 5 Faucet + +Use Telegram Faucet for Humanode Testnet 5. + +#### Transfer HMND to your Polkadot wallet or Talisman wallet + +Use the Humanode internal swap to convert HMND to eHMND. + +1. Enter your Polkadot/Talisman wallet address starting with `hm...` in the _Substrate account_ field. + You'll need to install the required extension: + + - Polkadot wallet extension + - Talisman wallet extension + +2. Connect your Ethereum-compatible wallet (MetaMask or Talisman) in + the Ethereum address field. + +3. Confirm the swap. + Your eHMND will be sent to your EVM wallet. diff --git a/src/data/links.ts b/src/data/links.ts index ca0f34a..0091087 100644 --- a/src/data/links.ts +++ b/src/data/links.ts @@ -29,6 +29,8 @@ const humanodeSwap = const polkadotExt = "https://polkadot.js.org/extension"; const talismanWallet = "https://link.humanode.io/wallets/talisman"; +const humanodeTestnet5FaucetBot = "https://t.me/HumanodeTestnet5FaucetBot"; + const links = { chat, humanodeDocsChains, @@ -42,6 +44,7 @@ const links = { humanodeSwap, polkadotExt, talismanWallet, + humanodeTestnet5FaucetBot, } as const satisfies Record; export default links; From eceb9992feda09fa93a2378d192415b251125b5b Mon Sep 17 00:00:00 2001 From: MOZGIII Date: Thu, 13 Feb 2025 13:46:59 -0300 Subject: [PATCH 3/3] Fix prettier --- src/app/_meta.ts | 2 +- src/app/get-ehmnd/_meta.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/_meta.ts b/src/app/_meta.ts index 7852e3a..a734ebf 100644 --- a/src/app/_meta.ts +++ b/src/app/_meta.ts @@ -43,7 +43,7 @@ export default { title: "Guides", }, - 'get-ehmnd': "How to get eHMND", + "get-ehmnd": "How to get eHMND", biomapper: { title: "Biomapper App", diff --git a/src/app/get-ehmnd/_meta.ts b/src/app/get-ehmnd/_meta.ts index dd30e73..d588cd6 100644 --- a/src/app/get-ehmnd/_meta.ts +++ b/src/app/get-ehmnd/_meta.ts @@ -1,6 +1,6 @@ import type { MetaRecord } from "nextra"; export default { - "mainnet": "Mainnet", - "testnet": "Testnet", + mainnet: "Mainnet", + testnet: "Testnet", } as const satisfies MetaRecord;