I would like to create a basic crypto wallet app with React-Native where I am able to send and receive cryptocurrencies. Although I have an idea of the design and the API which I am going to use to get live data for the application I am confused on how I can implement the functionality of sending and receiving cryptocurrencies using plain react-native. This is what I have so far :
- Home Screen- which displays:
a) My current holdings (I just input this manually but I will connect to my Metamask Wallet to get real data of my holdings)
b) A list of the crypotcurrencies I own as well as the quantity that I own of each.
c) A live graph of the price of the selected cryptocurrency in my portfolio (ex. The live graph is showing the Ethereum price but If I own Matic and I press on it, the live graph will switch to displaying the Matic live price). I used the CoinGecko API for this data.
I also have a send and receive button in my HOME screen (this is the part I need help with) I already made the buttons but I need to make them work. When I press the send button it brings me to a new screen which allows me to select the cryptocurrency I want to send, its amount, and input the recipients address. There is the send button at the bottom of the screen again, but what I am stuck on is when I press that send button, how do I actually make it work and add functionality to it so that it actually sends the currency to an address. So my question is how do I make the send button actually work ?