Provable and Computable Identity for Future-Proof Scientific Workflows

Shady El Damaty, Ph.D.
OpSci
Published in
10 min readApr 19, 2022
The Holo with the Pearl Earring, Photo by SIMON LEE on Unsplash

Holonym is a decentralized protocol for bridging credentials across web applications, blockchains, and physical records. The protocol was originally developed to support the needs for scientists building research web apps in Web3. You can check out the DeSci DID registry (alpha), a Web3 scientist “yellowpages,” powered by Holo at https://verse.opsci.io.

Holonym Soft Launch of DeSci Identity Registry on DeSci Day, ethAmsterdam Devconnect Conference

🤖 Automation in Science Requires Strong Identity Claims

Decentralized Science (#DeSci) is a nascent web-native movement seeking to deploy scientific applications on decentralized internet protocols that are autonomous and community owned. The automation of scientific web services — such as permission-less publishing, laboratory protocol marketplaces, and grant making — requires a portable persistent identifier that links data across applications, verifies credentials, and maximizes the discoverability of research activity. Most importantly, this identifier must be controlled by who it describes and protect against impersonation. Current infrastructure for assigning identifiers to academic entities falls short of this requirement list, yet there is a chance to bridge existing tooling with new technology to solve these problems.

“Holonym, is an idea inspired by Nick Szabo, the first to introduce smart contracts and virtual personae in the late 90s. A Holo is defined as a whole greater than the sum of its parts, where each linked Nym provides a distinct bit of information about a person.”

💠 Holonym is a Decentralized Identity Protocol

OpSci has translated the requirements for automated scientific web services into Holonym, an autonomous protocol for linking web accounts, credentials, and identities under a unique persistent decentralized identifier (DID). Holos are a permanent reference to a unique entity and may act as a service endpoint for authorized applications to access and compute on associated metadata. The name Holonym, is inspired by Nick Szabo, the first to introduce smart contracts and virtual personae in the late 90s. Holo is defined as a whole greater than the sum of its parts, where each linked Nym provides a distinct bit of information about a persona.

The Holonym protocol is decentralized, meaning that the protocol is non-proprietary, and runs on a global network of nodes. The code is open source and available for anyone to implement, integrate, or fork into their own application. Holos are self-sovereign, meaning that they are controlled by the identity’s owner. Each Holo can only be created or modified by the entity that owns the cryptographic keys used to sign and authorize actions on the decentralized networks that the protocol is deployed on.

🔗 Holonym is an Identity Layer for all dApps

Holonym is a low-level persistent identity layer for the internet that enables a variety of use cases, specifically for decentralized Apps (dApps) that require access to verified user metadata. Any dApp can access a publicly listed Holo, filter by, or compute on, associated data and resolve the results on the front-end of any arbitrary website. In other words, developers have incredible flexibility to write versatile “view functions” on the underlying Holonym database.

What are Unstoppable Applications?

dApps are web applications that execute their instructions, or smart contracts, on a distributed network of nodes that ensure tamper-free consensus and no single point of failure. Consensus is typically implemented on a blockchain, where the previous history of all dApps is public and permanently stored by the nodes in the network. dApps have the advantage over centralized web services in that they are interoperable and autonomous; this means their activity is completely transparent, under no central control, permanently recorded, can’t crash, be turned off, or shut down.

What can I build with Holo?

Holonym smart contracts enable accounts to be aggregated into a single Holo and indexed by the public cryptographic key of the owner. Public key lookup is a simple but powerful feature that allows the owner to link their interactions on a distributed network to “off-chain” and “offline” activity. Some examples of “view functions” that link a user’s data could include:

  • Discoverable Content by Verified Creators: A bibliographic database of verified academic authors, where anyone can filter by field, institution, altmetrics, or perform regular expression search to find and directly request a paper from an author through a peer-to-peer routing protocol like IPFS.
  • Reputation Leaderboard: A leaderboard directory of discoverable users ranked by reputation that have contributed to a Decentralized Autonomous Organization (DAO) by holding or staking governance tokens, participating in token-based voting, or executing smart contracts for DAO operations.
  • Token Gated Listings: A listing board where members are only allowed to post if they have met some minimal deterministic criteria that can be executed by a smart contract and receive a token that makes them discoverable. For example, a medical imaging consultant that has passed training for administering a new device and received a Non Fungible Token (NFT) as a certificate proof of completion.

Many more possibilities abound, where a developer’s imagination is the only limitation 💫

🌊 Streamlining DeSci dApp Workflows

OpSci’s mission is to build infrastructure in support of web-native scientific communities. In the short time we’ve been around, a rising wave of DeSci projects have emerged. We built Holonym to provide a primitive for identity verification and support the most promising use-cases in this emergent space: Permission-less Journals, Decentralized Science Markets, and Grant Making.

Journals of the Future: Automated Peer Review, Publishing, and Archival

A “permission-less” automated journal is a hypothetical dApp where any author can submit an article, have their content archived permanently, get matched with relevant peer reviewers, and publish their paper into mainstream indices completely automatically, without requiring pre-approval from an editor or administrator. There are multiple challenges to be solved for a permission-less journal, most stemming from verified identities.

  1. Authors must not be able to impersonate other scientists to take credit for their work
  2. Peer reviewers must be able to prove their expertise or credentials in order to be appropriately matched with papers
  3. Integration with legacy academic publishing web services will require authors to present academic credentials or identifiers

Decentralized Marketplaces for Laboratory Services

A decentralized science marketplace is a platform where service providers can publish laboratory protocols, or analysis workflows that can be executed on demand and their results made securely available to the consumer. A key challenge for market operators is moderating and ranking listings by reputation and quality of services offered. Market consumers are more likely to purchase services when service providers can prove their reputation.

Science DAO Grant Making

A highly active field of the DeSci movement is exploring novel mechanisms for crowdsourcing funds to issue grants for scientists performing high risk research that doesn’t fall into government funding mandates. Some early pioneers have begun accepting crypto as donations, sold Non-Fungible Tokens, either artistic or legal claims to the underlying IP, or raised capital through token offerings. More sophisticated grant making will require the introduction of reputation and verified identity in order to scale as a decentralized service.

For example, consider a science DAO that offers services for industry and collects a transaction fee for each purchase. That transaction fee is deposited into a treasury that awards grants on a quarterly cycle. Who should grants be issued to? How is the mechanism protected against spam, or impersonation attacks? What is the overhead for due diligence?

What do DeSci dApp Developers Need?

We’ve spoken to builders in the DeSci space and key pain-points for deploying autonomous science dApps are:

  1. Trusting users are who they say they are
  2. Linking off-chain data to a provable identity
  3. An open directory of DeSci users, contributors, members and their associated activity

The most common request to address these problems is easy integration of ORCID, a centralized persistent identifier that has been adopted by approximately 50% of academic researchers worldwide. However, ORCID falls short on multiple accounts before it can be adopted by DeSci DAOs:

  • ORCID is owned and maintained by a centralized organization, not the stakeholders
  • API access to underlying metadata is a paid feature only available to members
  • Users do not truly own their identifiers, the keys are stored on private servers
  • ORCID does not produce verified claims of academic credentials

📚 For the Record: A Short History and Future Roadmap

Holonym was born out of a call to action from the Open Science DAO in January 2022 to reimagine how web-native academic credentials could be improved using principles of decentralization, open source, community governance, and self-sovereignty. The idea was incubated in the months leading up to ethDenver, where the project was announced at the DeSci hackathon project pitches session, a part of the DeSci@ethDenver conference.

A team was formed around the project pitch and we quickly deployed a prototype smart contract that forwarded web tokens issued by identity providers, such as ORCiD or Google, to a database stored on the Polygon blockchain and indexed by 0x Ethereum formatted public addresses. The web token forwarding (WTF) hackathon project won three awards from ethDenver judges for our novel contribution to on-chain, smart-contract compatible identity verification.

Inspired by our early success within the Harmony ecosystem, we established a 6 month incubatory product roadmap with a call for open participation and are currently exploring funding avenues.

The DeSci Identity Registry is Live! Check it out at https://verse.opsci.io

🚀 Alpha Launch at ethAmsterdam on DeSci Day

The DeSci Identity Registry hosted on https://verse.opsci.io will be the first demonstrated use-case of Holonym and will be revealed in Amsterdam on April 20th, 2022 during DeSci Day as part of the Ethereum Devconnect conference. We will support free account verifications on Gnosis Chain by airdropping new users that hold the Holonym DeSci Day Proof of Attendance Protocol (POAP) token that proves their attendance at the event on that day.

Holonym DeSci Day Proof of Attendance Protocol

We would like to announce a second call to action for developers to join us during the ethAmsterdam hackathon to explore novel use-cases of Holonym, both in DeSci-dApps and beyond!

✨ How to Get Started with Holonym: Simple Developer Integrations

Projects can integrate Holonym into their project with a few lines of code. If you are developing a web dApp, use the wtf-lib package (the package gets its name from the protocol underlying Holonym, the web token forwarding protocol). First, install the package from the command line.

npm install wtf-lib

Then import the library into whatever files need to use Holonym.

import wtf from 'wtf-lib'

Configure wtf to use your JSON RPC provider. Whether you are using Moralis, QuickNode, or something else to access blockchain networks, wtf only needs the URL endpoint for the JSON RPC node. The following line tells wtf to use the public Mumbai testnet RPC node for all queries to Holonym contracts on Polygon.

wtf.setProviderURL({polygon : 'https://rpc-mumbai.maticvigil.com'})

We can now query Holonym. One of the most useful features of Holonym is the aggregation of various web profiles. We can retrieve a user’s entire Holonym profile with the getHolo() function.

const holo = await wtf.getHolo(userAddress) const { name: name, bio: bio, orcid: orcid, google: google, twitter: github, github: github } = holo

The holo object contains a key-value pairing for the user’s name, bio, and for every service supported by Holonym. The value of the orcid variable, for instance, will look like “0000–0000–0000–0000” if the user has linked their ORCID to their Holo. It will be null if the user has not linked their ORCID.

We can also get an object of all crypto addresses that have Holonym profiles.

const addresses = await wtf.getAllUserAddresses()

The addresses object contains lists of crypto addresses, sorted by network and by which service the address has associated with their Holo. For example, a user who has linked their ORCID to their Holo on Gnosis Chain will be in the following list:

const usersWithOrcidOnGnosis = addresses['gnosis']['orcid']

The wtf-lib package provides a number of other views on the Holonym user registry. You can learn about them in the docs here, and you can check out the GitHub repo here. Don’t hesitate to open an issue on GitHub or reach out for integration support in the channel on the OpSci discord!

🪜 Next Steps: Integrations, Requested Features, & Community Launch

The next few months, we expect to explore additional niche use-cases to discover the most pressing concerns for those building web applications in Web3 and that need discoverable identities. We are excited to work with DeSci DAOs and developers that want to integrate identity verification into their application or community tooling. If you are a developer and interested in learning more, we want to hear from you! Please consider completing our survey.

In the spirit of progressive decentralization, we expect to pass governance to the community by assigning the cryptographic keys that control the underlying smart contracts to a decentralized autonomous organization (DAO). Once the tooling is mature and the protocol is stable, we will leave it to the community to decide the best way to capture the value of an automated identity verification protocol.

🙏 Thanks to…

David from Lit Protocol, the team at Boost VC, DeSci Labs, Renee from talentDAO, Ted from Proof of Humanity, Niklas from LabDAO, and Patrick from ResearchHub for feedback, advice, and support for integrations. Thank you to the Harmony Grants DAO for choosing Holonym as one of the winners at ethDenver.

Join the OpSci Movement

Does the idea of a free, open, internet of science ring a resonant chord with you? Consider joining the Opscientia community to learn, connect, and collaborate with others building a commons for co-discovery.

Originally published at https://hack.opsci.io on April 19, 2022.

--

--

Shady El Damaty, Ph.D.
OpSci
Editor for

🧠 searching for the holy grail, from biophysics to behavior, 🔗 theorem.space