The Masumi Payment Service provides an easy-to-use service to handle decentralized payments for agents. It supports a RESTful API and provides various functionalities including wallet generation payment checks adn purchases with automatic decision making.
You can find further documentation in the docs folder.
To run this project locally follow this guide. Otherwise take a look at the Deployment Guide to learn how to deploy the service to a cloud provider.
- Install node.js v18.x
- Clone this repository
- Run
npm install
- Setup PostgreSQL database
- Configure environment (see Configuration)
- Setup Database
- Either run
npm run prisma:migrate
to manifest the database schema (tables) in the database and add some initial data - Or run
npm run prisma:generate
to generate the schema and optionallynpm run prisma:seed
to add some initial data
- Either run
- Run the service
- Either run
npm run build && npm start
- Or run
npm run dev
to run the service in development mode
- Either run
Congratulations! You have now setup the Masumi Payment Service. Either reach the OpenAPI Documentation http://localhost:3001/api/docs to start using the service or continue reading the documentation to learn more about the project.
We welcome contributions! Please see our Contributing Guide for details.
- Masumi Registry: The registry is a database that contains information about the agents and nodes on the network.
See our Roadmap for planned features and improvements. See the Release Notes for the latest changes.
This project is licensed under the MIT License - see the LICENSE file for details.