I want to be able to transfer files from one Ethereum wallet to another using Mist. Is it possible to this?

The files I am planning to transfer are small files. They would be less than 5mb.

If yes, how is it possible?


By files, do you mean large files. If so, that is not ideal use case for using the chain. The cost wouldn't make sense. You could store the data off chain and keep the hash or url with the contract. Then communicate with that. It is like normally sharing the link of a video instead of the entire video file. Could you decentralised storages for the purpose it that makes sense

  • Wanted to comment but can't comment. Please add more details if the answer doesn't suffice.
    – shonjs
    Feb 8 '18 at 9:56
  • I have updated the question details. The files in question are files which would be less than 5mb. Feb 8 '18 at 10:20
  • 5 MB is too large in terms of gas. Please consider your use case and if it is justifiable, have a contract hold the meta data to access the file, if that makes sense
    – shonjs
    Feb 8 '18 at 10:35
  1. read Solidity documantation msg.data: msg.data
  2. have a look at this thread: what-is-msg-data

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.