Skip to content

zhangzhongnan928/TokenScript-Mockup-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

TokenScript-Mockup-Generator V1

https://tokenscriptmockupgenerator.tiiny.site/ https://perks.antopolbus.rv.ua/

TokenScript Mockup Generator User Manual

Introduction

The TokenScript Mockup Generator is a web-based tool that allows you to create TokenScript mockups for ERC20 and NFT tokens. It also provides functionality to register your TokenScript with an ERC-7738 contract(in V2).

Getting Started

  1. Open the TokenScript Mockup Generator in your web browser.
  2. Ensure you have MetaMask or a similar Web3 wallet extension installed in your browser(in V2).

Generating a TokenScript Mockup

  1. Select the token type (ERC20 or NFT) from the dropdown menu.
  2. Fill in the following fields (fields marked with * are required):
    • Tapp name
    • Tapp singular name
    • Tapp plural name
    • Tapp description
    • Tapp related website
    • Tapp icon URL
    • Contract name
    • Chain ID and contract address*
    • Function card names*
  3. Click the "Generate TokenScript Mockup" button.
  4. If all required fields are filled, a TokenScript mockup will be generated and displayed on the page.
  5. A "Download .tsml File" link will appear. Click this link to download the generated TokenScript file.

Connecting Your Wallet(in V2)

  1. Click the "Connect Wallet" button.
  2. Your Web3 wallet (e.g., MetaMask) will prompt you to connect. Follow the wallet's instructions to connect.
  3. Once connected, your wallet address will be displayed, and the "Register Script URI" button will be enabled.

Registering Your TokenScript(in V2)

  1. After generating your TokenScript and connecting your wallet, host the .tsml file on a web server of your choice.
  2. Enter the URL where you've hosted your .tsml file in the "TokenScript URI" input field.
  3. Click the "Register Script URI" button.
  4. Your Web3 wallet will prompt you to confirm the transaction. Review the transaction details and confirm if everything looks correct.
  5. Wait for the transaction to be processed. The status will be displayed on the page.

Tips and Troubleshooting

  • Ensure all required fields are filled before generating the TokenScript.
  • Make sure your Web3 wallet is connected to the correct network before registering the TokenScript.(in V2)
  • If you encounter any errors, check the error message displayed on the page for guidance.
  • Always verify the contract address and TokenScript URI before submitting the registration transaction.

Security Notes

  • Never share your private keys or wallet seed phrases.
  • Always verify transaction details in your Web3 wallet before confirming.