Ergo protocol reference client 6.0.0 Alpha1 (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@6c59ce0 commit.
Only following 6.0 functions are supported:
- ergoplatform/sigmastate-interpreter#938
- ergoplatform/sigmastate-interpreter#962
- ergoplatform/sigmastate-interpreter#972
- ergoplatform/sigmastate-interpreter#968
- ergoplatform/sigmastate-interpreter#979
- ergoplatform/sigmastate-interpreter#989
- ergoplatform/sigmastate-interpreter#990
- ergoplatform/sigmastate-interpreter#995
- ergoplatform/sigmastate-interpreter#997
- ergoplatform/sigmastate-interpreter#1007
- ergoplatform/sigmastate-interpreter#1008
- ergoplatform/sigmastate-interpreter#1015
- ergoplatform/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.