StarkNet Alpha 4 Release

StarkNet Mainnet Release Candidate Available on Testnet

Nov 17, 2021 · 2 min read

Exciting Times Ahead

Alpha 4 was released today on Goerli. This version is the Mainnet release candidate and, if everything goes according to plan, will be deployed on Mainnet by the month’s end.

New Features

Although this version’s main focus is on getting ready for the Mainnet deployment, it also includes several new features:

Get this contract’s address

Contracts can now get their own address via the new syscall `get_contract_address`. We can, finally, put the selfie contract to rest.

Block Hash

Blocks are now identified via hash rather than Id. This follows our latest transition to transaction hashes. All APIs have been updated accordingly. We will soon release full technical documentation of the system, which will also include the specification of the block structure.

Contract Addresses

This version introduces a change to the way contract addresses are calculated. The address is a Pedersen hash on the caller address, a salt (random or chosen by the deployer), the contract code hash, and the hash of the constructor arguments, all appended by a prefix.

Hash(PREFIX, caller_address, salt, contract_hash, ctr_args_hash)

Token Bridges

Token bridges are a crucial part of StarkNet infrastructure. They allow transferring funds to and from StarkNet. The bridge is not deployed at the time of publication, but it should be available in a few days — along with the full documentation of its functionality and usage. One thing important to note is that the bridge uses the L1<>L2 messaging protocol. As such, it offers short withdrawal times — once a withdrawal is included in a batch and accepted on L1, the funds are available instantly to the user on L1.

Join StarkNet

There has never been a better time to join the growing StarkNet community. You can join the conversation in the StarkNet discord, participate in an online workshop, or use one of the tutorials to start building your first own app.


Developing the Full Proof Stack for STARK