devPHAse - development tool - Part 1 (MVP)
Treasury
2 Comments
Awarded

Proponent: [Khala Address] 41yyQZSWy6yjcLNsR19qA8JzpHUGBGtoB6yotTv9FNpq1MAF
Date: 08.12.2022
Requested allocation: 65.000 PHA
Proposed Curator reward: no preference (maybe Hang?)
Short description: devPHAse MVP implementation


1. Problem statement:
As software engineer in blockchain tech I have experienced comfort of EVM smart contracts development with such tools like hardhat / waffle. From my point of view it is must-have for any platform is to delivery this kind of tool especially because of covering contracts with tests. In case of Phat contracts where we can have really complex context (including external HTTP requests) it is crucial to give option to test contracts using flexible environment like node.js.

2. Proposal Objective:
Main objective of this proposal is to deliver devPHAse MVP which will include:

  • initiation of project with templates
  • compilation of contracts using rust compiler
  • creating type bindings for TS tests
  • downloading latest Phala stack (node + pruntime + pherry)
  • starting Phala stack in standalone mode
  • configuring Phala stack (creating gatekeeper, clusters, deploying system contracts etc.)
  • executing tests using runtime stack

3. Links
Fully working MVP
https://github.com/l00k/devphase
https://www.npmjs.com/package/devphase

4. Payment conditions
Amount calculated based on 30day avg price of PHA (from coinmarketcap): $0.1525
Time spent on project: 200h
Requested amount: $10.000 => ~65.000PHA
Funds recipient: 41yyQZSWy6yjcLNsR19qA8JzpHUGBGtoB6yotTv9FNpq1MAF
Contract: Łukasz Dobrowolski / l00k / Discord: l00k#1990

Edited
Reply
Up
Share
Metadata
TimelineLatest activity undefined
2022-12-09 17:15:54
Proposed
Index
#46
2022-12-12 09:00:42
approveProposal
5/5
Aye(5)
Nay(0)
2022-12-12 14:26:24
Vote
2022-12-12 22:10:00
Vote
2022-12-12 23:11:48
Vote
2022-12-13 06:37:48
Vote
2022-12-13 11:06:00
Vote
2022-12-13 11:07:37
Closed
2022-12-13 11:07:37
Approved
2022-12-13 11:07:37
Executed
Result
Succeed
2022-12-14 05:32:12
Awarded
Beneficiary
Award
65000 PHA
Comments

Thanks for the contribution! The proposal plan and fund's size sound solid.
I would say this is a very helpful tooling for Phat Contact.

Reply
Up 1

Thank you for the proposal. IMO the devPHAse development tooling will add great value to Phala's Phat Contract.

Reply
Up