@effectstream/sync 0.100.15 → 0.100.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,6 +5,11 @@ blocks from every chain you've configured (EVM, Bitcoin, Cardano, Midnight,
|
|
|
5
5
|
Avail, Celestia, NEAR…), normalizes them into a single rollup ordering,
|
|
6
6
|
and stages the inputs the state machine consumes.
|
|
7
7
|
|
|
8
|
+
- Blockchain-sync service: reads finalized blocks from every configured chain.
|
|
9
|
+
- Normalises into a single rollup ordering and stages inputs for the state machine.
|
|
10
|
+
- Drop-in fetchers: EVM, Bitcoin, Cardano UTXO-RPC, Midnight, Avail, Celestia, NEAR, NTP.
|
|
11
|
+
- `genSyncProtocols(config)` is what the runtime calls during boot.
|
|
12
|
+
|
|
8
13
|
## Install
|
|
9
14
|
|
|
10
15
|
```bash
|
|
@@ -24,7 +29,7 @@ author you declare which protocols to sync in your config; everything
|
|
|
24
29
|
else runs automatically.
|
|
25
30
|
|
|
26
31
|
If you're building a new chain integration, implement the sync-protocol
|
|
27
|
-
interfaces in [`src/sync-protocols/`](https://github.com/
|
|
32
|
+
interfaces in [`src/sync-protocols/`](https://github.com/effectstream/effectstream/tree/main/packages/node-sdk/sync/src/sync-protocols).
|
|
28
33
|
|
|
29
34
|
## Inside EffectStream
|
|
30
35
|
|
|
@@ -58,11 +63,11 @@ custom orchestration layer.
|
|
|
58
63
|
## Examples
|
|
59
64
|
|
|
60
65
|
End-to-end sync test (boots a node, reads blocks, asserts the DB):
|
|
61
|
-
[`e2e/evm/sync/`](https://github.com/
|
|
66
|
+
[`e2e/evm/sync/`](https://github.com/effectstream/effectstream/tree/main/e2e/evm/sync).
|
|
62
67
|
|
|
63
68
|
Runnable: [`test/examples.test.ts`](./test/examples.test.ts).
|
|
64
69
|
|
|
65
70
|
## Links
|
|
66
71
|
|
|
67
72
|
- Docs: https://effectstream.github.io/docs/packages/node/sync
|
|
68
|
-
- Source: https://github.com/
|
|
73
|
+
- Source: https://github.com/effectstream/effectstream/tree/main/packages/node-sdk/sync
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effectstream/sync",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://effectstream.github.io/docs/",
|
|
6
6
|
"repository": {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"exports": "./src/mod.ts",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@effectstream/config": "0.100.
|
|
17
|
-
"@effectstream/db": "0.100.
|
|
18
|
-
"@effectstream/log": "0.100.
|
|
19
|
-
"@effectstream/utils": "0.100.
|
|
16
|
+
"@effectstream/config": "0.100.16",
|
|
17
|
+
"@effectstream/db": "0.100.16",
|
|
18
|
+
"@effectstream/log": "0.100.16",
|
|
19
|
+
"@effectstream/utils": "0.100.16",
|
|
20
20
|
"@midnight-ntwrk/ledger-v8": "8.0.3",
|
|
21
21
|
"@midnight-ntwrk/midnight-js-indexer-public-data-provider": "4.0.2",
|
|
22
22
|
"@midnight-ntwrk/onchain-runtime": "npm:@midnight-ntwrk/onchain-runtime-v3@3.0.0",
|