Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openbrush Grant Application from Supercolony #497

Merged
merged 12 commits into from
Jul 23, 2021
Merged

Conversation

0xMarkian
Copy link

@0xMarkian 0xMarkian commented Jul 16, 2021

Grant Application Checklist

  • The application template has been copied, renamed ( project_name.md) and updated.
  • A BTC or Ethereum (DAI) address for the payment of the milestones is provided inside the application.
  • I have read and acknowledged the Terms and Conditions.
  • The software delivered for this grant will be released under an open-source license specified in the application.
  • The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants.
  • The initial PR contains only one commit (squash if needed before submitting your PR).
  • The grant will only be announced once the first milestone has been accepted.

@CLAassistant
Copy link

CLAassistant commented Jul 16, 2021

CLA assistant check
All committers have signed the CLA.

@alxs
Copy link
Contributor

alxs commented Jul 16, 2021

Thanks for the application @xgreenx @themarkian, looks great. I think it's safe to say we're highly interested in this. If I remember correctly you also applied or at least were planning to apply for treasury funding, could you link to to the proposal for reference? What was the outcome?

@alxs alxs self-assigned this Jul 16, 2021
@0xMarkian
Copy link
Author

Hey @alxs!
Thanks a lot for such quick feedback. Appreciate that a lot!
Yes, we considered internally applying for a treasury, but never did it.

@alxs
Copy link
Contributor

alxs commented Jul 19, 2021

I see, I was confusing this with Patract Labs' Metis proposal. Are you aware of that project and have you been in contact with them? It'd in any case be useful to have alternative implementations, but maybe you can share resource or collaborate with them in some aspects.

Other than that I don't have a lot to add. At least from my side I'd be happy to go ahead with the application. Could you just make the milestones/costs clearer with regards to the current proposal? I'd recommend you split the milestones into previous work, scope of this grant and future plans. Make sure that the milestone(s) for this grant add up to $30k and feel free to omit the costs elsewhere.

@0xMarkian
Copy link
Author

@alxs yes, we are aware and formed a partnership with them recently. We intend to collaborate together towards our common goal which is in building an ecosystem. However, with metis they see things a bit differently than we see with openbrush. For example, openbrush isn't restricted to only providing the base implementation of contracts. On top of that our project is in a more advanced stage currently and ready to be released as soon as the PSP-20(ERC20 for Polkadot) standard has reached a mature state. Supercolony currently leads the process and your help with it would be much appreciated

More info about how we are different in metis is in the application form here - https://github.com/Supercolony-net/Open-Grants-Program/blob/master/applications/openbrush.md#ecosystem-fit

@alxs alxs added the changes requested The team needs to clarify a few things first. label Jul 19, 2021
@0xMarkian
Copy link
Author

0xMarkian commented Jul 19, 2021

could you just make the milestones/costs clearer with regards to the current proposal? I'd recommend you split the milestones into previous work, scope of this grant and future plans. Make sure that the milestone(s) for this grant add up to $30k and feel free to omit the costs elsewhere.

@alxs would you recommend for this grant to cover only future work or previous work too? We were thinking that this grant could cover the first two milestones(which are currently in sum having exactly 30k). Would that work?

@alxs
Copy link
Contributor

alxs commented Jul 19, 2021

I think this is a bit of a gray area at the moment. I'm personally in favour of only awarding grants for future work, but IIRC we've made exceptions in the past. It's probably best to check with @Noc2. Personally I'd be happy to accept a grant for, say, 50% past and 50% future work in this particular case, assuming we have no hard rule on the matter.

@0xMarkian
Copy link
Author

Hey @alxs!
Change has been implemented. We divided milestones into 3 sections - previous work, the scope of this grant, and future work. And the cost for the scope of this grant is estimated at 30k $.

@alxs
Copy link
Contributor

alxs commented Jul 21, 2021

Thanks, looks good! If you want to deliver M1 with this grant also (in order to received feedback and so you can announce the grant as soon as it is approved) feel free to include it in the scope at no charge. Or split the $30k among M1/M2 as I said, both are fine with me.

Also in general feel free to work on ink! itself as part of a grant (I see you've included it in some of the deliverables, just wanted to make it clear that this is perfectly fine and even encouraged from our side).

@0xMarkian
Copy link
Author

Thanks, @alxs!
yeah, we were definitely planning to contribute to ink! and substrate. Ink! has already merged a couple of our PRs. M1 is included in the scope under the previous work section with no charge :)

So what will be our next steps to get this grant approved?

@alxs
Copy link
Contributor

alxs commented Jul 21, 2021

Of course, what I mean is that you may want to deliver it as a milestone anyway (i.e. move it into the scope of this grant, even though officially we won't compensate you for it) with the advantages that I mentioned before. This is completely up to you :)

I'm happy to share your application with the rest of the committee as soon as you decide on the above.

@0xMarkian
Copy link
Author

@alxs updated an application accordingly to include M1 in the scope. Looking forward to the feedback from the rest of the committee :)

applications/openbrush.md Outdated Show resolved Hide resolved
@alxs alxs added ready for review The project is ready to be reviewed by the committee members. and removed changes requested The team needs to clarify a few things first. labels Jul 21, 2021
Co-authored-by: Aleixo Sánchez <15819210+alxs@users.noreply.github.com>
applications/openbrush.md Show resolved Hide resolved
semuelle
semuelle previously approved these changes Jul 21, 2021
Copy link
Member

@semuelle semuelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not aware of this project until now. Looking forward to it!

Copy link
Collaborator

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general the application looks really good and interesting. Regarding paying for previous work, this is something which we don’t do. Given that you were also able to work on it without a grant/our money. However, we have paid small amounts for teams in the past in order to open source (and improve) their existing work, which is obviously valuable for the entire ecosystem. Independent of it showing previous work, makes the grant itself most of the time more valuable for us/gives it a higher chance to be accepted.
I also have a few questions:

@0xMarkian
Copy link
Author

0xMarkian commented Jul 22, 2021

Hey @Noc2!
thanks for reviewing our application. Glad to answer those questions.

So currently only M1 is fully finished. M2 is what we are working on at the moment. Some of the things were done in M2 before the submission of this application. But in the process of testing Openbrush on the commercial project (AlianceBlock) we found some things/bugs that needed to be fixed. So these points are currently under reconstruction.

  1. Yes, it is open-sourced and already used on a commercial project - Allianceblock p2p platform.
    You can find the implementation of contracts here:
    https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts
    You can check the roadmap and releases for more details.
    Roadmap: https://github.com/Supercolony-net/openbrush-contracts#roadmap-
    Releases: https://github.com/Supercolony-net/openbrush-contracts/releases

  2. Yes, we are aware of and interested in this issue because ink!'s contracts take really a lot of space. We are ready for any changes and we plan to update/maintain the library according to changes in ink! and contract pallet(You can see that part of our roadmap is a contribution to ink!).

  3. We implemented a new analog of Erc1155(But ink! has already implemented that too), AccessControl, and Ownable from OpenZeppelin.
    All implementations can be imported/injected/customized(you can override some logic like in Solidity) into another contract. While it is not possible with examples from ink!.
    Each contract implementation has differences.

  • Erc20 provide additional functionality(mint, burn, support of Erc20Receiver), transfer and transfer_from have been modified according our PSP. All selectors generated according to the rules in ink! instead of Solidity. Changed error handling. So it is a native implementation of the PSP22 standard.
  • Erc721 added safe_transfer_from . Support of metadata, Erc721Receiver. Changed error handling. Reduced the size of the compiled contract. In the future, we will also create PSP for non-fungible tokens.
    All implementations are tested by unit tests and integration tests(real deployment of contracts to the node).
    Added examples of how to use the library and customize default implementation.
    https://github.com/Supercolony-net/openbrush-contracts/tree/main/examples

Copy link
Collaborator

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick reply. I believe you should change the names of the contracts. Usually the name is assigned based on the github PR. So psp20 would refer to the 20 pr here https://github.com/w3f/PSPs/pulls, which might be confusing. Apart from that, I have one last question: Would you be willing to reduce the price of this grant a little bit? It seems a little bit expensive to me for the current deliverables.

@0xMarkian
Copy link
Author

@Noc2 yeah, the PSP that you merged recently was updated to psp22. We will update it on openbrush side just to be consistent.

Would you be willing to reduce the price of this grant a little bit? It seems a little bit expensive to me for the current deliverables.

Have an alternative suggestion. How about we add 1 more deliverable to the scope?

@Noc2
Copy link
Collaborator

Noc2 commented Jul 22, 2021

Sounds good to me.

@0xMarkian
Copy link
Author

@Noc2 updated! :)

@Noc2 Noc2 merged commit 8aa0aa9 into w3f:master Jul 23, 2021
@github-actions
Copy link
Contributor

Congratulations! As part of the Open Grants Program, we want to help winning teams acknowledge their grants publicly. To that end, we’ve created a badge for projects that successfully delivered their first milestone. Please observe the foundation’s guidelines when making any announcements; in particular, don’t announce the grant publicly before you've completed at least the first milestone of the project.

At that point, we will be happy to collaborate on an announcement about the work you’re doing. Please get in touch with us at grantspr@web3.foundation in case you're interested (at least two weeks notice is preferred).

@0xMarkian
Copy link
Author

@Noc2 @BenWhiteJam @alxs @semuelle
gentlemens, thanks for the thorough review and comments. And thanks for helping to make Openbrush successful 🚀

chrisli30 pushed a commit to AvaProtocol/W3F-Grants-Fork that referenced this pull request Oct 8, 2021
* Openbrush Grant Application from Supercolony

* Move some tasks from milestone 3 to milestone 2. Removed money for first milestone. Updated description of Grant and roadmap.

* Update openbrush.md

* Update openbrush.md

* Moved milestone to current scope with zero cost.

* Update openbrush.md

* Update applications/openbrush.md

Co-authored-by: Aleixo Sánchez <15819210+alxs@users.noreply.github.com>

* Moved Support fo additional contracts from milestone 3 to milestone 2.

* Update openbrush.md

Co-authored-by: xgreenx <xgreenx9999@gmail.com>
Co-authored-by: Aleixo Sánchez <15819210+alxs@users.noreply.github.com>
@TtomaS7 TtomaS7 mentioned this pull request Apr 29, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review The project is ready to be reviewed by the committee members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants