TOY Chain
  • Introduction
  • TOY CHAIN
    • TOY Blockchain
    • TOY Foundation
  • TOY CHAIN Protocol
    • TOY Technical Insights
      • Rollups
      • Arbitrum
      • Orbit Chains
      • Anytrust
    • TOY Security Considerations
    • Add TOY CHAIN Testnet to Metamask
    • Bridge Assets to TOY CHAIN Testnet
    • Receive Faucet Funds
    • Deploy on TOY CHAIN Testnet
      • Foundry
      • Hardhat
      • Remix
    • Block Explorer
    • Bridge UI
    • Hub Page
  • TOY CHAIN Ecosystem
    • Platform
      • TOY Wallet
      • TOY Marketplace
      • TOY Social HUB
      • TOY Builder
    • Games
      • Citizen Conflict
      • AneeMate
      • Partner Games and Publishing Thesis
    • Artificial Intelligence
      • TAIX - AI Consumer Engine
      • AI Real-Time Assistants & Smart NPCs
      • AI Agent Marketplace
      • Developer-Focused AI Tools
    • TOY CHAIN DAO
      • Core Responsibilities
      • Participation in Governance
      • Transparent and Efficient Decision-Making
  • TOY Token
    • Utilities and Use Cases
    • TOY Token’s Utility & Purpose
    • Burning & Deflationary Mechanics
  • TOY CHAIN Strategic Partners
    • QORPO World
    • Sequence
    • Amazon Web Services
    • Caldera
  • Important Links
  • Roadmap
  • Build with TOY
    • Getting Started
    • Embedded Wallet
    • Sequence Kit
    • Analytics
    • Indexer
    • Marketplace
    • Smart Contract Suite
    • Conclusion
Powered by GitBook
On this page
  • What is Remix?
  • Getting Started with Remix
  • Deploying Your Smart Contract
  1. TOY CHAIN Protocol
  2. Deploy on TOY CHAIN Testnet

Remix

What is Remix?

Remix Project is a robust set of tools that can be used by individuals of any skill level throughout the entire process of developing contracts, and it also serves as an educational platform for learning and experimenting with Ethereum.

Getting Started with Remix

  1. Visit Remix to get started.

  2. Under Featured Plugins, select Solidity.

  3. Navigate to the File Explorer and click "+" to create a Smart Contract

  4. Input your smart contract or use the sample contract below.

// SPDX-License-Identifier: MIT
// compiler version must be greater than or equal to 0.8.17 and less than 0.9.0
pragma solidity ^0.8.17;
 
contract HelloWorld {
    string public greet = "Hello World!";
}
  1. Navigate to the Compile sidebar option and click Compile.

Deploying Your Smart Contract

Once you have written your Smart Contract in Remix, you can navigate to the sidebar option to Compile your contract.

  1. Change the top ENVIRONMENT dropdown from "Javascript" to "Injected Web3"

  2. This will take you MetaMask - Press connect in Metamask to allow Remix access.

  3. Add your network to Metamask using these parameters from Toy Chain Testnet:

    • Network Name: Toy Chain Testnet

    • Chain ID: 21000000

    • Currency Symbol: TOY

PreviousHardhatNextBlock Explorer

Last updated 4 months ago

New RPC URL:

Block Explorer URL:

https://toy-chain-testnet.rpc.caldera.xyz/http(opens in a new tab)
https://toy-chain-testnet.explorer.caldera.xyz/