# Inscription-wallet, on Windows

## A Complete Guide to Minting DRC-20 Tokens on Windows

The following guide will walk you through the process of setting up your environment and minting DRC-20 tokens on Windows using VeryDogeLab's Inscription Wallet. \
This process involves several key steps, including system setup, account registration on getblock.io, wallet creation and funding, and ultimately, the minting process.

### System Setup

#### Download and Install Git

1. Visit the [Git official site](https://git-scm.com/) and download the Git for Windows installer.
2. Run the installer and follow the prompts to install Git. \
   Remember the location where Git is installed.

#### Download and Install Node.js

1. Visit the [Node.js official site](https://nodejs.org/) and download the LTS (Long Term Support) version.
2. Run the installer and follow the prompts to install Node.js. \
   The Node.js package includes both Node.js and the npm package manager.

#### Clone Inscription Wallet Repository

1. Open Git Bash, which was installed with Git. \
   You can do this by searching for 'Git Bash' in your Start Menu.
2. Clone the repository with the following command: `git clone https://github.com/verydogelabs/inscription-wallet.git`.

{% hint style="info" %} <mark style="color:blue;">You can also navigate into a specific folder by doing cd command.</mark>\ <mark style="color:blue;">If you're only following those 1-2 steps, you inscription-wallet folder will be located in :</mark> \ <mark style="color:blue;">C/Users/USERNAME/inscription-wallet</mark>&#x20;
{% endhint %}

### Register and Generate API Key on Getblock.io

1. Visit [Getblock.io](https://getblock.io/) and sign up for a new account.
2. Once logged in, generate your Dogecoin API key by selecting 'Dogecoin' as the protocol and 'Mainnet' as the network, then clicking 'Get'.
3. A new entry will appear under 'My endpoints', formatted as: `https://doge.getblock.io/YoutAPIKey/mainnet/`. \
   This is your API key—keep it safe and do not share it.

### Configure Your Environment

1. Navigate to the `inscription-wallet` directory in Git Bash: `cd inscription-wallet`.
2. Create a new `.env` file by copying the example file: `cp .env.example .env`.
3. Open the `.env` file in a text editor and fill in the following information:

```bash
NODE_RPC_URL=https://doge.getblock.io/YoutAPIKey/mainnet/
NODE_RPC_USER=
NODE_RPC_PASS=
TESTNET=false
FEE_PER_KB=5000000
```

Replace `YourAPIKey` with your actual API key from Getblock.io.

### Install bitcore-lib-doge

1. In your inscription-wallet folder, launch the following command :&#x20;

```
npm install bitcore-lib-doge
```

### Create and Fund Your Wallet

1. Create a new `.wallet.json` file with the command: `node . wallet new`. \
   This will generate a new Dogecoin address.
2. Send Dogecoin to the newly created address. \
   We recommend sending at least 200 DOGE if you plan on minting tokens rapidly.

### (Optional) Split UTXOs

If you plan to mint a large number of tokens, consider splitting your Unspent Transaction Outputs (UTXOs) to facilitate multiple transactions concurrently. \
\
To split your UTXOs, use the command: `node . wallet split <count>`. \
We recommend splitting into 50 UTXOs.

### Sync Your Wallet

Sync your wallet with the command: `node . wallet sync`. \
You should see the amount of Dogecoin received by your wallet.

### Mint DRC-20 Tokens

You can mint tokens individually with: \
`node . drc-20 mint <WALLET> <TICKER> <AMOUNT>`, or in bulk. \
If you want to use the bulk minting command, refer to the quick minting guide for more detailed instructions.

**Congratulations!** \
**You're now ready to mint DRC-20 tokens on Windows using VeryDogeLab's Inscription Wallet.**


---

# 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://docs.doginals.academy/eng/expert-guides/how-to-mint-vps/inscription-wallet-on-windows.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.
