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@a8f1d66 commit.
Only following 6.0 functions are supported:
- ScorexFoundation/sigmastate-interpreter#962
- ScorexFoundation/sigmastate-interpreter#969
- ScorexFoundation/sigmastate-interpreter#968
- ScorexFoundation/sigmastate-interpreter#979
- ScorexFoundation/sigmastate-interpreter#989
- ScorexFoundation/sigmastate-interpreter#1008
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.