Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
0f4df00
Merge pull request #725 from hyperware-ai/release-candidate
nick1udwig Apr 2, 2025
43a763b
bump version to 1.2.2
nick1udwig Apr 17, 2025
5d0e075
Update README.md
sukrucildirr May 7, 2025
d211802
hns-indexer: use process_lib exports & slim down state
nick1udwig May 8, 2025
c2abbfe
hns-indexer: refactor
nick1udwig May 12, 2025
5c9243f
hns-indexer: simplify some logic
nick1udwig May 12, 2025
6eaa758
hns-indexer: use logging
nick1udwig May 12, 2025
546c053
bump process_lib versions to 1.0.6
nick1udwig May 12, 2025
d575413
hns-indexer: refactor IndexerRequest handling
nick1udwig May 12, 2025
162323f
Update README.md
sukrucildirr May 12, 2025
cdd4b10
Merge pull request #734 from sukrucildirr/main
nick1udwig May 12, 2025
10748d7
fix hns-indexer & update Cargo.locks
nick1udwig May 12, 2025
cf5556b
hns-indexer: add vfs caps for logging
nick1udwig May 12, 2025
02bb28f
hns-indexer: fix Reset
nick1udwig May 13, 2025
97ea28b
hns-indexer: dont checkpoint without new data
nick1udwig May 13, 2025
94a85bf
hns-indexer: reset variables per-loop
nick1udwig May 13, 2025
34460c3
hns-indexer: fix bugs
nick1udwig May 13, 2025
e469ef3
hns-indexer: if have state, dont sync older blocks
nick1udwig May 14, 2025
5348404
change Optimism -> Base
nick1udwig May 14, 2025
e688433
hns-indexer: remove extra field from helper
nick1udwig May 15, 2025
71b1cf9
hypermap-cacher: bring in & get compiling
nick1udwig May 17, 2025
376b19a
Format Rust code using rustfmt
github-actions[bot] May 17, 2025
d4dc6f7
hypermap-cacher: fix some nits
nick1udwig May 19, 2025
bf25b56
hns-indexer: only accept messages from local
nick1udwig May 19, 2025
c0c281f
hns-indexer: dont add from_/to_block to eth subscribe requests
nick1udwig May 19, 2025
c28a0f4
Merge branch 'hf/hns-indexer-rewrite' into hf/add-hypermap-cacher
nick1udwig May 19, 2025
04d706d
hns-indexer: properly pass simulation-mode on to process_lib if set
nick1udwig May 19, 2025
750be75
Merge branch 'hf/hns-indexer-rewrite' into hf/add-hypermap-cacher
nick1udwig May 19, 2025
15364de
hns-indexer: fix Cargo.toml
nick1udwig May 19, 2025
99a1ea9
Merge branch 'hf/hns-indexer-rewrite' into hf/add-hypermap-cacher
nick1udwig May 19, 2025
9509635
hypermap-cacher: get it working
nick1udwig May 20, 2025
78b8360
register-ui: tweak mint os
nick1udwig May 20, 2025
cb0c31c
hypermap-cacher: use git-sourced process_lib
nick1udwig May 21, 2025
ee9a179
hns-indexer: add bootstrapping
nick1udwig May 21, 2025
9702f04
register-ui: use simulateContract for commit step as well
nick1udwig May 22, 2025
4ce484e
Merge branch 'hf/add-hypermap-cacher' into hf/tweak-register-os
nick1udwig May 27, 2025
4b9c484
Merge pull request #738 from hyperware-ai/hf/tweak-register-os
nick1udwig May 27, 2025
467d4b7
Update http_api.rs
crStiv May 28, 2025
fdd8c32
hns-indexer: bootstrap properly
nick1udwig May 31, 2025
33f20e9
hypermap-cacher: let macros do their work
nick1udwig May 31, 2025
7dbb7f8
hypermap-cacher: add wip towards new architecture
nick1udwig Jun 2, 2025
2a2db41
hypermap-cacher: fix scripts
nick1udwig Jun 2, 2025
82c5dbd
hyperware-cacher: update architecture
nick1udwig Jun 3, 2025
7424951
hns-indexer: handle initial boot routers better
nick1udwig Jun 3, 2025
9e2290d
improve cache reliability
nick1udwig Jun 4, 2025
5242c93
hypermap-cacher: make GetLogsByRange always give back latest block
nick1udwig Jun 4, 2025
ef8e4c8
add cacher-related fixes
nick1udwig Jun 4, 2025
d5e9a0a
hypermap-cacher: fix readiness test
nick1udwig Jun 4, 2025
094d4dd
hypermap-cacher: improve speed, robustness; add scripts
nick1udwig Jun 5, 2025
dd1c8bf
use process_lib 1.2.0
nick1udwig Jun 5, 2025
cadede2
Merge pull request #735 from hyperware-ai/hf/hns-indexer-rewrite
nick1udwig Jun 5, 2025
f58d3b3
Merge pull request #736 from hyperware-ai/hf/add-hypermap-cacher
nick1udwig Jun 5, 2025
850a5d3
Merge pull request #740 from crStiv/fixa
nick1udwig Jun 5, 2025
561b5ec
bump version to 1.3.0
nick1udwig Jun 5, 2025
16c6e57
remove privileges now that hypermap-cacher handles network requests
nick1udwig Jun 5, 2025
d087c41
hypermap-cacher: run rpc sync twice on fresh boot to get to actual he…
nick1udwig Jun 5, 2025
3bb12be
allow checking of sigs from hypermap-cacher
nick1udwig Jun 5, 2025
76d09e9
sign: fix bug (wrong response variant)
nick1udwig Jun 6, 2025
b31ab4a
net: fix bug (Verify always false for self-signed messages)
nick1udwig Jun 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 78 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "hyperdrive_lib"
authors = ["Sybil Technologies AG"]
version = "1.2.1"
version = "1.3.0"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://hyperware.ai"
Expand All @@ -21,6 +21,8 @@ members = [
"hyperdrive/packages/homepage/homepage",
"hyperdrive/packages/hns-indexer/hns-indexer", "hyperdrive/packages/hns-indexer/get-block", "hyperdrive/packages/settings/settings", "hyperdrive/packages/hns-indexer/reset",
"hyperdrive/packages/hns-indexer/node-info", "hyperdrive/packages/hns-indexer/state",
"hyperdrive/packages/hypermap-cacher/hypermap-cacher", "hyperdrive/packages/hypermap-cacher/reset-cache", "hyperdrive/packages/hypermap-cacher/set-nodes",
"hyperdrive/packages/hypermap-cacher/start-providing", "hyperdrive/packages/hypermap-cacher/stop-providing",
"hyperdrive/packages/sign/sign",
"hyperdrive/packages/terminal/terminal",
"hyperdrive/packages/terminal/alias", "hyperdrive/packages/terminal/cat", "hyperdrive/packages/terminal/echo",
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This repo contains the core runtime and processes.
Most developers need not build the runtime.
Instead, check out the [Hyperware Book](https://book.hyperware.ai/), and in particular the ["My First App" tutorial](https://book.hyperware.ai/my_first_app/chapter_1.html).

If you want to get on the network, you can download a binary, rather than building it yourself, from [the releases page](https://github.com/hyperware-ai/hyperware/tags).
Then follow the instructions to [install it](https://book.hyperware.ai/install.html) and [join the network](https://book.hyperware.ai/login.html).
If you want to get on the network, you can download a binary, rather than building it yourself, from [the releases page](https://github.com/hyperware-ai/hyperdrive/tags).
Then follow the instructions to [install it](https://book.hyperware.ai/getting_started/install.html) and [join the network](https://book.hyperware.ai/getting_started/login.html).

If you have questions, join the [Hyperware discord](https://discord.com/invite/KaPXX7SFTD) and drop us a line in `#dev-support`.

Expand Down Expand Up @@ -72,7 +72,7 @@ The `--` here separates cargo arguments from binary arguments.
cargo run -p hyperdrive -- home
```

On boot you will be prompted to navigate to `localhost:8080` or whatever HTTP port your node bound to: it will try 8080 and go up from there, or use the port passed with the `--port` boot flag. Make sure your browser wallet matches the network that the node is being booted on. Follow the registration UI -- if you want to register a new ID you will either need Optimism ETH or an invite code.
On boot you will be prompted to navigate to `localhost:8080` or whatever HTTP port your node bound to: it will try 8080 and go up from there, or use the port passed with the `--port` boot flag. Make sure your browser wallet matches the network that the node is being booted on. Follow the registration UI -- if you want to register a new ID you will either need Base ETH or an invite code.

#### Boot Flags

Expand Down Expand Up @@ -169,7 +169,7 @@ Use this message format to add a provider -- this will make your node's performa
m our@eth:distro:sys '{"AddProvider": {"chain_id": <SOME_CHAIN_ID>, "trusted": true, "provider": {"RpcUrl": "<WS_RPC_URL>"}}}'
```

You can also do the same thing by using the `--rpc` boot flag with an Optimism WebSockets RPC URL, or going to the Settings app once booted into a node.
You can also do the same thing by using the `--rpc` boot flag with an Base WebSockets RPC URL, or going to the Settings app once booted into a node.

## Distro and Runtime processes

Expand Down Expand Up @@ -202,14 +202,19 @@ The distro userspace packages are:
- `contacts:sys`
- `homepage:sys`
- `hns-indexer:sys`
- `hypermap-cacher:sys`
- `settings:sys`
- `sign:sys`
- `terminal:sys`
- `tester:sys` (used with `kit` for running test suites, only installed in `simulation-mode`)

The `sys` publisher is not a real node ID, but it's also not a special case value.
Packages, whether runtime or userspace, installed from disk when a node bootstraps do not have their package ID or publisher node ID validated.
Packages installed (not injected locally, as is done during development) after a node has booted will have their publisher field validated.

Distro userspace packages may have their dependencies satisfied by specifying them as local dependencies in `hyperdrive/packages-local-dependencies.json`.
For example, `hypermap-cacher:sys` depends on `sign:sys`, and so has an entry whose key is `hypermap-cacher` (the dir name) and whose value is an array with one item: `sign` (the dir name).

## Terminal syntax

- CTRL+C or CTRL+D to gracefully shutdown node
Expand Down
2 changes: 1 addition & 1 deletion hyperdrive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "hyperdrive"
authors = ["Sybil Technologies AG"]
version = "1.2.1"
version = "1.2.2"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://hyperware.ai"
Expand Down
5 changes: 5 additions & 0 deletions hyperdrive/packages-local-dependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hypermap-cacher": [
"sign"
]
}
5 changes: 3 additions & 2 deletions hyperdrive/packages/app-store/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hyperdrive/packages/app-store/app-store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ alloy-primitives = "0.8.15"
alloy-sol-types = "0.8.15"
anyhow = "1.0"
bincode = "1.3.3"
hyperware_process_lib = "1.0.5"
hyperware_process_lib = "1.2.0"
process_macros = "0.1"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
Expand Down
12 changes: 6 additions & 6 deletions hyperdrive/packages/app-store/app-store/src/http_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,29 +830,29 @@ fn serve_paths(
{
match kind {
SendErrorKind::Timeout => {
let check_reponse = MirrorCheck {
let check_response = MirrorCheck {
node: node.to_string(),
is_online: false,
error: Some(format!("node {} timed out", node).to_string()),
};
return Ok((StatusCode::OK, None, serde_json::to_vec(&check_reponse)?));
return Ok((StatusCode::OK, None, serde_json::to_vec(&check_response)?));
}
SendErrorKind::Offline => {
let check_reponse = MirrorCheck {
let check_response = MirrorCheck {
node: node.to_string(),
is_online: false,
error: Some(format!("node {} is offline", node).to_string()),
};
return Ok((StatusCode::OK, None, serde_json::to_vec(&check_reponse)?));
return Ok((StatusCode::OK, None, serde_json::to_vec(&check_response)?));
}
}
} else {
let check_reponse = MirrorCheck {
let check_response = MirrorCheck {
node: node.to_string(),
is_online: true,
error: None,
};
return Ok((StatusCode::OK, None, serde_json::to_vec(&check_reponse)?));
return Ok((StatusCode::OK, None, serde_json::to_vec(&check_response)?));
}
}
_ => Ok((
Expand Down
2 changes: 1 addition & 1 deletion hyperdrive/packages/app-store/chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ alloy-primitives = "0.8.15"
alloy-sol-types = "0.8.15"
anyhow = "1.0"
bincode = "1.3.3"
hyperware_process_lib = "1.0.5"
hyperware_process_lib = "1.2.0"
process_macros = "0.1"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
Expand Down
Loading
Loading