Qubetics Docs
  • Getting Started
    • Quickstart
    • Network Architechture
    • Qubetics: TICS Token
    • Add Qubetics Network
    • Get TICS tokens
    • Testnet Node Setup
      • How To Become a Validator
    • Validator Application: User Guide
      • Validator Login
      • Validator Dashboard
      • Setup as a Validator
      • Blocks Page
      • Validators
        • Active Validators Tab
        • Inactive Validator Tab
        • Deactivated Validator Tab
      • Validator Details
      • Manage Account
        • Profile Details
          • Bond More Funds
          • Unbond Funds
          • Stop Validator
    • How To Become a Delegator
    • Delegator Application: User Guide
      • Login
      • Dashboard
        • Bond More Funds
        • Unbond Funds
        • Redelegate Funds
      • Wallet Activities
      • Setup Delegator Bond
      • All Validators
      • Validator Details Page
    • TICS Scan User Guide
      • Dashboard
      • Block Summary
      • Block Details
      • Transactions Summary
      • Transaction Details
      • Address Detail
      • Tokens
      • Validators
      • Nodes
        • Node Sync
      • Contract List
      • Contract Detail
        • Transaction Tab
        • Transfers Tab
        • Holders Tab
        • Event Tab
        • Contract Tab
          • Read Contract Tab
          • Write Contract Tab
        • Analytics Tab
      • Contract Verification
      • Token Icon
      • Faucet
    • Qubetics IDE User Guide
    • QubeQode Basic User Guide
      • Workspace
      • Compile
      • Deploy
  • QubeQode Pro User Guide
    • Choose your plan
    • Start Chat
      • Generated Code Preview
      • Deploy Step-1
      • Generated Code
    • Settings
  • Basics
    • Editor
    • Markdown
    • Images & media
    • Interactive blocks
    • OpenAPI
    • Integrations
Powered by GitBook
On this page
  • Overview of the Workspace Interface
  • Step-by-Step Guide to Using the Workspace
Export as PDF
  1. Getting Started
  2. QubeQode Basic User Guide

Workspace

Overview of the Workspace Interface

  1. Work Space Navigation Panel

    • Located on the left-hand side, this panel provides quick navigation between the following key actions:

      • Work Space: The main area where you define and customize your smart contract.

      • Compile: Allows you to compile the smart contract to identify syntax or logical errors.

      • Deploy: Facilitates the deployment of the compiled contract to the blockchain.

  2. Contract Categories

    • At the top of the workspace, you can choose from various contract types:

      • ERC20: For creating fungible tokens.

      • ERC721: For creating non-fungible tokens (NFTs).

      • ERC1155: For multi-token standards.

      • Stablecoin: For creating pegged assets.

      • Real-World Asset: For tokenizing tangible assets.

      • Governor: For building governance contracts.

      • Custom: For creating custom smart contracts.

  3. Settings Panel

    • Located on the left side of the workspace, this section allows you to customize your smart contract with various options:

      • Name and Symbol: Specify the token's name and symbol (e.g., "My Token," "MTK").

      • Pre-mint: Define the initial supply of tokens to be minted upon contract creation.

      • Features:

        • Mintable: Enables token minting after deployment.

        • Burnable: Allows token holders to burn (destroy) tokens.

        • Pausable: Adds the ability to pause contract functionality in certain scenarios.

        • Permit: Enables gasless approvals using EIP-2612.

        • Flash Minting: Supports flash loans with immediate repayment.

      • Voting Options:

        • Block Number: Voting based on blockchain block numbers.

        • Timestamp: Voting based on timestamps.

      • Access Control:

        • Ownable: Grants ownership-based access control.

        • Roles: Enables role-based permissions for contract management.

        • Managed: Allows for advanced management of contract functionalities.

      • Upgradeability: Adds support for upgradable contracts.

  4. Code Editor

    • The central area displays the generated Solidity code based on the selected options in the settings panel.

    • Users can preview, edit, or copy the code for further modifications.

    • The editor includes comments and import statements for necessary libraries like ERC20 and ERC20Permit.

  5. Download Button

    • Located in the top-right corner, the "Download" button lets you export the generated Solidity code file for external use.

Step-by-Step Guide to Using the Workspace

  1. Choose a Contract Type

    • Select the desired contract type (e.g., ERC20) from the tabs at the top.

  2. Configure Contract Settings

    • Enter the Name and Symbol for your token.

    • Adjust additional settings like pre-minting, mintability, burnability, and more, depending on your use case.

  3. Customize Access Control and Voting

    • Enable access control mechanisms such as ownership or roles.

    • Configure voting mechanisms based on block numbers or timestamps if applicable.

  4. Preview and Edit the Code

    • Review the generated Solidity code in the editor.

    • Make manual changes if necessary to meet advanced or unique requirements.

  5. Download the Code

    • Once satisfied with the contract, click the "Download" button to save the Solidity file for further compilation or deployment.

PreviousQubeQode Basic User GuideNextCompile

Last updated 4 months ago