Skip to content

Commit 324e637

Browse files
committed
docs: reference interface in custom signer code example
1 parent 1446468 commit 324e637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typescript/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ console.log('Stored value:', result[0]);
9292
### Custom Transaction Signing
9393

9494
```typescript
95-
import { Address, BigNumberish, BytesLike, Hash, SignedTransaction, Transaction } from '@radiustechsystems/sdk';
95+
import { Address, BigNumberish, BytesLike, Hash, SignedTransaction, Signer, Transaction } from '@radiustechsystems/sdk';
9696

97-
class MyCustomSigner {
97+
class MyCustomSigner implements Signer {
9898
address(): Address { /* ... */ }
9999
chainID(): BigNumberish { /* ... */ }
100100
hash(transaction: Transaction): Hash { /* ... */ }

0 commit comments

Comments
 (0)