Skip to main content

Get Started

Before you begin​

  • .NET 5.0
  • Create a Bearer Token in the MetX Games Platform

Downloading the wallet autosigner (Latest 0.1.1)​

The MetX Autosigner will be downloaded and run on your server. The video below shows a demo for running the autosigner in MacOS.

Download the wallet autosigner here:Wallet Autosigner 0.1.1 Windows 10 x64
- Run Autosigner.exe

Starting the Wallet Autosigner service​

Run the executable on your server. The entrypoint is Autosigner.dll or the executable file if available. Successfully starting will show something like the below image.

The autosigner will try to run on port 8081. You can change this via appsettings.json.

Example banner

Next, access the base url of this service via browser to access the initializer page. If you're on localhost, you can open localhost:8081. This page can only be accessed when this service is started. Ideally, only access this locally or via secure forwarding.

Example banner

You will be asked to input your private key. This will be partially encrypted by the access token when it is generated. This is the private key obtained from Sirius Wallet. For more info on setting up wallet or private key, visit the wallet setup section of the documentation.

Example banner

Then, select the blockchain node you will be using for your game. We have testnet for testing, and mainnet for production!

Example banner

Optionally, add a salt for the access token!

Example banner

Initializing the service​

Clicking on Initialize will generate a no-expiry Bearer that you can use when sending requests to the autosigner. It is not advisable to call the autosigner directly from your game client.

Example banner

caution

Be sure to keep your Wallet Autosigner Access Token in a safe place. Ideally, you should only pass this access token from your game server to your Wallet Autosigner.

If you think your Access Token is compromised, you can revoke the key by restarting the Wallet Autosigner and generating a new one.

After this, you can close the page and start using the wallet autosigner!

tip

Make sure you are on the correct node when creating and testing transactions. You can change this anytime after initialization. Check the testnet and mainnet guides.

Testnet: https://test-games.metaxar.io/ Mainnet: http://games.metaxar.io/

We're continuously working to improve the security of the microservice. Multisig incoming, so stay tuned!