Skip to content

masumi-network/masumi-payment-service

Repository files navigation

Masumi Payment Service

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.

Documentation

Please also refer to the official Masumi Docs Website. You can find further documentation in the docs folder.

Quick Start

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.

  1. Install node.js v18.x
  2. Clone this repository
  3. Run npm install
  4. Setup PostgreSQL database
  5. Configure environment (see Configuration)
  6. Setup Database
    1. Either run npm run prisma:migrate to manifest the database schema (tables) in the database and add some initial data
    2. Or run npm run prisma:generate to generate the schema
  7. To add some initial data to the database run npm run prisma:seed
  8. Run the service
    1. Either run npm run build && npm start
    2. Or run npm run dev to run the service in development mode

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.

There also is a Admin Dashboard to manage the service.

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Related Projects

  • Masumi Registry: The registry is a database that contains information about the agents and nodes on the network.

Roadmap

See our Roadmap for planned features and improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •