aragon / nest

A grants program to support the development of the ecosystem
https://aragon.org/project/grants
Creative Commons Zero v1.0 Universal
140 stars 78 forks source link

Aragon Nest Proposal: Payroll App for Aragon DAOs #90

Closed mgarciap closed 5 years ago

mgarciap commented 6 years ago

Aragon Nest Proposal: Payroll App for Aragon DAOs

Abstract

Payroll is a key activity on every organization. Proper payroll requires careful planning and proper tools to get the job done so the DAO members/employees can manage and expect their payments to arrive on time, error free and containing the expected tokens. We propose to build a DApp following the following designs: https://github.com/aragon/design/issues/2.

Deliverables

  1. An Aragon (aragonOS 4) application that will allow users to incorporate new employees (integrated with the Identity and finance apps), request and pre-authorize payments in different tokens, view all the payroll information including historic payments, balance and statistics.
  2. Modify as needed and upgrade the smart contracts located in https://github.com/aragon/aragon-apps/tree/master/future-apps/payroll to aragonOS 4
  3. A few UI components that could be re-utilized on new Aragon applications, including tabs, date range picker and charts.

The first version of this application, as it is currently designed, would allow to implement annual salaries with regular payments. Future versions could include additional functionalities like:

Grant size

$25k in DAI, ETH or ANT, split into chunks paid out over achieved deliverables.

Development timeline

We estimate a total of 25 to 35 working days to develop this UI application and updrading the existing payroll smart contracts located in future-apps/payroll to aragonOS 4. The payroll dApp depends on the Finance dApp upgrade to aragonOS 4 (https://github.com/aragon/aragon-apps/pull/422), therefore there might be a timeline dependency.

A proposed development timeline would be:

Phase Component Description Estimated time
1 Team payroll UI. Smart contracts upgrade. Integration 3 weeks
2 My payroll UI. Smart contracts upgrade. Integration 2 weeks
3 New UI components Extract and contribute the new UI components to aragon/aragon-ui 1.5 weeks

Development Team

Role Member Availability Github/LinkedIn
Full-stack DApp developer Franco Victorio Part-time https://github.com/fvictorio
Full-stack DApp developer Sebastian Galiano Full-time https://github.com/sistemico
Full-stack developer Lisandro Corbalan Full-time https://github.com/lmcorbalan
Team Lead Manuel Garcia Part-time https://linkedin.com/in/mgarciap

Supporting Team

Development Approach

Agile & Scrum with 1-week sprints. Every task published and tracked in github either using github projects or waffle.io (preferrable). Each sprint will finish with the publicly available demo or report. The releases would undergo some kind of security audit with an open bounty campaign in the end for the app on the testnet.

Team Background

We are all part of ProtoFire.io. We are a team of engineers which helps token-based protocols and developer platforms accelerate growth of their ecosystems. By providing hands-on coding and contributions, Protofire specializes in supercharging developer adoption and network usage.

Our team has extensive experience developing DApps, from PoCs and prototypes to MVPs and more, just to mention a few:

App Description Repo
FlightDelay - the first decentralized Flight Delay insurance on the Ethereum Blockchain. https://fdd.etherisc.com https://github.com/etherisc/flightDelay
Monitoring and alerting system for MakerDAO DAI Stablecoin CDPs (Collateralized Debt Position) https://github.com/protofire/cdp-alert
A dashboard that displays information about the 0x Protocol network traffic, including trades, addresses and statistics about transfers. https://github.com/protofire/0x-dashboard
Smart contracts and libraries for bzx.network, a protocol for next generation (b)0x-standard relays https://github.com/bZxNetwork/bZx-monorepo
Easy MakerDAO DAI stablecoin borrowing for consumers https://github.com/protofire/open-cdp
A GitHub App built with Probot that finds duplicate links on newly opened issues for Aragon weekly. https://github.com/protofire/aragon-links-bot
DApp for proof of bank account (PoBA) attestation https://github.com/poanetwork/poa-poba
DApp for proof of physical address (PoPA) attestation for validators of POA Network https://github.com/poanetwork/poa-popa
A DApp to create token and crowdsale campaigns (ICO, TGE) on Ethereum compatible networks using open source Wizard. No coding skills required. Decentralized, open source, free https://github.com/poanetwork/token-wizard
POA Bridge in NodeJS, an interoperability solution between Ethereum networks for native to ERC20 and ERC20 to ERC20 cross chain transfers https://github.com/poanetwork/bridge-nodejs
A DApp for POA Bridge, a cross chain bridge between POA and Ethereum networks https://github.com/poanetwork/bridge-ui

ProtoFire.io maintains and contributes to open source projects like Solhint (Security and Style Guide validations for Smart Contract development) and eth-cli (a collection of CLI tools to help with ethereum learning and development)

mgarciap commented 6 years ago

Just got this news from @sohkai in aragon.chat:

We had work on the payroll app started in https://github.com/aragon/aragon-apps/pull/324, but it's been deferred, if you'd like to continue building off of it.

The PR partially implements our proposal scope. We'll review the PR and reformulate the proposal accordingly very soon.

mgarciap commented 6 years ago

The proposal has been updated considering @sohkai comments and that an additional effort is required: migration of the existing Payroll Smart Contracts to aragonOS 4.

sdtsui commented 5 years ago

Just wanted to say this looks super interesting. I would be happy to help provide feedback to any first versions of this project, with intent to eventually use it at kyokan when it's ready. As an example, I'd use one-time payments before monthly disbursements. We accept a lot of crypto, but it seems cleanest to use dai for bonuses until there is more liquidity/mcap, and less costly fiat gateways. Feel free to shoot me an email at dtsui [at] kyokan.io if interested in chatting about any of this. Good luck!

mariapao commented 5 years ago

Hi @mgarciap You guys will be working on this as one of the projects of the dev campaign of the AragonDAC team. Therefore I'm closing this issue here.

sohkai commented 5 years ago

@sdtsui Did you have any comments on the click through invision (https://invis.io/D5FNHWG4EKF)?

BTW, you can already do one-time payments through the Finance app :).

0xjjpa commented 5 years ago

👋 @mariapao @mgarciap Apologies for reviving this thread, but I mentioned with @john-light in Riot that we are developing a similar product in our company. We actually have a bounty of circa 1.5k USD on a descriptive issue within our company. This is something we are very willing to put resources on, so let me know if you guys are keen to join forces.

mariapao commented 5 years ago

Hi @jjperezaguinaga I saw that you guys met already in Prague!

mgarciap commented 5 years ago

Yes. We did. Thank you.

On Mon, Oct 29, 2018 at 02:53 mariapao notifications@github.com wrote:

Hi @jjperezaguinaga https://github.com/jjperezaguinaga I saw that you guys met already in Prague!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aragon/nest/issues/90#issuecomment-433765457, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMUj8ykF0XKGYzNj9LDnP78nXhK_8oXks5upl-rgaJpZM4WkHCZ .

--

Saludos, Manu