Skip to content

Commit 8854ced

Browse files
authored
Update Solana adapter docs (#886)
* Update Solana adapter docs * feat: changeset
1 parent 1ad5c5b commit 8854ced

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/shaggy-times-read.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@relayprotocol/relay-svm-wallet-adapter': patch
3+
---
4+
5+
Update solana adapter docs

packages/relay-svm-wallet-adapter/src/adapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import {
1818
/**
1919
* Adapts a Solana wallet to work with the Relay SDK
2020
* @param walletAddress - The public key address of the Solana wallet
21-
* @param chainId - The chain ID for the Solana network (e.g., 101 for mainnet, 102 for testnet)
21+
* @param chainId - The chain ID for the Solana network (Relay uses 792703809)
2222
* @param connection - The Solana web3.js Connection instance for interacting with the network
23-
* @param signAndSendTransaction - Function to sign and send a transaction, returning a promise with the transaction signature
23+
* @param signAndSendTransaction - Function to sign and send a transaction, returning a promise with a base58 encoded transaction signature
2424
* @param payerKey - Optional public key of the account that will pay for transaction fees (defaults to walletAddress)
2525
* @returns An AdaptedWallet object that conforms to the Relay SDK interface
2626
*/

0 commit comments

Comments
 (0)