Ergo protocol reference client 6.0.0 Alpha0 (for devnets only!)
Pre-release
Pre-release
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 ergoplatform/sigmastate-interpreter@a8f1d66 commit.
Only following 6.0 functions are supported:
- ergoplatform/sigmastate-interpreter#962
- ergoplatform/sigmastate-interpreter#969
- ergoplatform/sigmastate-interpreter#968
- ergoplatform/sigmastate-interpreter#979
- ergoplatform/sigmastate-interpreter#989
- ergoplatform/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.