https://github.com/checkernetwork/arweave-checker
Arweave subnet checker
https://github.com/checkernetwork/arweave-checker
Last synced: 11 months ago
JSON representation
Arweave subnet checker
- Host: GitHub
- URL: https://github.com/checkernetwork/arweave-checker
- Owner: CheckerNetwork
- License: other
- Created: 2025-01-09T17:25:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-07T08:18:45.000Z (about 1 year ago)
- Last Synced: 2025-05-16T02:13:49.696Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 198 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Arweave Checker
This is an Observable Framework repo structure with some data gathering scripts for the Arweave checker PoC. The checker scripts are in the /src/scripts folder.
Run
```
npm install
```
Then you can run
```
node ./src/scripts/list.js
```
to get a list of nodes in /src/data/arweave-nodes.js
```
node ./src/scripts/ping.js
```
to run a ping test on the arweave nodes in /src/data/arweave-nodes.json
And you can run
```
node ./src/scripts/retrieve.js
```
to retrieve the sample transactions in /src/data/random-transactions.json from the nodes in /src/data/arweave-nodes.json
Then follow the below steps to see the data visualised in the Observable dashboard
## Observable structure
This is an [Observable Framework](https://observablehq.com/framework/) app. To install the required dependencies, run:
```
npm install
```
Then, to start the local preview server, run:
```
npm run dev
```
Then visit to preview your app.
For more, see .
## Project structure
A typical Framework project looks like this:
```ini
.
├─ src
│ ├─ components
│ │ └─ timeline.js # an importable module
│ ├─ data
│ │ ├─ launches.csv.js # a data loader
│ │ └─ events.json # a static data file
│ ├─ example-dashboard.md # a page
│ ├─ example-report.md # another page
│ └─ index.md # the home page
├─ .gitignore
├─ observablehq.config.js # the app config file
├─ package.json
└─ README.md
```
**`src`** - This is the “source root” — where your source files live. Pages go here. Each page is a Markdown file. Observable Framework uses [file-based routing](https://observablehq.com/framework/project-structure#routing), which means that the name of the file controls where the page is served. You can create as many pages as you like. Use folders to organize your pages.
**`src/index.md`** - This is the home page for your app. You can have as many additional pages as you’d like, but you should always have a home page, too.
**`src/data`** - You can put [data loaders](https://observablehq.com/framework/data-loaders) or static data files anywhere in your source root, but we recommend putting them here.
**`src/components`** - You can put shared [JavaScript modules](https://observablehq.com/framework/imports) anywhere in your source root, but we recommend putting them here. This helps you pull code out of Markdown files and into JavaScript modules, making it easier to reuse code across pages, write tests and run linters, and even share code with vanilla web applications.
**`observablehq.config.js`** - This is the [app configuration](https://observablehq.com/framework/config) file, such as the pages and sections in the sidebar navigation, and the app’s title.
## Command reference
| Command | Description |
| -------------------- | ------------------------------------------- |
| `npm install` | Install or reinstall dependencies |
| `npm run dev` | Start local preview server |
| `npm run build` | Build your static site, generating `./dist` |
| `npm run deploy` | Deploy your app to Observable |
| `npm run clean` | Clear the local data loader cache |
| `npm run observable` | Run commands like `observable help` |