Upcoming ICPCoins (Neutrinite) SNS decentralization

ICPCoins is preparing to launch its SNS DAO - Neutrinite and expects to begin the decentralization in the coming weeks.

This forum serves as an opportunity for the IC community to discuss the Neutrinite SNS, ask questions, and propose changes.

ICPCoins aims to revolutionize the decentralized web by securely sourcing data directly from decentralized exchanges (DEXes), DAOs, and other DeFi applications. It plans to establish comprehensive knowledge hubs, providing extensive and detailed information about various crypto projects to foster informed decision-making and community engagement in the blockchain space.

Dapp: https://icpcoins.com
White paper: ICPCoins whitepaper_v1.0.1.pdf - Google Drive
sns_init.yaml : https://gist.github.com/infu/5eb989bdc77fd835003a808fe0b7b4b3
Source code: https://github.com/orgs/Neutrinomic/repositories

26 Likes

This is awesome! You’ve been my favorite app on the IC - I love what you have planned! Your gift to the SNS1 community didn’t pan out as expected - but this way better.

I like the Airdrop of 50,000 tokens to SNS1 holders too.

6 Likes

Additionally, 17,000 NTN will be airdropped to Badbot Ninja and Ratoko NFT owners after successful launch (1 month after it). The eligible addresses for the airdrop will be finalized as of the publication date of this whitepaper. (now) Purchases made subsequent to this date will not qualify for airdrops. These will not come from the treasury but from tokens marked as ‘developer & seed’ in SNS config.

5 Likes

Congratulations, Team.
Any Ideas to perform a source code Audit?

Thanks! We are preparing a security report and will post it tomorrow.

1 Like

great. but i dont understand the need for a coin though.
coinmarket/gecko dont have one.

does a coin mean i have to pay for charts? then the crowd move away to the next free site, no?

The coin doesn’t mean you have to pay for charts.
Premium features - think something like Trading View’s - more alerts, etc. are more likely to get in.
The coin is a must-have so the dapp can be decentralized, owned, and governed by a DAO.

These are hosted on servers owned by one company each. CMC was acquired by Binance for 400m$ 2020, so there is value in these kinds of sites, even when they are free.

7 Likes

Our ICPCoins / Neutrinite DAO Security Report:

  1. The DAO, set to launch, utilizes SNS software for governance. This software, developed by Dfinity and overseen by the NNS, is undergoing a rigorous security review. The emerging DAO, Neutrinite, has restricted capabilities. It cannot alter its DAO software unless approved by the NNS. Neutrinite has the option to upgrade to newer versions, but cannot independently change its software.
  2. The SNS software is integral for managing the ledger, neurons, proposals, and voting processes. Neutrinite’s ability to modify these elements is limited, restricted to a few adjustable parameters.
  3. The ledger, which records all token transactions, can’t be changed by Neutrinite. Even with collective agreement, these records cannot be altered or censored, ensuring security for token holders.
  4. The DAO’s scope of parameter adjustments is limited, such as altering the maximum dissolve delay. Beyond these, the DAO is unable to:
    1. Change the proposal mechanism.
    2. Alter neuron functions and operations.
  5. Only custom software related to the dapp, but not the DAO, can be implemented.
  6. We, along with other developers, can suggest updates to the dapps controlled by the DAO. These updates require approval through a voting process by token holders participating in DAO governance. Customizable software includes the ICPcoins dapp and our DeFi statistics aggregator.
  7. Vulnerabilities in the dapp canisters with custom code do not pose a risk to the DAO’s system canister, thanks to the segregation inherent in the ICP protocol.
  8. Neutrinite DAO operates on a Dfinity-created dapp, secured and updated through NNS votes (see NNS dapp). This dapp also functions as a wallet. Neutrinite lacks the authority to modify this dapp, ensuring its governance system’s integrity and preventing censorship or actions that could lead to loss of user funds or data breaches.
  9. The NNS Dapp employs Internet Identity, safeguarded by NNS. It also does not collect personal user data.
  10. The ICPCoins dapp operates without user authentication, maintaining anonymity. We do not collect personal data, so bugs or vulnerabilities will not result in data leaks.
  11. The ICPCoins dapp does not access user funds, ensuring that bugs or vulnerabilities do not lead to financial losses for users.
  12. Data from the ICPCoins dapp is not blindly used by cryptocurrency traders. In case of discrepancies, traders can verify accurate prices at the time of transactions in DEXs, preventing fund loss.
  13. ICPCoins is an open-source project running on the ICP, offering greater transparency than platforms like CMC or DefiLama, which are closed-source and lack public clarity on data handling and price derivation.
  14. The ICPCoins frontend employs a Dfinity-created asset canister, negating the need for an additional security audit on it.
  15. The ICPCoins DeFi aggregator only offers anonymous queries, with limited functions for configuration changes, controlled by the Neutrinite DAO.
  16. The DeFi aggregator uses a temporary oracle for updating non-impactful cosmetic values such as ETH, ICP, BTC circulating supply, and volume, which will eventually be replaced by HTTP outcalls.
  17. It utilizes the Exchange Rate Canister (XRC), governed by NNS, for price feeds of externally traded pairs like ETH/USD, ICP/USD, BTC/USD, ICP/XDR.
  18. ICPCoins DeFi statistics aggregator gathers data from DEXs on the IC, where interfaces are not yet standardized and documentation is sparse. Much of the DEX code is proprietary and closed-source. The statistics we receive are occasionally incorrect. Even with our contract being entirely free of bugs and accurate in all calculations, it’s impossible to ensure the reliability of the data at this juncture, limiting its use to visual representations only. This issue is compounded by the lack of a uniform standard for DEXs to report such data, coupled with frequent modifications to interfaces that lead to disruptions in the data feed. Therefore, conducting a security audit on our data collection methods will not enhance accuracy or provide any additional guarantees at this point.
  19. By sourcing data from multiple DEXs and sources, ICPCoins mitigates the risk of inaccuracies.
  20. We actively propose improvements to other DEXs, especially open-source DAOs, to enhance their data quality.
  21. ICPCoins transparently communicates data accuracy issues to users, as seen in cases like the estimated depth from ICPSwap based on their TVL.
  22. One of our objectives is to enhance the overall security and data precision within the IC DeFi ecosystem. To this end, we have proactively identified and reported several vulnerabilities within the system at no cost. Moving forward, we aim to introduce and advocate for standards and protocols that will enable secure utilization of DEX data for purposes beyond mere visualizations, thereby contributing to a more robust and reliable DeFi environment.
  23. Verifying the accuracy of data in the ecosystem is an arduous task for users if they are only provided with low-level interfaces to canisters, especially when the data is not effectively visualized. However, with ICPCoins, users can easily access, review, and compare the data with other sources. This accessibility allows for the provision of feedback, which in turn, enhances the quality and reliability of the information provided by ICPCoins.
  24. Governance of ICPCoins by the SNS Neutrinite DAO enhances data accuracy:
    1. Data collection is verifiable through open-source code in our repository.
    2. Data modification is subject to DAO approval.
    3. Frontend algorithms for data display are verifiable.
    4. The information provided is uniform for all users.
    5. Frontend updates occur only with DAO consent.
  25. The ICP collected during the decentralization swap is directed into the DAO treasury. Governance of these funds is exercised through the DAO via a democratic voting process.
  26. The NTN held within the DAO treasury is managed by the newly formed DAO.
  27. Neurons held by developers and seed investors will not possess more than 40% of the voting power following the creation of the DAO. Once all airdrops are complete, their voting power will be reduced to a maximum of 34%
  28. The decentralization swap is executed securely through the NNS Dapp and Neutrinite’s launch configuration gets verified and accepted by the NNS.
  29. The NTN Ledger will operate on a public platform, ensuring complete transparency and visibility for all transactions. This decentralized approach eliminates any single point of failure, as the ledger is hosted on a highly secure IC subnet comprising 34 nodes positioned around the world. It adheres to the icrc1, icrc2, and icrc3 protocols, which are the recognized standards for IC fungible tokens.
8 Likes

Please inform me about your token distribution; I don’t seem to find it in your whitepaper

It’s there, but perhaps needs to be expanded on.
The Tokenomics section explains the distribution.

The launch of the decentralization swap will take place on https://nns.ic0.app/, contingent upon the approval of our proposal by the NNS (in the coming weeks). The timing of the launch is dependent on the acceptance date of the proposal.

1 Like

When are you expecting to submit the proposal for SNS launch?

In ~7 days if the date is available

1 Like

Great stuff. I knew you wouldnt forget the ninjas :slight_smile:

We are doing something a bit differently for better protection against >50% attacks.
Once the swap is complete, the neuron basket will look like this (screenshots of local tests):


Each neuron has a different dissolve delay but has the same amount of voting power.
The maximum voting power is obtained at the minimum dissolve delay.
A 1-month neuron will have the same power as a 4-month neuron

We have updated our sns_init.yaml
( The same link: https://gist.github.com/infu/5eb989bdc77fd835003a808fe0b7b4b3 )
Changes:

  • neurons and principals filled in
  • minimum_creation_stake: from 1 to 0.1 tokens
  • dissolve delay - duration : from 1 to 6 months
1 Like

Thank you for sharing the updated SNS init file, @infu.

Your approach is interesting, particularly in establishing the same neuron basket with dissolve delays of 0, 1, 2, 3, and 4 months for both the swap participants and the dev neurons.

I noticed that you have set the dissolve delay bonus to 0%, which, based on your comments, appears to be a strategy to mitigate 51% attacks by preventing neurons from boosting their voting power through higher dissolve delays.

Question: Why set the maximum dissolve delay at 6 months if the dissolve delay bonus is 0%? In other words, what is the incentive for anyone to choose a dissolve delay of 6 months over, say, 1 month?

1 Like

I tried setting max dissolve delay at 1 month (Voting->DissolveDelay->duration) while having the same basket of neurons, but then I got an error. I assume the system can’t create these neurons if dissolve delay isn’t >4 months. More likely a limitation placed in the yaml->proposal algorithms.

The DAO could vote to reduce the max dissolve delay to 31 days once it gets launched so new neurons don’t get the option to stake for 6 months.

In other words. Yes, there is no incentive to choose 6 month dissolve delay, it was increased so the initial basket can work. If I could put 1/5 of the neurons with 0 dissolve delay and 4/5 at 1 month dissolve delay, I would do that, but it isn’t an option.

1 Like

Last minute change - the frontend was on subnet “mupz…” which is crowded and we had troubles with it today.
We placed the latest asset canister (dfx 0.15.2) in a different subnet, for that reason the sns.yaml has a change:
rbtde-eqaaa-aaaai-qo55q-cai changed to 3s7ne-diaaa-aaaam-ab24a-cai
All commit permissions were removed as instructed by sns launch docs.

The SNS Proposal was made:

https://nns.ic0.app/proposal/?u=qoctq-giaaa-aaaaa-aaaea-cai&proposal=126745

Can you explain this in terms eth maxis would understand?

Is dissolve delay the lockup period? And if so, can you tell me when swappers on the nns launchpad will get their NTN tokens?

2 Likes

Dissolve delay is the lockup period when you start dissolving, basically with a button in the NNS dapp.
If you start dissolving all your neurons (there will be 5 once launch is complete) you will have one unlocked right away and each month one more will unlock until they are all unlocked. You can’t vote using the token unless they are in a neuron which is locked for at least 1 month.
You will either get NTN tokens in neurons (when the swap time ends) or you will get ICP back if minimum requirement isn’t met.

At which point will the code be open source?