React Connecting Wallet
Guide to connecting the user's wallet in react.
The Zora ZDK requires an ethers instance to interact with the blockchain.
If data is only being read from ZDK, an ethers provider can be used to read from the blockchain. If you need to read or write to the blockchain, you should provide an ethers signer, a type of provider that also can sign transactions.
Typically, you will create an ethers signer through asking users to connect their wallet. The Zora team typically uses web3-react to connect the user's wallet or web3modal. Once you set up these libraries, you can then use that provider for the ZDK.
If you want to allow easy bidding and listing of NFTs, Zora supports hosted urls where the user can interact with Zora interface to list their NFTs or bid on NFTs without needing to setup any wallet login and the user can trust the Zora.co site.
Last updated