Description

ScholarDAO is a protocol for decentralized, autonomous publishing of scientific research. We achieve this using a - peer-review system, where scientists are incentivized to give honest & thorough reviews; and validators (who are akin to journals/editors) have incentives to publish the best papers. - reputation system of scientists - citations/impact factor index By default, the ownership of a paper lies with its author(s), who can raise funds to support their work, and potentially sell their work. Authors can provide tips to validators as an incentive Steps: 1. Author submits a draft, locks in a tip, and sends request to validators. When the draft is submitted, a NFT (ERC721 token) is minted, which is owned by the author. 2. Validators receive requests and reply if they want to proceed to the next step (they also provide a promised deadline for publishing/rejecting) 3. Author sees replies from validator(s) and selects one of them. 4. Now the paper becomes a Preprint, and other scholars in the network can start reviewing the preprint. 5. The validator and author can reach out to potential reviewers off-chain and ask them to review the paper. 6. The validator needs to get the reviews done, and take a decision (Accept/Reject/Revise) within the deadline. 7. If the validator accepts the paper, it becomes “Published”. Note: * In the UI implementation, we have merged steps 2 & 3 into validator assignment step * To become a validator, one needs to submit collateral to the DAO, which can be slashed if deadlines are not met. * To prevent Sybil attacks, we were going to use chainlink for validator & scholar identity verification (by reading tweets containing their eth addresses), but got stuck after getting our external adapter set up (and decided to skip verification). * Since all these steps are happening on ethereum, we wrote a subgraph which tracks events and stores data when a new paper is created, which leads to change in the number of citations. As an example, we calculate the H-index of scholars, which is the maximum value of h such that a given author has published at least h papers that have each been cited at least h times.

ScholarDAO showcase

How it's made

We used solidity to write smart contracts for the DAO, and used ethers.js library with a React frontend to interact with the smart contracts. We are storing papers and review files on IPFS using web3.storage (which also persists cid to Filecoin). For the reputation system, we use TheGraph, which listens to solidity contract events like paper creation, and based on that updated the number of citations of papers. With this, we are also able to calculate the H-Index of scholars. For testing this we used rinkeby testnet, hardhat, and the metamask wallet.

Technologies used

IPFS