@hazae41/bobine 0.0.7 → 0.0.8
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 +11 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ A blockchain in your garage
|
|
|
4
4
|
|
|
5
5
|
https://bobine.tech/
|
|
6
6
|
|
|
7
|
+
[**📦 NPM**](https://www.npmjs.com/package/@hazae41/bobine) • [**📦 JSR**](https://jsr.io/@hazae41/bobine)
|
|
8
|
+
|
|
7
9
|
## Features
|
|
8
10
|
|
|
9
11
|
- Ultra simple
|
|
@@ -19,7 +21,13 @@ https://bobine.tech/
|
|
|
19
21
|
|
|
20
22
|
### Binary
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
Install the binary with Deno
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
deno install -gf -A jsr:@hazae41/bobine
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Generate an Ed25519 keypair by running the following code in your browser/deno/node/bun console
|
|
23
31
|
|
|
24
32
|
```typescript
|
|
25
33
|
const keypair = await crypto.subtle.generateKey("Ed25519", true, ["sign", "verify"])
|
|
@@ -44,10 +52,10 @@ ED25519_PRIVATE_KEY_HEX=302e020100300506032b657004220420edff8b2503b91f58bc0f0435
|
|
|
44
52
|
ED25519_PUBLIC_KEY_HEX=90dcd81a473a4e59a84df6cb8f77af3d34c7fd6171ed959ca04a75f07a57b4b9
|
|
45
53
|
```
|
|
46
54
|
|
|
47
|
-
Run the server
|
|
55
|
+
Run the server
|
|
48
56
|
|
|
49
57
|
```bash
|
|
50
|
-
|
|
58
|
+
bobine serve --env=./.env.local
|
|
51
59
|
```
|
|
52
60
|
|
|
53
61
|
### Library
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@hazae41/bobine",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.8",
|
|
5
5
|
"description": "A blockchain in your garage",
|
|
6
6
|
"repository": "github:hazae41/bobine",
|
|
7
7
|
"author": "hazae41",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"unit-tested"
|
|
47
47
|
],
|
|
48
48
|
"bin": {
|
|
49
|
-
"bobine": "./out/
|
|
49
|
+
"bobine": "./out/mod.js"
|
|
50
50
|
}
|
|
51
51
|
}
|