Skip to content

Commit

Permalink
add v2 mainnet FAQ (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant authored and peterjah committed Jul 16, 2024
1 parent fc69f9e commit 2b9a322
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 38 deletions.
39 changes: 25 additions & 14 deletions src/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,33 +98,40 @@
"bearby-wallet": "Bearby Wallet",
"massa-documentation": "Massa documentation.",
"airdrop-title": "Is there an airdrop available for transactions on the Massa Bridge?",
"airdrop-desc": "There is no formal airdrop planned for bridge activity. However, if you are bridging tokens from Ethereum to a newly created Massa address or an address with a zero balance, you will receive {amount} MAS to cover address allocation costs, known as storage fees on the Massa network, and a few future transaction costs.",
"airdrop-desc": "There is no formal airdrop planned for bridge activity. However, if you are bridging tokens from Ethereum or BNB Smart Chain to a newly created Massa address or an address with a zero balance, you will receive {amount} MAS to cover address allocation costs, known as storage fees on the Massa network, and a few future transaction costs.",
"transfer-title": "How long does a transfer via Massa Bridge take on each network?",
"transfer-desc-1": "Bridging assets from Ethereum to Massa involves three transactions: approving the bridge to spend tokens, locking the tokens on the Bridge contract, and minting tokens on the Massa network. The processing time for each transaction depends on Ethereum confirmation times, typically between fifteen seconds to five minutes. Once confirmed on Ethereum, it should take less than two minutes for the bridge to mint tokens on Massa.",
"transfer-desc-2": "Transferring from Massa to Ethereum also consists of three transactions: allowing the bridge to burn your tokens, triggering the burn, and claiming your tokens on Ethereum. Each step on Massa usually takes less than two minutes. Ethereum claim transactions typically finalize in fifteen seconds to two minutes.",
"transfer-desc-1": "Bridging assets from an EVM-compatible chain to Massa involves three transactions: approving the bridge to spend tokens, locking the tokens on the Bridge contract, and minting tokens on the Massa network. The processing time for each transaction depends on EVM’s confirmation times, typically between fifteen seconds to five minutes. Once confirmed on Ethereum or BNB Smart Chain, it should take less than two minutes for the bridge to mint tokens on Massa.",
"transfer-desc-2": "Transferring from Massa to an EVM-compatible chain also consists of three transactions: allowing the bridge to burn your tokens, triggering the burn, and claiming your tokens on Ethereum or BNB Smart Chain. Each step on Massa usually takes less than two minutes. Claim transactions on EVM chains typically finalize in fifteen seconds to two minutes.",
"not-visible-title": "What should I do if my transaction is not visible in the explorer?",
"not-visible-desc-1": " If your Ethereum transactions don’t appear in the explorer, please make sure that your wallet actually sent the transaction. Typically, with Metamask, this can be done by checking the “Activity” tab. If your wallet has recorded your transaction but you still don’t see it on the explorer, please make sure that you waited for the confirmation time to elapse (typically less than five minutes on Ethereum). If the transaction that doesn’t appear on the explorer is the lock transaction, you can check if your token balance has changed. If it hasn’t, it most certainly mean that the lock transaction wasn’t successful. In this case you should retry to send the lock transaction in the Massa Bridge web app. If previous checks do not solve your issue and you still don’t see your transaction please contact ",
"not-visible-desc-2": " If you cannot see you Massa transactions on the explorer, please contact ",
"not-visible-desc-1": "If your transactions don’t appear in the explorer, please make sure that your wallet actually sent the transaction. Typically, with Metamask, this can be done by checking the “Activity” tab. If your wallet has recorded your transaction but you still don’t see it on the explorer, please make sure that you waited for the confirmation time to elapse (typically less than five minutes on Ethereum). If the transaction that doesn’t appear on the explorer is the lock transaction, you can check if your token balance has changed. If it hasn’t, it most certainly mean that the lock transaction wasn’t successful. In this case you should retry to send the lock transaction in the Massa Bridge web app.",
"not-visible-desc-2": "If previous checks do not solve your issue and you still don’t see your transaction please contact us via ",
"not-visible-desc-3": "discord support channel",
"exceed-title": "What happens if my transaction exceeds the expected processing time?",
"exceed-desc": "If you initiated a bridge transfer and after 10 min of total processing you don’t see tokens in your destination wallet account, please check for the status of your transfer in the History page. You need to be connected with both wallets on the Massa Bridge web app to access the page. If you don’t see the status of your transfer as the success or fail, for longer than 1h, please contact ",
"bridge-native-title": "Can I transfer tokens created on the Massa blockchain to the Ethereum network?",
"bridge-native-desc": " Currently, the bridge only supports bridging Ethereum native tokens to Massa as wrapped assets. It's not yet possible to bridge Massa native assets to Ethereum, but you can redeem Massa wrapped assets for Ethereum native assets, at any time, for the rate of 1:1.",
"bridge-native-desc": "Currently, the bridge supports bridging native tokens from Ethereum or BNB Smart Chain to Massa, as wrapped assets. It's not yet possible to bridge Massa native assets to an EVM-compatible ones, but you can redeem Massa wrapped assets back as native assets on EVM, at any time. ",
"tutorial-title": "Are there tutorials available on how to use the Massa Bridge?",
"tutorial-desc-1": "You can check out these docs on how to use the Massa Bridge:",
"tutorial-desc-2": "Massa Brigde Docs",
"tutorial-empty-desc": "Bridge tutorial coming very soon",
"suffix-title": "What does the '.e' suffix means in the token symbol on the Massa network?",
"suffix-desc": "The “.e” suffix on Massa wrapped assets indicates their origin network is the Ethereum blockchain.",
"suffix-title": "What does the '.e' or '.b' suffix means in the token symbol on the Massa network?",
"suffix-desc": "Massa Bridge currently supports bridging native assets from Ethereum and BNB Smart Chain to Massa.",
"suffix-desc-1": "The “.e” suffix on Massa’s wrapped assets indicates their origin network is the Ethereum blockchain.",
"suffix-desc-2": "The “.b” suffix on Massa’s wrapped assets indicates their origin network is the BNB Smart Chain.",
"suffix-desc-3": "Tokens suffixed .e are not fungible with tokens suffixed .b, which means that even if they represent the same underlying asset, they are treated as two separate tokens on Massa. ",
"speed-title": "Can I speed up an Ethereum transaction on the Massa Bridge?",
"speed-desc": " If Ethereum network load implies long confirmation times, increase the transaction fee in your Metamask wallet for faster processing.",
"what-token-title": "What token do I need to use to pay for transaction fees on the Massa network?",
"what-token-desc": " Massa network transactions require Massa’s native asset, the MAS token. When bridging to a new Massa address, you’ll receive {amount} MAS for free, with 0.001 allocated for storing your address on the ledger and the rest for a few future transaction fees. Learn more about Massa storage costs in ",
"what-token-desc": "Massa network transactions require Massa’s native asset, the MAS token. When bridging to a new Massa address, you’ll receive 0.3 MAS for free, with 0.001 allocated for storing your address on the ledger and the rest for a few future transaction fees. ",
"what-token-desc-1": "Since June 2024, Massa nodes require a very small minimal transaction fees of 0.01 MAS.",
"zero-tx-fees-title": "Why are there low transaction fees on the Massa network?",
"zero-tx-fees-desc": "As Massa is a new network, chain activity is low enough to have zero transaction fees. Validator APY sufficiently incentives block production. In the future, as chain activity increases, transaction fees may also increase.",
"zero-tx-fees-desc": "As Massa is a new network, chain activity is low enough to have very low transaction fees. As chain activity increases, transaction fees may also increase.",
"zero-tx-fees-desc-1": "During the bridge transfer, Massa Bridge pays for the cost of sending tokens to your Massa wallet. During the redeem transfer, you are signing operations so you pay transaction fees on Ethereum or BNB Smart Chain. Learn more about the process in the ",
"storage-cost-title": "What is the storage cost on the Massa network?",
"storage-cost-desc": "The cost for allocating an address on the ledger for the first time on the Massa network, is 0.001 MAS. For additional information please refer to ",
"storage-cost-desc": "The cost for allocating an address on the ledger for the first time, on the Massa network, is 0.001 MAS. For additional information please refer to ",
"service-fees-title": "Does Massa Bridge charge service fees?",
"service-fees-desc": "As of now, Massa doesn’t charge service fees; users only pay for the transaction costs. However, the service fee will be introduced in the near future.",
"service-fees-desc": "As of July 2024, Massa Bridge introduced 0.1% flat fee when redeeming tokens from Massa back to the Ethereum network.",
"service-fees-desc-1": "When redeeming tokens from Massa to BNB Smart Chain, for a limited period of time, no service fee is charged, users only pay for the transaction costs. However, the service fee will be introduced on BNB Smart Chain in the near future.",
"claim-title": "Why do I need to claim a transaction when redeeming tokens to Ethereum?",
"claim-desc": " For gas efficiency, we haven’t implemented a transaction relaying service. You must claim your tokens on the Ethereum blockchain to receive them. We might implement a relaying service in the future.",
"wallets-title": "What are the recommended wallets on the Massa network?",
Expand All @@ -133,6 +140,9 @@
"wallets-desc-3": ", however, please bear in mind that community wallets are not audited by Massa Labs team.",
"bridged-tokens-title": "How can I import token balance in my Massa wallet?",
"bridged-tokens-subtitle-1": "a. For Massa Station Wallet",
"bridged-tokens-subtitle-massa-desc": "Massa Station Wallet displays bridged tokens by default starting Massa Station v0.6.3 and Massa Wallet v.0.1.0 (0.1.2 for Binance-bridged tokens)",
"bridged-tokens-subtitle-massa-desc-1": "In case you’re using the version below that one, we strongly recommend you to update your Massa Station and Massa Wallet. ",
"how-to": "Below are the instructions to add tokens manually:",
"bridged-tokens-subtitle-2": "b. For Bearby Wallet",
"bridged-tokens-desc-1": "Step 1: Open Massa Wallet module in the Massa Station app. Select the account to which you bridged tokens.",
"bridged-tokens-desc-2": "Step 2: From the menu on the left, click on ‘Assets’.",
Expand All @@ -146,7 +156,7 @@
"bridged-tokens-desc-10": "Step 6: You should now see the added token with it’s associated balance.",
"bridged-tokens-desc-11": "Also you can connect your wallet to Dusa Protocol and check the token balance there.",
"sc-wallet-title": "Can I use Massa Bridge with a smart-contract wallet?",
"sc-wallet-desc": "At the moment it is not possible to use multi-sig wallets to bridge tokens between Ethereum and Massa networks. This might change in the future.",
"sc-wallet-desc": "At the moment it is not possible to use multi-sig wallets to bridge tokens. This might change in the future. ",
"no-wap-title": "Is it possible to use Massa Bridge without the web app?",
"no-wap-desc": "We strongly advise against interacting with Massa Bridge smart contracts except through our official web-app at",
"mobile-title": "Can I use Massa Bridge on a mobile phone or tablet?",
Expand All @@ -160,7 +170,8 @@
"token-address-title": "What are the token addresses on Massa?",
"bridge-address-title": "What are the Massa Bridge addresses on the Ethereum and Massa networks?",
"bridge-address-desc-1": "Evm bridge contract:",
"bridge-address-desc-2": "Massa bridge contract:"
"bridge-address-desc-2": "Massa bridge contract:",
"bridge-address-desc-3": "BNB Smart Chain contract:"
}
},
"loading-box": {
Expand Down
72 changes: 49 additions & 23 deletions src/pages/FAQ/MainnetFAQ/MainnetFAQ.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,10 @@ export function MainnetFAQ() {
<AccordionContent>
<p>
{Intl.t('index.faq.mainnet.not-visible-desc-1')}
<a target="_blank" href={`mailto:${bridgeEmail}`}>
<u> {bridgeEmail} </u>
</a>
.
<br /> <br />
{Intl.t('index.faq.mainnet.not-visible-desc-2')}
<a href={`mailto:${bridgeEmail}`}>
<u>{bridgeEmail}</u>
<a href={discordSupportChannel}>
<u> {Intl.t('index.faq.mainnet.not-visible-desc-3')}</u>
</a>
.
</p>
Expand Down Expand Up @@ -211,16 +207,12 @@ export function MainnetFAQ() {
<Accordion title={Intl.t('index.faq.mainnet.suffix-title')}>
<AccordionContent>
<p>{Intl.t('index.faq.mainnet.suffix-desc')}</p>
</AccordionContent>
</Accordion>

<Accordion title={Intl.t('index.faq.mainnet.token-address-title')}>
<AccordionContent>
{tokens.map((token, index) => (
<p key={index}>
{token.symbol} ({token.name}) - {token.massaToken}
</p>
))}
<br />
<p>{Intl.t('index.faq.mainnet.suffix-desc-1')}</p>
<br />
<p>{Intl.t('index.faq.mainnet.suffix-desc-2')}</p>
<br /> <br />
<p>{Intl.t('index.faq.mainnet.suffix-desc-3')}</p>
</AccordionContent>
</Accordion>

Expand All @@ -230,13 +222,27 @@ export function MainnetFAQ() {
{Intl.t('index.faq.mainnet.bridge-address-desc-1')}{' '}
{config[currentMode][SupportedEvmBlockchain.ETH]}
</p>
<p>
{Intl.t('index.faq.mainnet.bridge-address-desc-3')}{' '}
{config[currentMode][SupportedEvmBlockchain.BSC]}
</p>
<p>
{Intl.t('index.faq.mainnet.bridge-address-desc-2')}{' '}
{config[currentMode].massaBridgeContract}
</p>
</AccordionContent>
</Accordion>

<Accordion title={Intl.t('index.faq.mainnet.token-address-title')}>
<AccordionContent>
{tokens.map((token, index) => (
<p key={index}>
{token.symbol} ({token.name}) - {token.massaToken}
</p>
))}
</AccordionContent>
</Accordion>

<Accordion title={Intl.t('index.faq.mainnet.speed-title')}>
<AccordionContent>
<p>{Intl.t('index.faq.mainnet.speed-desc')}</p>
Expand All @@ -249,20 +255,28 @@ export function MainnetFAQ() {
{Intl.t('index.faq.mainnet.what-token-desc', {
amount: AIRDROP_AMOUNT,
})}

<a
target="_blank"
href="https://docs.massa.net/docs/learn/storage-costs"
>
<u> {Intl.t('index.faq.mainnet.massa-documentation')}</u>
</a>
</p>
<br />
<p>{Intl.t('index.faq.mainnet.what-token-desc-1')}</p>
</AccordionContent>
</Accordion>

<Accordion title={Intl.t('index.faq.mainnet.zero-tx-fees-title')}>
<AccordionContent>
<p>{Intl.t('index.faq.mainnet.zero-tx-fees-desc')}</p>
<br />
<p>
<p>
{Intl.t('index.faq.mainnet.zero-tx-fees-desc-1')}

<a
target="_blank"
href="https://docs.massa.net/docs/massaBridge/architecture-security"
>
<u> {Intl.t('index.faq.mainnet.massa-documentation')}</u>
</a>
</p>
</p>
</AccordionContent>
</Accordion>

Expand All @@ -284,6 +298,8 @@ export function MainnetFAQ() {
<Accordion title={Intl.t('index.faq.mainnet.service-fees-title')}>
<AccordionContent>
<p>{Intl.t('index.faq.mainnet.service-fees-desc')}</p>
<br />
<p>{Intl.t('index.faq.mainnet.service-fees-desc-1')}</p>
</AccordionContent>
</Accordion>

Expand Down Expand Up @@ -319,6 +335,16 @@ export function MainnetFAQ() {
<AccordionContent>
<p>{Intl.t('index.faq.mainnet.bridged-tokens-subtitle-1')}</p>
<br />
<p>
{Intl.t('index.faq.mainnet.bridged-tokens-subtitle-massa-desc')}
</p>
<br />
<p>
{Intl.t('index.faq.mainnet.bridged-tokens-subtitle-massa-desc-1')}
</p>
<br />
<p>{Intl.t('index.faq.mainnet.how-to')}</p>
<br />
<div>
{Intl.t('index.faq.mainnet.bridged-tokens-desc-1')}
<br /> <br />
Expand Down
1 change: 1 addition & 0 deletions src/store/tokenStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export interface TokenStoreState {

/** Return the token filtered by supported token on the current selected evm chain */
getTokens(): IToken[];

/** Set the selected token if included in the list of the supported token on the current selected evm chain */
setSelectedToken: (token?: IToken) => void;
/** Reset selected token to the first token in the list of the supported token on the current selected evm chain */
Expand Down
2 changes: 1 addition & 1 deletion src/utils/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ export const bscScanTokenLink = 'https://testnet.bscscan.com/address/';
export const ethMinConfirmations = 5;
export const bscMinConfirmations = 10;

export const AIRDROP_AMOUNT = '1';
export const AIRDROP_AMOUNT = '0.30';

0 comments on commit 2b9a322

Please sign in to comment.