-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
327e70e
commit e13a3d9
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# ethernaut-oso | ||
|
||
Tasks for interacting with Open Source Observer, a tool for tracking and analyzing the metrics of open source projects. | ||
|
||
## What | ||
|
||
This plugin adds a series of tasks that wrap the Open Source Observer API: https://docs.opensource.observer/docs/integrate/api | ||
|
||
## Installation | ||
|
||
```bash | ||
npm install ethernaut-oso | ||
``` | ||
|
||
Import the plugin in your `hardhat.config.js`: | ||
|
||
```js | ||
require('ethernaut-oso') | ||
``` | ||
|
||
Or if you are using TypeScript, in your `hardhat.config.ts`: | ||
|
||
```ts | ||
import 'ethernaut-oso' | ||
``` | ||
|
||
## Required plugins | ||
|
||
This plugin doesn't depend on any other plugins. | ||
|
||
## Tasks | ||
|
||
This plugins adds the following tasks to hardhat: | ||
|
||
- chain Prints Open Source Observer onchain metrics for a project, including number of contracts, active users, gas usage, and more | ||
- code Prints Open Source Observer code metrics for a project, including number of Github stars, commits, contributors, and more | ||
- find Finds Open Source Observer projects by keyword, listing matches by name and slug | ||
|
||
## Environment extensions | ||
|
||
This plugin doesn't extend the hre. | ||
|
||
## Configuration | ||
|
||
This plugin doesn't add any fields to the hardhat configuration file. | ||
|
||
## Usage | ||
|
||
There are no additional steps you need to take for this plugin to work. |