Tan Docs
  • 📚INTRODUCTION
  • 📖BASIC KNOWLEDGE
    • 🌐⛓️What is Blockchain
    • EVM
    • 💻Node
  • WELCOME TO TAN NETWORK
    • 💡About TAN
    • 🪙TAN (Native Coin of Tan)
    • 🫂Community
  • 🚀GETTING STARTED
    • 👨‍💻Developer Guide
      • 💻Nodes And Validators
        • ⬇️Install TAN-Chain
        • 👨‍🏫Full Node Instructions
        • 🔏How to Stake TAN?
        • Become a Validator🤝
        • 🔓How to Unstake TAN?
      • RPC
      • TAN Testnet
      • TAN explorers
      • 📃Deploy Smart Contracts
        • TEP-20
          • Using Remix ide
          • Using Truffle
          • Using Hardhat
        • TEP-721
          • Using Remix ide
          • Using Truffle
          • Using Hardhat
        • TEP-1155
          • Using Remix ide
          • Using Truffle
          • Using Hardhat
    • 🦊Add TAN to Metamask
    • 🪙Get Testnet Funds
    • Core Concepts
      • Genesis File
      • Consensus
      • Proof of Stake(Pos)
      • ⚙️TAN Consensus(BPoS)
        • 💰Validators Reward
        • Burn Subsidy
        • Ecosystem Incetives
      • Scalability
  • Governance
    • TAN Improvement Proposal
  • ❓FAQ's
Powered by GitBook
On this page
  • What is Remix IDE ?
  • Step-by-Step Guide to Deploy
  • 1. Open Remix IDE
  • 2. Create a New File
  • 3. Write the Contract
  • Compile the Contract
  • Deploy the Contract
  1. GETTING STARTED
  2. Developer Guide
  3. Deploy Smart Contracts
  4. TEP-1155

Using Remix ide

PreviousTEP-1155NextUsing Truffle

Last updated 4 months ago

Here is a detailed explanation of what Remix IDE is and a step-by-step guide on how to deploy a TEP1155 contract using Remix IDE:

What is Remix IDE ?

Remix IDE is an open-source, web-based integrated development environment (IDE) for writing, compiling, and deploying smart contracts. It is widely used for Ethereum and Ethereum-compatible blockchains such as TAN-chain. Remix IDE offers a user-friendly interface, powerful debugging features, and a variety of plugins to streamline the smart contract development process.

Step-by-Step Guide to Deploy

Follow these steps to deploy a TEP1155 contract using Remix IDE:

1. Open Remix IDE

Navigate to in your web browser. You will see the main interface, which consists of several panels, including the file explorer, the editor, and the terminal.

2. Create a New File

In the file explorer on the left side of the screen:

  • To create a new file, select the “File Explorer” icon from the menu, then click the “Create New File” icon.

  • Type in the name of the file. It is our first program so let’s go with “TEP1155NFT.sol” .

3. Write the Contract

  • Once the file is named we can begin writing Solidity code in the code editor. Paste or type the code below into Remix.

Compile the Contract

  • Select the Compiler: Click on the Solidity Compiler tab on the left sidebar.

  • Choose Compiler Version: Select the appropriate compiler version (e.g., 0.8.20+commit.c7dfd78e).

  • Compile the Code: Click the Compile TEP20Token.sol button.

Deploy the Contract

  • Select the Deployment Environment: Click on the Deploy & Run Transactions tab.

  • Configure the Environment:

    Select Injected Web3 if you are using a Web3 wallet like MetaMask connected to the TAN-chain network.

  • Deploy the Contract:

    • Ensure TEP20Token is selected in the contract dropdown.

    • Click the Deploy button.

Congratulations!! You have successfully deployed your TEP1155 token contract on the TAN-chain network using Remix IDE.

🚀
👨‍💻
📃
Remix IDE