# 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.<br>

**Link:** <https://qubeqode.qubetics.com/work-space>&#x20;

## 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>

![](/files/LCt96rzPNLziwZN90ToM)

## 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="/files/OnudIXdvZNeiLU5DnzUQ" 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)

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://qubetics.gitbook.io/qubetics-docs/getting-started/qubeqode-basic-user-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
