Skip to content
/ gate3 Public

Gate API for web3 applications at Brave

brave/gate3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gate3

Build Status python

A FastAPI-based gateway service for web3 applications at Brave.

Documentation: gate3.bsg.brave.com/docs (requires Brave VPN)

Prerequisites

  • Python 3.13 or higher
  • Poetry for dependency management
  • Redis server

Development

Setup

  1. Clone the repository:

    git clone https://github.com/brave/gate3.git
    cd gate3
  2. Install dependencies using Poetry:

    poetry install
  3. Run unit tests

    poetry run pytest
  4. Run Redis server

    redis-server
  5. Run the development server using FastAPI:

    poetry run fastapi dev

Deployments

Deployments are managed using the generalized docker build pipeline. To create a new deployment, simply publish a new release on GitHub.

gate3 is currently deployed to the following environments:

Environment Access Control URL
Production (internal) Internal Brave VPN gate3.bsg.brave.com
Production Brave Services Key gate3.wallet.brave.com
Staging Brave Services Key gate3.wallet.brave.software

About

Gate API for web3 applications at Brave

Topics

Resources

Stars

Watchers

Forks

Contributors 5