☕
TEA Project documents
  • TEA Project Intro
    • Litepaper
    • TEA Project Example Use Cases
    • TEA Project's Technical Principles
    • Profitability of TEA Ecosystem Participants
  • User's manual
    • Tea AppStore - Account
    • Tea AppStore-TApps list
    • Tea AppStore - Investments
    • Harberger auction
    • Seeds auction
    • TEA Fluencer
    • Miner's portal
    • Developer's portal
    • Leader board
    • TEA Party
    • Togar3 Game
    • Credit token
    • Metamask connect
    • TApp authorizations
  • Tokens
    • FAQ - Tokens
    • Bonding Curve Tokens
      • Bonding Curve Theta
      • CML Miner Tokens
      • TApp Token Supply & Demand
      • TApp and CML Tokens
      • TApp Tokens
    • CML Tokens
      • CML Transfers
      • CML Seed Auctions
    • TEA Tokens
      • Billing-system-between-layer1-layer2
  • Mining
    • FAQ - Mining
    • Mining: Required Open Ports
    • Mining With AWS Nitro
    • Mining with own hardware is not available on the mainnet (Q1, 2024)
    • Hosting Profitability
    • Remote Attestation
    • State Maintainer Nodes
  • TApps
    • Developers
    • FAQ - TApps
    • Core TApps
    • TApp Creation & Theta
    • TEA Billing
    • TEA Fluencer TApp
  • Mainnet and test net (Epochs)
    • Epoch 2
    • Epoch 3
    • Epoch 4
    • Epoch 5
    • Epoch 6
    • Epoch 7
    • Epoch 8
    • Epoch 9
    • Epoch 10
    • Epoch 11
    • Epoch 12
  • FAQs
    • FAQ - Links
    • FAQ - Technical
    • TEA Governance Structure
    • TEA Security
    • TEA Social Media
    • The TEA Project Core Team
  • Appendix
    • The Future and Innovation of Layer2
    • What Makes a Web3 Application
Powered by GitBook
On this page
  • How TApp make Metamask connect safer?
  • How to connect?
Edit on GitHub
  1. User's manual

Metamask connect

Last updated 1 year ago

Metamask necessitates that each account explicitly connects to a specific URL before authorizing the signing of messages. This precautionary measure is crucial in preventing web fraud. For instance, if a fraudulent website is created to mimic your banking system, Metamask will refrain from signing any transactions unless you consciously establish a connection with this deceptive URL.

How TApp make Metamask connect safer?

Each time you choose a different hosting node, the IP address segment of the URL will alter. Similarly, with every TApp upgrade or modification to the front-end code, the CID portion of the URL will change. Any such modifications result in the generation of a new URL. Consequently, it is imperative to explicitly reconnect in Metamask before utilizing the signing function.

This design significantly bolsters the security of TApps beyond the standards set by typical Web 2 applications. For Web 2, in the event of a hacker compromising a server and tampering with the code, end users remain unaware of these changes as the URL remains unaltered. Nevertheless, any modification to the TApp code, resulting in a unique CID (essentially a hash of the code), triggers Metamask to no longer identify it as a "known" app. Consequently, users must undergo a new "connect" process to confirm their association with the updated application.

How to connect?

In Metamask, go to the account page and click "connect".

If one of your accounts is not connected to a URL, Metamask may unexpectedly switch to another connected account. This less-than-ideal solution can occasionally lead to user confusion. Therefore, it is advisable to always verify that the displayed address in the UI precisely matches your intended login before proceeding.

If the displayed address is not as expected, it is highly probable that your account has not been connected to this URL.

Pasted image 20231212202946.png
Pasted image 20231212213030.png