Raising the decentralization of 1inch protocol through implementing p2p storage network client for 1inch Fusion

Description

1inch recently launched a new [Fusion mode](https://1inch.io/fusion/). Users need to create an order to make the trade. Order can be stored through p2p network and executed based on 1inch Limit Order protocol. Solution must allow store and return data about user orders via REST API with the same specification as described at 1inch docs [here](https://docs.1inch.io/docs/limit-order-protocol/api). Solution must be MIT license based. Any party must have an opportunity to run solution inside docker container. The sync mechanism must be also implemented, you can use any third party open source libraries like libp2p https://libp2p.io.

Acceptance criteria

  • Simplicity to run

  • Performance of API (latency + RPS using through localhost) and speed of the sync between nodes (amount of orders per hour)

  • Quality of code base (using basic patterns, modern languages, good project observability) and tests coverage (Unit + Integration tests)

  • Implementation of data structures and API methods as described at [docs](https://docs.1inch.io/docs/limit-order-protocol/api)

Nice to haves:

  • Documentation (how to use, how to contribute)

  • Multiple options for storage (built in storage like SQLite or something like PostgreSQL)

Rewards

5000 reward pool

Resources

API specification for storage
https://docs.1inch.io/docs/limit-order-protocol/api
Limit Order API
https://docs.1inch.io/docs/limit-order-protocol/api)
Docs
https://docs.1inch.io/docs/limit-order-protocol/introduction
Docs Intro
https://docs.1inch.io/docs/limit-order-protocol/introduction)