ActionGate

Intro

TODO Creating a blockchain transaction is a complex process. You need to gather all the necessary data, build the transaction in the form of the bytecode (so it becomes short and the blockchain can process it efficiently), sign it, send to the blockchain node, verify the submission and check the result of TX processing. It's a complex process. TX submitter simplifies that - it exposes REST API to the games and does all the work.

TODO By using TX Submitter you simplify integration with the blockchain. But not only that - TX Submitter provides a convenient and safe way to store private keys of AppAgent admins, needed to sign transactions and control all on-chain assets and entities.

How it works

TODO it's a microservice connected to the blockchain node. It exposes REST API. Once it receives request from the game' backend app - it creates and submits a blockchain transaction. When the TX is processed - it fetches its state. Then backend app can make a request to REST API and fetch status of TX processing. Then backend app can make a request to Indexer REST API to see the blockchain changes.

Detailed docs

TODO link to the detailed docs in the GitHub repo

Last updated