How to get wallet address and send token

Please is there any tutorial you can point that does the following in web3.

  • using web3 modal
  • to get wallet address
  • to send tokens.
    Please I would be glad if you can help.
    Thanks

What do you mean by web3 modal? Do you mean something like RainbowKit?

What do you mean by get the wallet address, in what way? Do you mean when the user connects their wallet to an app or site?

You can use a library like ethers.js for any JavaScript or Node.js app.

I want a functionality whereby all wallets connected to a user will show in a modal box.
Also want to get the wallet address when a user click any wallet in the Modal in the website.

Can all these be achieved using vanilla JavaScript ?

Thanks

Try the walletConnect web3 modal. It has some good support for vanilla js.