Skip to main content
added 11 characters in body
Source Link
mik
  • 199
  • 4

I have a contract, for simplicity sake, which has an array; I want to enter values into this array with values stored inthe content of a txttext 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.

I have a contract, for simplicity sake, which has an array; I want to enter this array with values stored in a txt 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.

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.

Source Link
mik
  • 199
  • 4

How can I import data from a local file?

I have a contract, for simplicity sake, which has an array; I want to enter this array with values stored in a txt 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.