This is the 6.0.0-alpha0 version, not intended for public testnet or mainnet, only for developer networks.
It contains Sigma 6.0.0 as of ScorexFoundation/sigmastate-interpreter@6c59ce0 commit.
Only following 6.0 functions are supported:
- ScorexFoundation/sigmastate-interpreter#938
- ScorexFoundation/sigmastate-interpreter#962
- ScorexFoundation/sigmastate-interpreter#972
- ScorexFoundation/sigmastate-interpreter#968
- ScorexFoundation/sigmastate-interpreter#979
- ScorexFoundation/sigmastate-interpreter#989
- ScorexFoundation/sigmastate-interpreter#990
- ScorexFoundation/sigmastate-interpreter#995
- ScorexFoundation/sigmastate-interpreter#997
- ScorexFoundation/sigmastate-interpreter#1007
- ScorexFoundation/sigmastate-interpreter#1008
- ScorexFoundation/sigmastate-interpreter#1015
- ScorexFoundation/sigmastate-interpreter#1020
Please visit PRs above to find ErgoScript code examples (usually , in BasicOpsSpecification
tests)
Activation:
- create devnet config like https://gist.github.com/kushti/4f9c6b706ab16fcf2151cf1f3b531f7d
- run as
java -jar -Xmx4G ergo-6.0.0-alpha0.jar --devnet -c devnet.conf
- unlock wallet to have block generation started (not really needed, as currently devnet is starting with Autolykos2, but this artefact in miner from Autolykos 1 is still in the code)
- wait for 256 + 32 * 16 == 768 blocks for 6.0 activation
then you can use /script/p2sAddress
API method to compile ErgoScript code with 6.0 features.