# QubeQode Basic User Guide

## Introduction

This guide provides step-by-step instructions to deploy any smart contract on the Qubetics blockchain. You’ll learn how to set up your development environment, write and compile the contract, and deploy it using the QubeQode Basic.

## Prerequisites

Before you start, ensure you have:

* Basic knowledge of Solidity and smart contracts.
* An EVM-compatible wallet such as MetaMask with the Qubetics blockchain network.\\

## Steps to add Qubetics Network to Metamask Wallet

1. **Open Metamask:** Launch the Metamask extension\
   ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdoD-RocnmiPgpXZcE_ltZOVBzQYDtXlduoZs0ZT2yoK9qCsq6DE3jumqTski83v0P3PGMtvQsdcZBFAyyDaPDrDkF_PVyqiLKDI5hm0fZQV8JfA39Q6X-TvTYFjIg22Leyr37X?key=PwX9opEeB3jFX7zMtydGPkhB)
2. **Access Network Settings:**

* Click on the Network Selector dropdown at the top of the MetaMask interface *(usually showing "Ethereum Mainnet" by default)*.\
  ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXekKZCyRt5wwVPCNJRCxoIcx77PO6yuD5uc-NFYSXl-9U1qzXiUJnCz9-z3f5V_65_hzvRH3DH0R48VeYq851wXbxkkH9WAg6ltpjuK2U2eSS2DNPO0lbo875MWiUkcuosVvqyxrg?key=PwX9opEeB3jFX7zMtydGPkhB)
* Select ***"Add Network"*** or ***"Add a Network Manually"***.

3. **Add a Custom RPC Network:** In the ***"Add a network"*** screen, click ***"Add a network manually"*** to input the custom details.\
   ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdkEY7xnwkoLM6ArLEw428hmQDlyEZNNtFFnCPTc0tldqW-wE5n3frSus8Nli93-fKz0lTMElhNYz32XsyHYf8uWEMPOuOAYJiP76S-5fZROsqzizinQ-XXo7S3LS2ygNN5VeSm-Q?key=PwX9opEeB3jFX7zMtydGPkhB)
4. Fill in Network Details\
   Enter the required blockchain network information:

<table><thead><tr><th width="186.06597900390625">Properties</th><th>Network Details- Mainnet</th><th>Network Details- Testnet</th></tr></thead><tbody><tr><td>Network Name</td><td>Qubetics Mainnet</td><td>Qubetics Testnet</td></tr><tr><td>New RPC URL</td><td>https://rpc.qubetics.com</td><td>https://rpc-testnet.qubetics.work</td></tr><tr><td>Chain ID</td><td>9030</td><td>9029</td></tr><tr><td>Currency Symbol</td><td>TICS</td><td>TICS</td></tr><tr><td>Explorer URL</td><td>https://ticsscan.com</td><td>https://testnet.qubetics.work</td></tr></tbody></table>

![](https://2711441218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F36u23gOZEZc21qS2BbPV%2Fuploads%2F0CRa1xHqbY4cR2F7fJRz%2Fimage.png?alt=media\&token=81e32511-3f88-4390-9c93-945a877da968)

## Connecting to the Qubetics Network

To add the Qubetics network to MetaMask, there are 2 options:

**Method 1: To add the network with a single click**\
Connect MetaMask to Qubetics Network

* Open the Qubetics Explorer.\
  ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfjo2N8wnORsKn46oTEFInkAMT3U2-h6CntqY7w0MjqSAo4xLWTXO_9bQnTHyuPYcqpUdiSfArL7mOChRUmc6flP4FykRBbbRY9JW9N1wYgZc_4ys2AcNXzGkMqELs_pj9pBoOwpQ?key=PwX9opEeB3jFX7zMtydGPkhB)
* Click on "Add Qubetics Network" to automatically connect your wallet to the Qubetics blockchain.\
  ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdfSebCGtH8pDOXpUydPfDYwcsA_ctc1yX582OwwkTXvdUv70AZbayr7Eohj0BIOOgxH2-8bZNDQXLDkpT8WMJjtsqSPUmPmBN4i4IUlPzeyjUOyNbKudZ9lnvXdI2NqF-OnjyH?key=PwX9opEeB3jFX7zMtydGPkhB)

**Method 2: Manually Adding Network**\
Alternatively, if you want to add the network manually, ensure your MetaMask is upgraded to version 12.9.2 or higher. Enter the following details in MetaMask:

<table><thead><tr><th width="178.56597900390625">Properties</th><th>Network Details- Mainnet</th><th>Network Details- Testnet</th></tr></thead><tbody><tr><td>Network Name</td><td>Qubetics Mainnet</td><td>Qubetics Testnet</td></tr><tr><td>New RPC URL</td><td>https://rpc.qubetics.com</td><td>https://rpc-testnet.qubetics.work</td></tr><tr><td>Chain ID</td><td>9030</td><td>9029</td></tr><tr><td>Currency Symbol</td><td>TICS</td><td>TICS</td></tr><tr><td>Explorer URL</td><td>https://ticsscan.com</td><td>https://testnet.qubetics.work</td></tr></tbody></table>

<div align="left"><figure><img src="https://2711441218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F36u23gOZEZc21qS2BbPV%2Fuploads%2FGKJaEu9y8bvdQgc8elTs%2Fimage.png?alt=media&#x26;token=b8b7b35f-5521-40a5-8403-06bc04916d5d" alt="" width="354"><figcaption></figcaption></figure></div>

2. **Confirm Connection:** Once the network is added, your MetaMask wallet will connect to the Qubetics blockchain. Ensure you can see your wallet address and balance.

\
![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdGPQBgo1gehE0sH2Er2XehWF87SjFYWput7u0GniZ2j7eQT55mbYrKBjizKbTUn7AavJFmGeta5pDWD6jHLgdS01FWNDS_VlTFXlphu0FImqyDT07CjTtdjZ2K0uoa4KVRVWpS1A?key=PwX9opEeB3jFX7zMtydGPkhB)

\\
