Protofire Contributes to the Development of the Conditional Token Explorer

Protofire.io
Protofire Blog
Published in
3 min readDec 10, 2020

The Conditional Tokens Explorer provides an interface for the Conditional Tokens Framework, making it easier to operate.

An interface for the Conditional Tokens Framework

The Conditional Tokens Framework (CTF) is a protocol for creating tokenized logic; tokens redeemable for underlying collateral when a specific condition is true. Created by Gnosis, the protocol enables use cases such as predictions, information gathering, and forecasting. While the CTF makes it possible for developers to create various applications, it is also sophisticated in operation, integration, and extension using traditional blockchain techniques.

To help blockchain developers understand the CTF, the Conditional Token Explorer (CTE) was created by Gnosis. The CTE is a tool that interacts with the CTF protocol and exposes its features, enabling developers to gain first-hand experience and reduce the time needed to learn.

What does the Conditional Token Explorer do?

The Conditional Token Explorer provides an interface for the CTF, allowing users to interact with the protocol and its features. Specifically, the CTE enables users to perform the following actions:

  • connect to an application using MetaMask or WallectConnect
  • prepare a condition, including an Omen one
  • split positions from a collateral, from an existing position, and into different collections
  • merge positions into a collateral, into another position, and into a different collection at the same level
  • report payouts
  • redeem a position
  • list the user’s positions
  • wrap and unwrap a position into an ERC20
The Conditional Token Explorer interface (Image credit)

Additional details about CTE are available in the project’s GitHub repo.

How did Protofire contribute?

Prior to the creation of CTE, Protofire helped with the development of Omen, a decentralized prediction market based on the CTF. This provided the team with insights to how fellow developers would interact with the protocol and what challenges they would face. With this knowledge, the engineers at Protofire worked closely with Gnosis to develop the Conditional Token Explorer.

Protofire contributed to the development of CTE’s interface. To provide a good user experience, the team built the interface with React, Typescript, and style components. This enabled us to create hierarchical and custom components with specialized functions. CTE’s frontend connects to the blockchain Ethereum network through ether.js and Web3Modal libraries. To speed up queries from the blockchain, we implemented a subgraph that consumes smart contract data from a GraphQL service.

Moving forward, Protofire will continue to be retained to support CTE through adding new features and delivering incremental improvements.

About Protofire

Protofire has proven expertise in building decentralized infrastructure, protocols, applications, and developer platforms to accelerate growth of their ecosystems. By delivering hands-on coding and contributions, Protofire specializes in supercharging developer adoption, bootstrapping, and network usage.

About Gnosis

Gnosis builds new market mechanisms for decentralized finance. Our three interoperable product lines allow you to securely create, trade, and hold digital assets on Ethereum. Gnosis was founded in 2015 by Martin Köppelmann and Stefan George. Now more than 60 team members, Gnosis is based in Gibraltar, with team members distributed globally and a development hub in Berlin at the Full Node co-working space.

--

--

Protofire.io
Protofire Blog

We help token-based startups with protocol & smart contract engineering, high-performance trusted data feeds (oracles), and awesome developer tools (SDKs/APIs).