EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

about smart contract #2780

Closed shishi614 closed 6 years ago

shishi614 commented 6 years ago

Why does the function of the eos smart contract have no return value, but ethereum can return value, If not, the sense is much less than ethereum .How do we communicate with smart contracts?

cipherzzz commented 6 years ago

bump...

andriantolie commented 6 years ago

The way a smart contract can share information with each other is via the persistence storage, i.e. db API. You can write the information you want on the table and the other contract can read the table.