@turnkey/wallet-stamper
package provides a mechanism to stamp requests using a wallet public key and signature. This package supports both Solana and Ethereum wallets, allowing for seamless integration with various blockchain applications.
@turnkey/wallet-stamper
package, follow these steps:
Note: We’ve provided a default implementation for Ethereum wallets via theEthereumWallet
class. For custom implementations, you may implement theWalletInterface
yourself.
WalletStamper
using the wallet interface.
TurnkeyClient
with the WalletStamper
instance.
TurnkeyClient
, the wallet stamper will automatically stamp the request with the user’s wallet public key and signature.
with-wallet-stamper
example.
@turnkey/wallet-stamper
package is licensed under the MIT License.