v2.0 is the first security audited and non-beta version of mainnet, as part of the NKN 2.0 ecosystem.
Feature Highlights
There are massive new features and improvements compared to mainnet v1.0 released, here are some of the highlights:
- Security audited by world leading security company Chaitin Tech, all known issues have already been fixed (with one low vulnerability issue as exception, which will be fixed in the future)
- New secure wallet format v2 using state of the art key derivation function, millions times harder to brute force than v1 format
- Name service generally available: using human readable name instead of public key for sending and receiving messages
- NanoPay generally available: lock-free payment channel for bandwidth usage payment
- Significant relay performance improvement: 95% less relay RAM usage, 20x higher throughput for low memory node
- Network and consensus security enhancement
- State pruning will be turned on by default (pruning only happens when nknd starts)
Upgrade to v2 Wallet Format
v1 wallet format is being deprecated because v2 wallet format is much more secure than v1. NKN node and SDK will continue to support v1 wallet format, but wallet created by new version of nknc and SDK will be in v2 format.
Existing wallets in v1 format are strongly recommended to be upgraded to v2 format if there are (or will be) any token in them. We provide a few simple way to upgrade v1 wallet to v2:
- Import your v1
wallet.json
in https://wallet.nkn.org and download it to getwallet.json
in v2 format. Note: you need to explicitly import the wallet; if you find you don't need to import it and browser remembers your wallet, the downloaded wallet will still be v1 format. A simple way to make sure it works is to open https://wallet.nkn.org in browser's private mode. - Use
nknc wallet --changepassword
to change your wallet password, and the updatedwallet.json
will be in v2 format. You can use the same password as new password, and nknc will still update the wallet to v2 format.
nkn-commercial
As part of the NKN 2.0 ecosystem, we also released nkn-commercial. nkn-commercial provides a much more convenient way to run and upgrade nknd, see details at: NKN commercial: an all-in-one mining software for NKN ecosystem