0.1.7 • Published 1 year ago
react-phantom-wallet-connect-button v0.1.7
React Phantom Wallet Connect Button
WIP
This module is currently a work in progress and is not ready to be used.
Overview
This react component is connects to the browser phantom wallet and gets yours publicKey and signs a message.
Usage
const PhantomWalletConnect = require("react-phantom-wallet-connect-button");
<PhantomWalletConnect
msg="1234"
onConnect={(publicKey, signature, phantom) => // do something}
style={
color: "black"
border-radius: "4px"
}
>
Connect Your Phantom Wallet
</PhantomWalletConnect>