https://github.com/fuseio/fusebox-backend
https://github.com/fuseio/fusebox-backend
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fuseio/fusebox-backend
- Owner: fuseio
- Created: 2022-05-09T08:26:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2026-01-26T09:40:28.000Z (5 months ago)
- Last Synced: 2026-01-26T23:50:20.927Z (5 months ago)
- Language: TypeScript
- Size: 6.69 MB
- Stars: 5
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
Fusebox is a comprehensive development framework designed for constructing applications on the Fuse Network. It provides a set of APIs that cater to various functionalities:
1. Account Abstraction API: This API enables the creation and administration of smart wallet accounts built on the ERC4337 standard.
2. Data API: Utilize this API to retrieve on-chain data related to your users, including information such as balances, token specifics, and transaction history.
3. Feed API: The Feed API offers a user-friendly stream of wallet actions, making it easy to display wallets activity.
4. Notification API: Subscribing to the Notification API allows you to receive updates on wallet events and activities pertaining to your customers.
5. Trading API: This API facilitates trading activities and provides access to trading-related data.
## Tech Stack
Fusebox Backend API developed with [Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
## Installation
```bash
$ npm install
```
## Environment
Set the environment variables by running
```bash
cp .env.example .env
cp apps/charge-api-service/.env.example apps/charge-api-service/.env
cp apps/charge-app-service/.env.example apps/charge-app-service/.env
cp apps/charge-network-service/.env.example apps/charge-network-service/.env
cp apps/charge-relay-service/.env.example apps/charge-relay-service/.env
cp apps/charge-accounts-service/.env.example apps/charge-accounts-service/.env
cp apps/charge-notifications-service/.env.example apps/charge-notifications-service/.env
cp apps/charge-smart-wallets-service/.env.example apps/charge-smart-wallets-service/.env
```
Make sure you update the .env files with necessary variable values before proceeding to the next step.
## Running the app
```bash
#docker full debug
$ npm run docker:full-debug
"Then run the 'Debug: Charge' configuration in launch.json through the debugger in VS Code"
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
```