genlayer 0.12.5 → 0.14.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.
- package/.env.example +6 -0
- package/CHANGELOG.md +12 -0
- package/dist/index.js +17789 -17761
- package/package.json +1 -1
- package/src/commands/contracts/call.ts +7 -13
- package/src/commands/contracts/deploy.ts +6 -12
- package/src/commands/keygen/create.ts +5 -25
- package/src/lib/accounts/KeypairManager.ts +43 -0
- package/src/lib/actions/BaseAction.ts +28 -1
- package/src/lib/config/simulator.ts +14 -2
- package/tests/actions/call.test.ts +1 -3
- package/tests/actions/create.test.ts +11 -72
- package/tests/actions/deploy.test.ts +2 -4
- package/tests/libs/accounts/KeypairManager.test.ts +110 -0
- package/tests/libs/baseAction.test.ts +40 -0
- package/src/lib/accounts/getPrivateKey.ts +0 -21
- package/tests/libs/getPrivateKey.test.ts +0 -96
package/.env.example
CHANGED
|
@@ -63,6 +63,12 @@ HEURISTAIURL='https://llm-gateway.heurist.xyz'
|
|
|
63
63
|
HEURISTAIMODELSURL='https://raw.githubusercontent.com/heurist-network/heurist-models/main/models.json'
|
|
64
64
|
HEURISTAIAPIKEY='<add_your_heuristai_api_key_here>'
|
|
65
65
|
|
|
66
|
+
# If you want to use Google AI LLMs, add your key here
|
|
67
|
+
GEMINI_API_KEY= '<add_your_gemini_api_key_here>'
|
|
68
|
+
|
|
69
|
+
# If you want to use XAI LLMs, add your key here
|
|
70
|
+
XAI_API_KEY= '<add_your_xai_api_key_here>'
|
|
71
|
+
|
|
66
72
|
# Validator Configuration
|
|
67
73
|
# JSON array of initial validators to be created on startup.
|
|
68
74
|
# Example: VALIDATORS_CONFIG_JSON = '[{"stake": 100, "provider": "openai", "model": "gpt-4o", "amount": 2}, {"stake": 200, "provider": "anthropic", "model": "claude-3-haiku-20240307", "amount": 1}]'
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.0 (2025-04-25)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* adding gemini and XAI ([#216](https://github.com/yeagerai/genlayer-cli/issues/216)) ([01310b2](https://github.com/yeagerai/genlayer-cli/commit/01310b2c4856880d8b4209a8b659445bf6d4d501))
|
|
8
|
+
|
|
9
|
+
## 0.13.0 (2025-04-24)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* create account if it doesnt exists ([#214](https://github.com/yeagerai/genlayer-cli/issues/214)) ([12d2faa](https://github.com/yeagerai/genlayer-cli/commit/12d2faa68202310059c688c9c17a99ef6e577412))
|
|
14
|
+
|
|
3
15
|
## 0.12.5 (2025-04-24)
|
|
4
16
|
|
|
5
17
|
## 0.12.4 (2025-04-03)
|