UniversityDAO / udao

The official UniversityDAO DApp repository.
GNU Lesser General Public License v2.1
4 stars 4 forks source link

Added EthersAPI file (WIP) and error checking on proposal/grant applications #36

Closed austin-davis1 closed 2 years ago

austin-davis1 commented 2 years ago

In this PR I added an EthersAPI file that will contain all of our Ethers library functionality. For now I just have two functions in there to be used for testing, but more will be added as I work towards implementing this API with our frontend. @jagger-harris can also use this file to store any functions he will use to interact with Ethers and the blockchain. This file is an ongoing work in process.

I also added a quick error box on the Proposal and Grant application forms that'll display if not all fields are filled out. This is a super basic error checking component to ensure that incomplete proposals don't get uploaded to IPFS.

Note: It says there are 19 total commits, but everything from "Added IPFS functionality..." up until "Added error box..." is already merged into our upstream repo, so I'm not sure why it thinks there's more commits than there really are. May just be a git bug - I've already double checked to make sure all changes mentioned are already pushed.