I have a smart contract that contains a function to store data onto the blockchain. The function stores two integer variables to the blockchain. Now, I can manually store the values from the remix-ide but the problem is I have to store multiple values to the blockchain. Suppose the fields are First Name and Last Name, then I have to store the values, again and again, multiple times. Is there any way to automate this process?
If you have data in Json or Array format, create a node app and iterate the contract calls using web3(npm package).
Check this out for reference https://stackoverflow.com/a/48193611/10845790.
In above solution version of web3 used is 0.20.x