It is my understanding that I can use the distributed ledger to store data as XDR. This action is free (?) but the more data I store the more Lumens the account needs to have.
If I understand correctly I will need to create a new transaction with operation type of 'Manage Data' and use the XDR library to encode my data (likely a JSON file). This string of data then lives on the ledger and anyone can read from it and decode.
Am I close? I have yet to find example code or even a transaction containing such data that I could observe.
Thanks!