Skip to content

InternetMaximalism/intmax2-functions

Repository files navigation

intmax2-functions

This document provides instructions for setting up, running, building with Docker, and deploying the intmax2-functions project.

Installing Dependencies

First, install the project dependencies, build the project, and set up the environment.

# install
yarn

# build:shared
yarn build:shared

# build
yarn build

# setup env
cp .env.example .env

Running the Project

To start the development mode for each workspace, use the following commands:

API

yarn workspace <package-name> dev

# ex.
yarn workspace indexer dev

JOB

yarn workspace <package-name> dev

# ex.
yarn workspace block-sync-monitor dev

Packages Structure

packages
├── block-sync-monitor
├── deposit-analyzer
├── indexer
├── indexer-monitor
├── messenger-relayer
├── mock-l1-to-l2-relayer
├── mock-l2-to-l1-relayer
├── predicate
├── shared
├── token
├── token-data-fetcher
├── token-mapper
└── wallet-observer

Local Emulator

gcloud emulators firestore start
export FIRESTORE_EMULATOR_HOST="HOST:PORT" # We will use what is displayed in the console.

About

INTMAX2 Functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published