@relayprotocol/relay-svm-wallet-adapter 14.0.0 → 15.0.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/_esm/src/adapter.js
CHANGED
|
@@ -3,9 +3,9 @@ import { LogLevel, getClient } from '@relayprotocol/relay-sdk';
|
|
|
3
3
|
/**
|
|
4
4
|
* Adapts a Solana wallet to work with the Relay SDK
|
|
5
5
|
* @param walletAddress - The public key address of the Solana wallet
|
|
6
|
-
* @param chainId - The chain ID for the Solana network (
|
|
6
|
+
* @param chainId - The chain ID for the Solana network (Relay uses 792703809)
|
|
7
7
|
* @param connection - The Solana web3.js Connection instance for interacting with the network
|
|
8
|
-
* @param signAndSendTransaction - Function to sign and send a transaction, returning a promise with
|
|
8
|
+
* @param signAndSendTransaction - Function to sign and send a transaction, returning a promise with a base58 encoded transaction signature
|
|
9
9
|
* @param payerKey - Optional public key of the account that will pay for transaction fees (defaults to walletAddress)
|
|
10
10
|
* @returns An AdaptedWallet object that conforms to the Relay SDK interface
|
|
11
11
|
*/
|