Tapp-Ideas

Step-by-Step Guide to Build a Tapp Mockup for an Existing Token/NFT which can be demoed on Twitter

1. Choose an Existing Token/NFT

2. Discuss Your Tapp Idea

An NFT (such as ERC721) Tapp will appear on Twitter like this: Screenshot 2024-10-17 at 2 52 27 pm

A Fungible token(such as ERC20) Tapp will appear on Twitter like this: Screenshot 2024-10-17 at 2 35 08 pm

To make a Tapp Mockup, you just need to think about 3 functions you want your audience to use right from your twitter feed. ideally when your audience use those functions both of you should get some benefits.

You can Open Tapp Product Manager by visiting this link to brainstorm your tapp idea.

3. Generate the TokenScript Mockup

For a detailed walkthrough of the TokenScript Mockup Generator, refer to the user manual in the GitHub repository.

4. Test the TokenScript File in TokenScript Viewer

5. Host Your TokenScript on GitHub

6. Add TokenScript to ERC-7738 Registry

7. Set the Script URI for Your Token/NFT

Now You Have Successfully Launched an ERC-7738 Tapp


8. Access Your Tapp on Twitter or TokenScript Viewer

8.1 In TokenScript Viewer:

8.2 On Twitter:

Install Tlink Extension


Detailed Explanation of the URL Parameters:

Here’s what each part of the URL represents:

  1. chain=137: Specifies the blockchain network where your token is located.
    • 137 refers to the Polygon network. Other common values:
      • Ethereum Mainnet: 1
      • Binance Smart Chain: 56
      • Goerli Testnet: 5
  2. contract=0xB48f53010Acbc0E24D3D12D892E2215879e6fD13: This is the smart contract address of the token/NFT.
    • Replace this with the contract address of your chosen token/NFT.
  3. scriptId=7738_2: Refers to the Script ID for your tapp registered in the ERC-7738 registry.
    • The number after _ refers to the specific tapp entry, which in this case is entry 2. Modify this based on your tapp’s Script ID.
  4. #card=Buy: This specifies which action card to display.
    • In this case, it loads the Buy action card for the tapp. You can change this to display different actions such as Sell or Transfer.
    • Remove #card=Buy to load the default tapp landing page.
  5. tokenId=9940: This is the Token ID of the specific token or NFT you want to display.
    • Replace this with the Token ID of the item you want to interact with. For ERC-721 (NFTs), this identifies the unique item.

Bonus (彩蛋):


Now you have the complete guide to build, register, and share your tapp mockup. You can see it live on Twitter and in TokenScript Viewer! Enjoy the fun of building your tapp and sharing it across platforms.

Community Resources

Remember, the Tapp community is growing and evolving. Don’t hesitate to reach out for support or to share your creations!


Introduction to Tapps

Tapps (Token Applications) are innovative, cross-platform mini-apps that revolutionize how users interact with their tokens and NFTs. Built on the concept of “Tokens as applications,” Tapps leverage the ERC-5169/ERC-7738 standard and TokenScript technology to create portable, user-owned applications that can be accessed across various platforms and channels.

Key benefits of Tapps:

  1. Portability: Your Tapps go wherever you go, accessible on social media, messaging apps, digital wallets, and more.
  2. Ownership: Users truly own their Tapps, just like they own their tokens.
  3. Seamless integration: Tapps can be used directly within existing platforms without the need for separate app installations.
  4. Cross-platform compatibility: Developers can create one interface that works in multiple environments.
  5. Enhanced token functionality: Users can interact with their tokens in rich, meaningful ways directly from their preferred platforms.

Tapps run on platforms that have installed the TokenScript Engine, enabling a new level of interactivity and utility for blockchain-based assets. This guide will walk you through creating a Tapp mockup for your existing token or NFT, allowing you to experience the power of portable, user-centric applications.