From 6434a3b91b25630908210529b48adf3f32c2b5a7 Mon Sep 17 00:00:00 2001 From: Andrei Regiani Date: Sat, 28 Mar 2026 02:32:53 -0300 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f768f9..8794016 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Take note of your public key. We just create a dummy source core for this example: -``` +```js import Corestore from 'corestore' import Hyperswarm from 'hyperswarm' @@ -164,7 +164,7 @@ Waiting for remote seeders to pick up the changes... Please add this key to the seeders now. The logs here will notify you when it is picked up by them. Do not shut down until that happens. ``` -Do as the logs instruct, and add your target key to 2 or more seeders. For this example, simple run 2 more seeder scripts like above, but this time for the target key. +Do as the logs instruct, and add your target key to 2 or more seeders. For this example, simply run 2 more seeder scripts like above, but this time for the target key. Once the program detects at least 2 seeders have fully downloaded the multisig drive, it will inform you it is done. Shut down with ctrl-c. From 0bbdf784bf8b361f44862e862f13d9b2b7c49c60 Mon Sep 17 00:00:00 2001 From: Andrei Regiani Date: Sat, 28 Mar 2026 02:37:56 -0300 Subject: [PATCH 2/2] lint --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8794016..86028d5 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,9 @@ await core.ready() for (let i = core.length; i < desiredLength; i++) await core.append(`Block-${i}`) const swarm = new Hyperswarm() -swarm.on('connection', (conn) => { store.replicate(conn) }) +swarm.on('connection', (conn) => { + store.replicate(conn) +}) swarm.join(core.discoveryKey) console.log(`Swarming key ${core.id} (length ${core.length})`) ```