- In this demo, we will use @solana/wallet-adapter-base and @solana/wallet-adapter-react to create the frontend for transaction approval for last's demo ping program.
- Run
npm install --force
from the root of the project. - Install Phantom Wallet.
- Change the settings of your Phantom wallet to "devnet" and then run:
npm run dev
-
Open your browser at
localhost:3000
and clickPing
. -
Check the transaction at the Solana Explorer.