EthereansOS / ethart-deprecated

💀 Now ITEMS: https://github.com/EthereansOS/ITEMS-Core
MIT License
6 stars 5 forks source link

2 of 21 transactions, bug? #1

Open ghost opened 4 years ago

ghost commented 4 years ago

221

This happened with the on chain NFT option.

alet89 commented 4 years ago

Using on-chain to store files is a perpetual choice, but it's very expensive because the data is divided into some parts (depending on bytes) and saved into Ethereum via base64.

In this case, you have to do 21 transactions to save the entire file on-chain. I recommend to don't use this function if it's not necessary or to use a very light version of the file.