Fund the development of a python library for the limit order protocol

I would like to propose that the DAO funds the development of a python library aimed at interacting with the 1inch limit order protocol (API and smart contracts). This could be funded via gitcoin, and can likely be done for a fairly modest amount of money (by DAO treasury standards).

There are currently an extensive set of tools in javascript that allows users to easily create, edit and fill limit orders. There are no such tools for python (beyond an example for posting basic limit orders put together by @Belac).

Any easy to use library will bring further users to the 1inch ecosystem, benefiting the DAO and other 1inch users.

Disclaimer: I am the creator of 1inch.py, a library for interacting with the Aggregation Protocol, but I have no intention of completing the work myself as it is beyond my technical abilities.

6 Likes

I think this is an awesome idea. However, I’m not a developer, so I have no gauge of how large of an effort this is or how much it would cost the 1inch DAO.

Since we’ll likely need to pay the developer some funds upfront, it is critical to make sure that we get the right person. Are you proposing that the DAO uses Gitcoin’s bounties platform to vet potential applicants?

Thanks @RoundElephant - by my estimation it is a decent, but not excessive amount of effort required. For context, creating 1inch.py a wrapper around the aggregation api took me about 20 hours of work.
The limit order tools will take a bit more, because the processing is a bit more complicated than just calling an API and processing the resultant data. But essentially it is a case of porting the existing tools in Javascript (available here), into Python. I don’t have any experience with Gitcoin myself, but it seems like the best match for getting this kind of work done.

1 Like

Hey, Richard. Thank you for putting this sentiment check-up in the forums. DAOplomats are happy to support this initiative as the DAO can fund and steward this initiative.
Before making this an RFC, maybe you should address some of the following questions.

  1. who from the DAO will act as a ‘grant’/ initiative manager for this?
  2. what will the KPIs look like
  3. will DAO have any right to Ownership of the endproduct

I would consider Questbook.xyz for something as complex as this, I had positive experiences in the past. we can easily manage the grant even with the community treasury and select people with proof of contribution.

1 Like

Thanks @0xBaer.
RE your points -

  1. I am happy to volunteer myself to project manage the process. Otherwise it might make sense for someone from 1inch labs (who has a better knowledge of the limit order protocol) to manage the process, if there is a mechanism for the DAO to task/request that?

  2. From a KPI perceptive, I would likely look at the existing limit-order tools written in JS and treat the migration of each one as a KPI. We could also have a KPI on performance of the library itself, ease of use and documentation.

  3. I would suggest that the end-product is open-sourced. This will allow for greater community involvement and maintenance down the line.

Questbook looks like a great option.

Just picking this up again - what realisticlly would it take to get this over the line? The logistics seem like maybe they are a bit too hard to overcome? Happy to be proven otherwise!

We are in support of this grant request, building out a 1inch Python Library is essential in creating more access to 1inch Technology, we would like to see this grant improved upon to contain a specific amount request, and deliverables tied to scheduled disbursements, this way we the community can comprehensively assess the financial requirements of his grant and the deliverables we can expect as a community.

1 Like

I think we need to know both the cost and also know who will be responsible for this work. Do you have a team in mind?

As it stands, we don’t have any gauge of how much this library would cost to build so it’s hard to get a sense of whether the community thinks it is worth it.

@RoundElephant - the more that I think about it - the more that I realise that the DAO probably isn’t best suited to funding small projects like this (I did a RFP on Upwork for the proposed work and the cost came in between $5k-$10k). If anything the DAO needs its own grant mechnism to fund specific pieces of work outside of what the current 1inch grant covers - but I guess that is a whole different proposal!

1 Like