Skip to content

Testnet Pre-release v2.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@andrevmatos andrevmatos released this 13 Aug 15:35
· 568 commits to master since this release

🧑‍🍳 New Raiden Light Client SDK, dApp and CLI Pre-Release

INFO: The Light Client SDK, CLI and dApp are all work in progress projects. All three projects have been released for mainnet and all code is available in the Light Client repository. As this release still has its limitations and is a beta release, it is crucial to read this readme including the security notes carefully before using the software.

This is a pre-release (for testing only) of the next version of the light-client. It's a major version bump because it includes support for the new raiden-contracts v0.39, and as so, requires users to ensure their old channels are closed and settled, and as this also includes new UserDeposit (UDC) contracts, users willing to upgrade should also withdraw the service tokens deposited on the old ones to deposit on the new contracts.

One of the main features of the new contracts is to support cooperatively settling channels, also implemented on this client version, which allows cooperating clients to close and settle channels in a single transaction, without having to wait settleTimeout (default of 500 blocks) in order to settle and retrieve the funds. This is automatically done if possible when trying to close a channel (Raiden.closeChannel SDK method).

This release should be compatible with old contracts and clients, but defaults to the new deployment information, so if you want to run it on the old contracts, you may need to specify the contracts information manually (e.g. by running the CLI with --user-deposit-contract-address=0xD145252daB9323F9Acb70295d6a0589c611F225d for Göerli).

Raiden SDK

Added

  • [#2839] Cooperative settlement - allow users to exchange withdraw signatures enabling settling a channel instantly. This is the new default behavior on Raiden.closeChannel, falling back to default uncooperative close if needed.