Phantasma supports VM smart contracts. In the current toolchain, contracts are authored in TOMB source files and compiled with pha-tomb.
pha-tomb
Smart-contract workflows fall into two broad groups:
standalone custom contracts
token-backed contracts bound to an uppercase token symbol
standalone lowercase custom contract -> deploy with contract deploy
contract deploy
new uppercase token-backed contract -> create with --create-token
--create-token
existing token + new VM code -> contract attach
contract attach
later contract code update -> contract upgrade
contract upgrade
For the current deployment tooling:
For the deployment flow overview:
Last updated 3 days ago