RallyProtocol
Unity
Unity
  • Getting Started
    • Overview
    • Installation
  • Embedded wallets
    • Getting started
    • Create wallets
    • Manage wallets
    • How it works
  • Gasless Transactions
    • Getting started
    • Read balances
    • Transfer tokens gaslessly
    • Deploy a contract gaslessly
    • Transact with a contract gaslessly
    • Using without embedded wallets
      • Getting started
      • Typescript Example
  • Resources
    • Full API Reference
    • Guides
    • Example dapps
    • Videos
    • Supported tokens
    • Community libraries
    • FAQs
  • Links
    • Twitter
    • Warpcast
    • Discord
    • Github
    • Blog
    • Youtube
Powered by GitBook
On this page
  • Overview
  • Get an API key for gasless transactions
  • Using an existing Gas Station Network Client Library.
  • Submitting Requests Without a GSN Library
  1. Gasless Transactions
  2. Using without embedded wallets

Getting started

PreviousUsing without embedded walletsNextTypescript Example

Last updated 8 months ago

Overview

RallyTransact's gasless transactions can be utilized outside of the RallyMobile SDK such as from a backend, web dapp, desktop, etc. Submitting transactions to RallyTransact is a 2 step process:

  1. Sign a transaction on the client (web, backend, etc)

  2. Create a HTTP request containing a JSON payload with details about the transaction you'd like to relay.

Get an API key for gasless transactions

An API key is required to use the infrastructure to power gasless transactions. Visit to generate both Amoy and Mainnet Polygon API keys.

Using an existing Gas Station Network Client Library.

Our hosted transaction infrastructure honors the interface with the addition of an authentication HTTP header containing your API key. If you're already using a GSN client the following steps should be all you need to change:

  1. Set https://api.rallyprotocol.com as your relay URL.

  2. Add the following header to the HTTP request Authorization: Bearer <YOUR_API_TOKEN>

Submitting Requests Without a GSN Library

Examples coming soon. Reach out to us on and we'll happily walk you through it

https://app.rallyprotocol.com/
Gas Station Network
Discord