genlayer 0.25.0 → 0.27.0

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.
@@ -19,6 +19,9 @@ jobs:
19
19
  - name: Checkout code
20
20
  uses: actions/checkout@v4
21
21
 
22
+ - name: Install libsecret runtime
23
+ run: sudo apt-get update && sudo apt-get install -y libsecret-1-0
24
+
22
25
  - name: Set up Node.js
23
26
  uses: actions/setup-node@v4
24
27
  with:
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.27.0 (2025-09-01)
4
+
5
+ ### Features
6
+
7
+ * implement os keychain support for secure private key storage ([#243](https://github.com/yeagerai/genlayer-cli/issues/243)) ([af93c6f](https://github.com/yeagerai/genlayer-cli/commit/af93c6fdd8e3673ffe3e3471bb5a8c6ea565687d))
8
+
9
+ ## 0.26.0 (2025-08-07)
10
+
11
+ ### Features
12
+
13
+ * add schema command to inspect deployed contract schema ([#244](https://github.com/yeagerai/genlayer-cli/issues/244)) ([4d66a7b](https://github.com/yeagerai/genlayer-cli/commit/4d66a7b9b2ac813cf0d47f12fc82cbc06ed25b3c))
14
+
3
15
  ## 0.25.0 (2025-07-23)
4
16
 
5
17
  ### Features
package/README.md CHANGED
@@ -12,6 +12,25 @@ Before installing the GenLayer CLI, ensure you have Node.js installed on your sy
12
12
  npm install -g genlayer
13
13
  ```
14
14
 
15
+ ### Linux Dependencies
16
+
17
+ On some Linux distributions with minimal setups (like Debian netinst or Docker images), you may need to manually install libsecret:
18
+
19
+ ```bash
20
+ # Ubuntu/Debian
21
+ sudo apt-get install libsecret-1-0
22
+
23
+ # CentOS/RHEL/Fedora
24
+ sudo yum install libsecret
25
+ # or for newer versions
26
+ sudo dnf install libsecret
27
+
28
+ # Arch Linux
29
+ sudo pacman -S libsecret
30
+ ```
31
+
32
+ The GenLayer CLI uses the `keytar` library for secure key storage, which relies on `libsecret` on Linux systems.
33
+
15
34
  ## Usage
16
35
 
17
36
  Each command includes syntax, usage information, and examples to help you effectively use the CLI for interacting with the GenLayer environment.
@@ -146,6 +165,7 @@ USAGE:
146
165
  genlayer deploy [options]
147
166
  genlayer call <contractAddress> <method> [options]
148
167
  genlayer write <contractAddress> <method> [options]
168
+ genlayer schema <contractAddress> [options]
149
169
 
150
170
  OPTIONS (deploy):
151
171
  --contract <contractPath> (Optional) Path to the intelligent contract to deploy
@@ -160,12 +180,16 @@ OPTIONS (write):
160
180
  --rpc <rpcUrl> RPC URL for the network
161
181
  --args <args...> Positional arguments for the method (space-separated, use quotes for multi-word arguments)
162
182
 
183
+ OPTIONS (schema):
184
+ --rpc <rpcUrl> RPC URL for the network
185
+
163
186
  EXAMPLES:
164
187
  genlayer deploy
165
188
  genlayer deploy --contract ./my_contract.gpy
166
189
  genlayer deploy --contract ./my_contract.gpy --args "arg1" "arg2" 123
167
190
  genlayer call 0x123456789abcdef greet --args "Hello World!"
168
191
  genlayer write 0x123456789abcdef updateValue --args 42
192
+ genlayer schema 0x123456789abcdef
169
193
  ```
170
194
 
171
195
  ##### Deploy Behavior
@@ -176,6 +200,9 @@ EXAMPLES:
176
200
  - `call` - Calls a contract method without sending a transaction or changing the state (read-only)
177
201
  - `write` - Sends a transaction to a contract method that modifies the state
178
202
 
203
+ ##### Schema
204
+ - `schema` - Retrieves the contract schema
205
+
179
206
  #### Keypair Management
180
207
 
181
208
  Generate and manage keypairs.