# In-Game Wallet

*At the initial stage of testing the game our team and players faced the problem of high commissions of the blockchain network. Despite the fact that the BSC network is quite fast and cheap (in terms of fees) it quickly becomes expensive for the player when you need to make a few hundred transactions to enchant your rare talisman or to feed your favorite Beastie.* :scream: *As the Magic Beastie Development Team is constantly improving our product in response to requests from our players, we had to brave this problem and came up with the "In-Game Wallet" solution.* :muscle:

### What is "In-Game Wallet"?

Technically it is a complex set of elements consisting of a smart contract, observers and the backend. In practice, it is a very easy-to-use mechanism for the player to exchange on-chain tokens for in-game tokens and vice versa. The player can receive and spend in-game tokens without any commission.

Withdrawals are as easy as deposits. You can buy cookies on the exchange and deposit them to your wallet to spend them without commissions to improve your items and Beasties. Also, you can withdraw cookies earned in the dungeons and sell them on the exchange.

{% hint style="success" %}
Network commission (gas fee) for deposit/withdraw is about **$0.10** :thumbsup:
{% endhint %}

### Deposits

To top up your in-game wallet you need to go into your in-game wallet (<https://beasties.online/dapp/wallet>), then select COOKIES or BSTS, enter the amount and click "Deposit". Then you need to confirm the transaction in your wallet and that's it!

{% hint style="warning" %}
Deposits are usually made within about 1 minute, but may take up to 20 minutes, depending on the BSC network.
{% endhint %}

### Withdrawals

To withdraw in-game tokens to your on-chain wallet you need to go to your in-game wallet ([https://beasties.online/dapp/walle](https://beasties.online/dapp/wallet)t) then select COOKIES or BSTS, enter the amount and click "Withdraw". Then you need to confirm the transaction in your wallet and that's it!

{% hint style="warning" %}
Withdrawals are usually made within about 5 minutes, but may take from 20 to 40 minutes, depending on the BSC network.
{% endhint %}

### Contract

You can find the wallet contract here:

{% embed url="<https://bscscan.com/address/0xb00d0a3b732A8355FC6812e45348c8d67786875e>" %}


---

# 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.beasties.online/in-game-wallet.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.
