I have a contract, for simplicity sake, which has an array; I want to enter values into this array with the content of a text file in my local machine.
How can I access this data?
I was thinking that going through the CLI with loadscript(...) but I'm having issues accessing anything... The console is not very cooperative :)
Thanks.
web3
. You can read files in Nodejs by usingfs
module.