genlayer-js 0.20.3 → 0.21.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/README.md CHANGED
@@ -108,15 +108,15 @@ const receipt = await client.waitForTransactionReceipt({
108
108
  ```
109
109
  ### Staking Operations
110
110
 
111
- The SDK provides staking functionality for validators and delegators on testnet-asimov.
111
+ The SDK provides staking functionality for validators and delegators on testnet-bradbury (and testnet-asimov).
112
112
 
113
113
  ```typescript
114
- import { testnetAsimov } from 'genlayer-js/chains';
114
+ import { testnetBradbury } from 'genlayer-js/chains';
115
115
  import { createClient, createAccount } from "genlayer-js";
116
116
 
117
117
  const account = createAccount();
118
118
  const client = createClient({
119
- chain: testnetAsimov,
119
+ chain: testnetBradbury,
120
120
  account,
121
121
  });
122
122
 
@@ -160,7 +160,7 @@ const delegateResult = await client.delegatorJoin({
160
160
 
161
161
  * **Client Creation**: Easily create and configure a client to connect to GenLayer's network.
162
162
  * **Transaction Handling**: Send and manage transactions on the GenLayer network.
163
- * **Staking**: Full staking support for validators and delegators on testnet-asimov.
163
+ * **Staking**: Full staking support for validators and delegators on testnet-bradbury and testnet-asimov.
164
164
  * **Wallet Integration***: Seamless integration with MetaMask for managing user accounts.
165
165
  * **Gas Estimation***: Estimate gas fees for executing transactions on GenLayer.
166
166
 
@@ -2,10 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5TKVNHAOcjs = require('../chunk-5TKVNHAO.cjs');
5
+
6
+ var _chunkTCAQ6AVFcjs = require('../chunk-TCAQ6AVF.cjs');
6
7
  require('../chunk-75ZPJI57.cjs');
7
8
 
8
9
 
9
10
 
10
11
 
11
- exports.localnet = _chunk5TKVNHAOcjs.localnet; exports.studionet = _chunk5TKVNHAOcjs.studionet; exports.testnetAsimov = _chunk5TKVNHAOcjs.testnetAsimov;
12
+
13
+ exports.localnet = _chunkTCAQ6AVFcjs.localnet; exports.studionet = _chunkTCAQ6AVFcjs.studionet; exports.testnetAsimov = _chunkTCAQ6AVFcjs.testnetAsimov; exports.testnetBradbury = _chunkTCAQ6AVFcjs.testnetBradbury;
@@ -1,3 +1,3 @@
1
- export { l as localnet, s as studionet, t as testnetAsimov } from '../index-BVDASTaU.cjs';
1
+ export { l as localnet, s as studionet, t as testnetAsimov, a as testnetBradbury } from '../index-DjR-MFPr.cjs';
2
2
  import '../chains-B7B7UXdn.cjs';
3
3
  import 'viem';
@@ -1,3 +1,3 @@
1
- export { l as localnet, s as studionet, t as testnetAsimov } from '../index-ucNO2REF.js';
1
+ export { l as localnet, s as studionet, t as testnetAsimov, a as testnetBradbury } from '../index-HRqj9M3K.js';
2
2
  import '../chains-B7B7UXdn.js';
3
3
  import 'viem';
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  localnet,
3
3
  studionet,
4
- testnetAsimov
5
- } from "../chunk-NOFMB7RP.js";
4
+ testnetAsimov,
5
+ testnetBradbury
6
+ } from "../chunk-5KRGDGMO.js";
6
7
  import "../chunk-MLKGABMK.js";
7
8
  export {
8
9
  localnet,
9
10
  studionet,
10
- testnetAsimov
11
+ testnetAsimov,
12
+ testnetBradbury
11
13
  };