Skip to content

Commit

Permalink
chore: set up typescript & jest (#5)
Browse files Browse the repository at this point in the history
# 🤖 Linear

Closes GRT-33

## Description
Set up `typescript` and `jest`.
  • Loading branch information
0xyaco authored Jul 18, 2024
1 parent 8c8a0ff commit 7eb706b
Show file tree
Hide file tree
Showing 5 changed files with 981 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ The Epoch Block Oracle (EBO) introduces the use of an optimistic oracle ([Prophe

## Table of contents

* Background
* Install
* Usage
* Contributing
- Background
- Install
- Usage
- Contributing

## Background

The EBO agent is an open-source tool designed to poll events from the relevant on-chain smart contracts on the Protocol chain (Arbitrum) and respond to these events with specific actions tailored to the flow requirements. Additionally, the agent will interface with blockchains supported by The Graph and perform block computations for each epoch as necessary. These computations are required for various scenarios, such as responding to a request, validating a proposal, and revalidating a proposal during a dispute.


```mermaid
flowchart LR;
A[EBO Agent] --> B[Arbitrum RPC];
Expand All @@ -32,6 +31,7 @@ flowchart LR;
```

## Install

```
$ pnpm install
```
Expand All @@ -54,4 +54,4 @@ Prophet was built with ❤️ by [Wonderland](https://defi.sucks).

Wonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.

[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.
[DeFi sucks](https://defi.sucks), but Wonderland is here to make it better.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"husky": "9.1.0",
"lint-staged": "15.2.7",
"prettier": "3.3.3",
"turbo": "2.0.7"
"turbo": "2.0.7",
"typescript": "5.5.3",
"vitest": "2.0.3"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown",
Expand Down
Loading

0 comments on commit 7eb706b

Please sign in to comment.