Blackhole Token Ledger

Hello guys!

I hope everyone is enjoying their holidays!

I am creating on a side project that make use of a token that I will launch and I will distribute 100% of its supply through user engagement.

I want to blackhole my token’s ledger to make it immutable, do I have to copy the blackhole’s source code from (GitHub - ninegua/ic-blackhole: Once a canister sets its only controller to a black hole, it becomes immutable and more!) to deploy my own blackhole canister or there is a publicly known deployed blackhole canister adopted by the ecosystem I can use to blackhole my token?

3 Likes

Blackholing your canister simply means removing all controllers, and ensuring the canister has no way of being upgraded. Since blackholing a canister is more for others than the creator (trust), usually open sourcing the code of the canister smart contract and providing some sort of reproducible build is recommended.

https://cycleops.dev blackholed its core canister monitoring smart contract so that others can easily integrate with it in a trustless manner. Here’s a link to the monitoring canister repo, which includes different versions of our blackhole, as well as a way to verify the canister wasm and having 0 controllers via a GitHub action.

Note: We needed to deploy different versions of our blackhole to release new functionality, since a blackhole canister cannot be updated once blackholed.

3 Likes

Thanks so much, I will reuse your code to blackhole the meme token I am creating and the minter protocol (the one responsible to distribute the token)

1 Like