Back to Blog

Impacts & Metric Hub

A page contatining all sources of truth, relevant to impacts of Redprint Wizard to public goods

Posted by

Rati Montreewat

Impact & Metric Measurement

To align with Optimism’s value (impact=profit), we have refered to the below framework which the Foundation applies in order to categorize different types of impact.

upstream and downstream

They are both upstream or downstream of Optimism blockspace.

Upstream

By definition, upstream contributions improve Optimism or OPStack itself.

In our case, Redprint Toolkit’s contribution aids in usability and accessibility of the OPStack, and it could, according to Retro Funding 5: OP Stack - round details, be fall into Category 3: OP Stack Tooling.

This toolset aims in development and deployment, tailored for OPStack, NOT general smart contract.

The justifications are as follows:

1. redprint-forge

The redprint-forge is a deployer library that facilitate the OPStack’s contract deployment, and contract testing.

Our aim is to support different implementation of OPStack Deployer.

Problem Statement + Context

Some text copied from OPStack ‘s design- 52

The current L2 chain deployment approach originates from a time with Hardhat, single L1 target, and a single monolithic set of features. Since then the system has migrated to Foundry and extended for more features, but remains centered around a single monolithic deploy-config for all its features.

Outside of interop, deployment also seems increasingly complex and opaque, while it does not have to be, due to the same configuration and composability troubles.

Our solution involves restructuring OPStack’s DeploySuperchain.

You can see how redprint-forge lib tackles the problem by simplifying deployment and testing pipeline at this Demo

Therefore, this suggests alignment with Collective Intent 1 “Progress towards technical decentralization” due to different deployer implementations by different team.

Metrics ‘s sources of truth

  1. Version Releases

Now, the versions release are at v0.2.x. In short, we have two working component (Governance and superchain) (out of four).

The relevant links are:

  1. Number of Github repo likes

redprint-forge’s Repo Link

  1. Number of code repo forks

redprint-forge’s Repo Link

  1. Number of npm packages downloaded

redprint-forge’s Package Link

These figures (2, 3 ,and 4) can represent accessibility and usability of the OPStack.

2. Redprint Wizard

The Redprint Wizard can be thought as an interactive technical documentation and step-by-step tutorials to deploy OPStack components.

Metrics ‘s sources of truth

The key metrics indicating accessibility and usability of the OPStack are:

  1. Number of Monthly Visitor: the number of developers who come to experiment our interactive turorial. It indicates accessibility of The OPStack.

This figure can be represented by GA’s page_view events. It was 635 views in July, and this event can be grouped into different OPStack components. They are :

  • Set up Governance Layer | Redprint Wizard page
  • Set up Super Chain | Redprint Wizard page
  • Set up Plasma Chain | Redprint Wizard page
  • Set up OP Chain | Redprint Wizard page

Note💡 These figures can be checked in reports/ directory.

  1. Number of Link Clicks Toward the Code copy button : the number of developers who come to experiment our interactive turorial. It shows usability of our tool to modify OPStack components.

  2. Number of Downloaded code as zip file : the number of developers who use our generated contract. It suggests usability of our tool to deploy OPStack components.

These figures can be represented by GA’s custoizrd events. They are :

  • copy-contract-Safe
  • copy-contract-Governor
  • copy-script-Safe
  • copy-script-Governor

Note💡 All events can be found in in lib/analytics/analytics.Store.ts.

Note💡 The convention is : <event_name>-<contract_kind>-<contract_name>

<event_name> could be either copy or downloadd <contract_kind> could be either contract or script

  1. Number of visitors to our technical articles in our blog : The number of views on our blog/turorial. It indicates accessibility of The OPStack tool.
Pages and screens: Page title and screen class

This metric can be represented by GA’s events which are named by blog title For instance, they are :

  • Introducing Redprint Wizard page
  • Introducing redprint-forge page

Note💡 These figures can be checked at Google Analytics ‘s Reports e.g. July and August

Downstream [WIP]

On the other hand, downstream contributions improve the experience of Optimism users, such as builders.

Our tool also simplifies the complex OPStack smart contract deployment process & practice. Therefore, the developer can even use OP mainnet as a base chain and ,then deploy their own rollup/ Appchain as a layer 2/3. This is aligned with Collective Intent: Collective Intent 2 “Grow the Superchain” by bringing different layer 2 (s) or even layer 3 (s) out of the Ethereum base layer.

1. redprint-forge

Metrics ‘s sources of truth

  1. Number of Github repo likes redprint-forge’s Repo Link

  2. Number of code repo forks redprint-forge’sRepo Link

  3. Number of npm packages downloaded redprint-forge’s Package Link

2. Redprint Wizard

Metrics ‘s sources of truth

  1. Number of Github repo likes Redprint Wizard’s Repo Link

  2. Number of code repo forks Redprint Wizard’s Repo Link

  3. Number of npm packages downloaded Redprint Wizard’s Package Link