get started examples - SkycoinWikis/CXChains GitHub Wiki
HOME » CX » CX CHAINS » EXAMPLES
Examples
In the CX source code you can find a number of increasingly complex examples that we have put together to increase your understanding:
Hello, world!
cx --heap-initial 100 --stack-size 100 --blockchain examples/blockchain/hello-world-bc.cx
cx --heap-initial 100 --stack-size 100 --transaction examples/blockchain/hello-world-txn.cx
Blockchain counter
cx --heap-initial 100 --stack-size 100 --blockchain examples/blockchain/counter-bc.cx
cx --heap-initial 100 --stack-size 100 --transaction examples/blockchain/counter-txn.cx
cx --heap-initial 100 --stack-size 100 --broadcast examples/blockchain/counter-txn.cx