You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ontology is very different from NEO, the do have many in common, but the codebase are totally different.
Ontology got two different way to call a contract:
PreExec, free of charge but read only ./ontology contract invoke --address fb9dade88e85e7770bbb41a49091c64b53b4ea45 --prepare --params string:owner,[string:tester,string:AGa9bx6U34QxfSmeyEV9LL1DbUD4FVyPKK] --return string
Invoke, pay with ONG, write data to the blockchain. ./ontology contract invoke --address fb9dade88e85e7770bbb41a49091c64b53b4ea45 --params string:Register,[string:johnny,string:AGa9bx6U34QxfSmeyEV9LL1DbUD4FVyPKK] --gaslimit 200000
johnny7861532
changed the title
NEO contract not fully work on Ontology
Ontology contract is different from NEO contract
Nov 21, 2018
Ontology using GO to rewrite NEO VM, so need to modify NEO contract in order to compile.
Ex: has_key do work on NEO but not on Ontology.
The text was updated successfully, but these errors were encountered: