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:
- Account Abstraction API: This API enables the creation and administration of smart wallet accounts built on the ERC4337 standard.
- Data API: Utilize this API to retrieve on-chain data related to your users, including information such as balances, token specifics, and transaction history.
- Feed API: The Feed API offers a user-friendly stream of wallet actions, making it easy to display wallets activity.
- Notification API: Subscribing to the Notification API allows you to receive updates on wallet events and activities pertaining to your customers.
- Trading API: This API facilitates trading activities and provides access to trading-related data.
Fusebox Backend API developed with Nest framework TypeScript starter repository.
$ npm install
Set the environment variables by running
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.
#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