# การใช้งาน Bot ครั้งแรก

เมื่อติดตั้ง และตั้งค่าต่าง ๆ ให้ Bot เสร็จเรียบร้อยแล้ว จะใช้ Bot ครั้งแรก มี 3 ขั้นตอนที่ต้องทำดังต่อไปนี้

## 1. เติม Gas&#x20;

![](/files/-Mi7Uj10m42P18ro7_Ls)

การเติม Gas คือ การโอน Gas Token จาก Wallet อื่น ๆ ใน Network เดียวกัน เข้ามายัง Wallet Address ที่เราจะใช้ Run Bot เช่น

* ถ้าเป็น Network BSC (Binance Smart Chain) ให้โอน `BNB` Token มายัง Wallet Address ที่จะใช้งาน
* ถ้าเป็น Network Polygon ให้โอน `MATIC` Token มายัง Wallet Address ที่จะใช้งาน
* ถ้าเป็น Network Bitkub ให้โอน `KUB` Token มายัง Wallet Address ที่จะใช้งาน

**คำถาม**&#x20;

ควรที่จะโอนมาเท่าไหร่

**คำตอบ**

โอนมาให้เพียงพอที่จะทำ Transaction แรก (Bot ใช้ในการเติม Gas ให้อัตโนมัติ) ได้ เช่น&#x20;

* Network BSC อาจจะโอนมาอย่างน้อย 0.002 BNB เป็นต้น
* Network Polygon อาจจะโอนมาอย่างน้อย 0.002 MATIC เป็นต้น
* Network Bitkub  อาจจะโอนมาอย่างน้อย 0.002 KUB เป็นต้น

หรือ อาจจะโอนมามากกว่านี้ก็ได้

สำหรับคนที่อยากเข้าใจเรื่อง Gas มากขึ้น ลองทำความเข้าใจจากวิดีโอนี้ดู

* <https://www.youtube.com/watch?v=gCn_1sQtfcg>

ขอขอบคุณเจ้าของวิดีโอมาก ๆ

## 2. โอน Token มายัง Wallet Address ที่สร้างไว้ใน iWallet &#x20;

![](/files/-Mi7YBnay4mY3tyR8fsG)

ถัดมา ทำการโอน Token A และ Token B ที่เลือกไว้ เข้ามาใน iWallet ตาม Wallet Address ที่สร้างไว้

## 3. ปล่อยให้ Bot ทำ Rebalance ให้

จากนั้นก็แค่รอเวลาให้ Bot ทำ Rebalance ให้ตามเงื่อนไขที่ตั้งไว้ ไม่ต้องทำอะไรเพิ่ม แค่รออย่างเดียว&#x20;

## ข้อควรระวัง

การโอน Token จาก Wallet อื่นมายัง iWallet แนะนำให้

1. เช็ค Token Address ต้นทาง และ Token Address ปลายทางก่อน ว่าเป็น Token Address ตัวเดียวกันจริง ๆ&#x20;
2. เช็ค Network ต้นทาง และ Network ปลายทาง โดยต้องเป็น Network เดียวกันเท่านั้น
3. เช็คความถูกต้องของ Wallet Address ว่าโอนมาถูก Address แล้วจริง ๆ

เพราะถ้าทำผิด **จะไม่สามารถกู้คืน Token ที่โอนผิดได้**&#x20;

## คำแนะนำ

* แนะนำให้ลองโอนน้อย ๆ เพื่อเช็คความถูกต้องดูก่อน ว่าโอนได้จริงมั้ย และทำ Rebalance ได้จริงมั้ย&#x20;
* แนะนำให้โอน Token B (Stablecoin) มาก็พอแล้ว แล้วให้ Bot ทำ Rebalance ให้
  * Bot จะนำ Token B ส่วนนึงไปเติม Gas (ถ้า Gas เหลือน้อย) และ
  * นำ Token B ส่วนนึงไปซื้อ/แลกเปลี่ยน (Swap) เป็น Token A ให้เองโดยอัตโนมัติ  ตามเงื่อนไขที่ตั้งไว้


---

# 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://iwallet.jittagornp.me/first-time-to-use.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.
