# Testing Inside Editor

## In-Editor Wallet

To be able to test transactions and whatever else while you are developing, [**WalletService** ](../../solana-godot-sdk/configuration#wallet-configuration)provides a generated wallet. If you check _Use Generated_ on, when you start the game, a keypair will be automatically generated for you. The same one each time, using your device's ID as the seed.

This wallet is going to be empty at first, but you can send tokens and NFTs to it by using its public key. To make sure to not lose the contents of said wallet, you can uncomment the part of the script in _wallet\_service.gd_ which reveals its private key. You can use it to import the wallet into your favourite wallet provider

<figure><img src="https://3564869985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbBsXAvrfZka40bbQ0val%2Fuploads%2F1vn7CSYHPc8H79RSX7oL%2Fimage.png?alt=media&#x26;token=40dd901e-38cd-4958-b31c-95ae50f36343" alt=""><figcaption></figcaption></figure>

Alternatively, you can use your own existing wallet for testing. To do that, you need to export the private key of the desired wallet and paste it into a text file. Then in the inspector of **WalletService** node, you can add the path to the text file with your keypair in the _Custom Pk Path_ field.

## Testing the Build

while being able to test your game inside editor with transactions that get automatically approved, it is vital to be able to quickly test the build version as well!

One crucial thing that is often overlooked while developing a Web game is that you can quickly launch the localhost version as easily as going into the Play mode. To enable that option, go to _Project -> Export -> New_ and select **WEB** option.&#x20;

<figure><img src="https://3564869985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbBsXAvrfZka40bbQ0val%2Fuploads%2FvxesnHhHSSEV728VSMq9%2Fimage.png?alt=media&#x26;token=4327ce75-8472-474b-8de5-f87d25c12964" alt=""><figcaption></figcaption></figure>

Once you add it in, Godot will ask you to download the necessary drivers to allow the web building. When that's done, you will see an additional button available among the play scene buttons - Remote Debug. Click it and you will be able to test the game in web, without needing to build it!

<figure><img src="https://3564869985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbBsXAvrfZka40bbQ0val%2Fuploads%2FQ4SNYR8W7Xb13jWb6eTR%2Fimage.png?alt=media&#x26;token=d11e6798-05ef-4c6e-ae3c-fd7bf605fd4f" alt=""><figcaption></figcaption></figure>

**PROTIP**: When you're testing in web, use a hotkey of _CTRL+SHIFT+I_ to open the console and inspect the errors and everything else.
