Proposal 134484 to upgrade the NNS dapp (13/12/2024)

Hello, ICPeople! Proposal 134484 to upgrade the NNS dapp just went live, please consider voting. :ballot_box:

This proposal combines two highly requested, and very exciting features!

Fiat values

If the proposal is adopted you will be shown USD values of tokens you hold. We propose to roll out this feature using @ICPSwap’s public API. Token prices are calculated using ICP/TOKEN pairs, and ckUSDC/ICP pair. Prices are update periodically, every 10 mins.

In the following weeks, we plan to propose this implementation in the Neuron Staking page as well.

Reporting

This proposal also introduces the MVP of a new reporting page. Here, you will be able to export 2 CSV files. First, a snapshot of your token portfolio, which includes all tokens you hold at the moment of exporting, including all ICP subaccounts.

The second table contains a list of all transactions also including neuron staking transactions, or mint transactions from spawned neurons. This table is groupped by account IDs seen on the left, showing transactions on the right.

We hope you will like these new features, and looking forward to any feedback.

Proposal Summary

Upgrade NNS Canister: qoctq-giaaa-aaaaa-aaaea-cai to wasm with hash: 505a36e1bd29cd107ff8e83eb09ea687d0c2e7dbbaa5836ce661ba734a9e0495

Upgrade frontend NNS Dapp canister to commit f4f919779501469f1d40759b5c529af12ba4b591

Wasm sha256 hash: 505a36e1bd29cd107ff8e83eb09ea687d0c2e7dbbaa5836ce661ba734a9e0495 (https://github.com/dfinity/nns-dapp/actions/runs/12296872109)

Change Log

Added

  • Show USD values of tokens.
  • Reporting page for NNS Neurons and ICP transactions.

Changed

  • Sorts launched projects in the Launchpad page from newest to oldest.

Wasm Verification

To build the wasm module yourself and verify its hash, run the following commands from the root of the nns-dapp repo:

git fetch  # to ensure you have the latest changes.
git checkout "f4f919779501469f1d40759b5c529af12ba4b591"
git merge-base --is-ancestor HEAD origin/main && echo "OK" || echo "Commit is not on main branch!"
./scripts/docker-build
sha256sum nns-dapp.wasm.gz

You may also want to verify the canister arguments. In the proposal they are binary, which is not very readable. Docker provides both binary and text formats and you can verify that the text format corresponds to the binary arg_hex field in the proposal.

cat nns-dapp-arg-mainnet.did
didc encode "$(cat nns-dapp-arg-mainnet.did)" | xxd -r -p | sha256sum
7 Likes

Dope. Timing. Fa sho.

Nice. Can you please add EUR?