Skip to content

Commit 3d21cf2

Browse files
committed
update readme
1 parent 476eae4 commit 3d21cf2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

clients/voter-stake-registry/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![npm version](https://img.shields.io/npm/v/@macalinao/clients-voter-stake-registry.svg)](https://www.npmjs.com/package/@macalinao/clients-voter-stake-registry)
44

5-
TypeScript client for the SPL Governance Voter Stake Registry program, generated using Coda with full ESM support.
5+
TypeScript client for the Realms [Voter Stake Registry program](https://github.com/Grape-Labs/voter-stake-registry/) by Grape, generated using Coda with full ESM support.
66

77
## Installation
88

@@ -33,14 +33,14 @@ The `coda.config.mjs` file defines custom PDAs for the Voter Stake Registry prog
3333
## Usage
3434

3535
```typescript
36-
import {
37-
findRegistrarPda,
38-
findVoterPda,
39-
findVoterWeightRecordPda
36+
import {
37+
findRegistrarPda,
38+
findVoterPda,
39+
findVoterWeightRecordPda,
4040
} from "@macalinao/clients-voter-stake-registry";
4141

4242
// Get the registrar PDA
43-
const registrarPda = await findRegistrarPda({
43+
const registrarPda = await findRegistrarPda({
4444
realm: realmPublicKey,
4545
realmGoverningTokenMint: mintPublicKey,
4646
});
@@ -62,4 +62,4 @@ const voterWeightRecordPda = await findVoterWeightRecordPda({
6262

6363
Copyright © 2025 Ian Macalinao
6464

65-
Licensed under the Apache License, Version 2.0
65+
Licensed under the Apache License, Version 2.0

0 commit comments

Comments
 (0)