Another method call is to store a number in a smart contract. The user will send their account's public key and/or private key (open for suggestion) and the number they want to store. Using this the API will make a transaction from their keys and store the number in a smart contract.
So far I am able to generate the account and return the keys however when I try to deploy a contract using their keys I get the message "account not recognised". I am using Ganache for the test net.
How can I make a transaction using their account keys?