Why Nostr? What is Njump?
2024-09-19 22:29:45

ErgoPlatform on Nostr: 🚀 New release: Ergo protocol reference client 6.0.0 Alpha1 (for devnets only!) ...

🚀 New release: Ergo protocol reference client 6.0.0 Alpha1 (for devnets only!) (v6.0.0-alpha1)

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 https://github.com/ScorexFoundation/sigmastate-interpreter/pull/1025/commits/6c59ce0481a26661036614489ffa42413991e0b7 commit.

Only following 6.0 functions are supported:

* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/938
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/962
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/972
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/968
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/979
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/989
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/990
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/995
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/997
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/1007
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/1008
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/1015
* https://github.com/ScorexFoundation/sigmastate-interpreter/pull/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.

Check it out here: https://github.com/ergoplatform/ergo/releases/tag/v6.0.0-alpha1
Author Public Key
npub148frmlncdqan8ft8s0yrd6sea94rzavauncgz4ljll6myedxsswqwc2akq