Skip to content

Commit

Permalink
Merge pull request #5 from Once-Upon/feature/how-to-contribute
Browse files Browse the repository at this point in the history
How to contribute
  • Loading branch information
pcowgill authored Nov 29, 2023
2 parents 04a1b2e + f5e9e10 commit 3e7ffa2
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,43 @@
# context
# context

> Context for Ethereum L1 and L2 transactions.
By default, EVM based transactions are inscrutable and are lacking details about the context and intent of the transaction. Once Upon proposes standardizing a context layer on top of the protocol level data to help network operators, developers, and end users better understand what is happening onchain.

## Quick start

### Generating a new contextualization

Run this command `npm run create --name [name of protocol]`

This will generate a new file called `protocol/[name of protocol].ts` and a test file called `protocol/[name of protocol].spec.ts`.

### Writing tests

You should write unit tests for your PR using a real transaction.

You can do this by running `npm run grab:transaction --hash [txHash] --prefix [nickname for the type of tx]`.

### Finishing your new contextualization

Once that's ready, please open a PR on this repo and request review from `pcowgill` and `jordanmessina`

# Overview

## Definitions

### Template Variables

### Summary

#### Description

#### Title

#### Context Action

## Types of contextualizations

##### Protocol

##### Heuristic

0 comments on commit 3e7ffa2

Please sign in to comment.