We are excited to announce that we have published a solution for locally testing SNS decentralization. Please refer to the instructions for setting up a local testing environment in its repository’s README. We provide a Docker image for x86-compatible platforms (please refer to the special instructions for Apple M1/M2).
If you are an SNS enthusiast, then you can locally go through the entire SNS decentralization process with a testing dapp provided in the repository and get familiar with all the technical details of an SNS lifecycle.
If you then want to decentralize your own dapp via SNS, you’ll be able to test the SNS lifecycle for your dapp before you launch an SNS on mainnet.
Have fun testing and a successful SNS launch afterwards!
It looks like there’s already a replica listening on port 8080 on your system. Could you please make sure to run dfx stop and also kill all docker containers for sns-testing that might be running (you can list them by docker ps)?
It looks like the docker daemon is not running. I’m not sure why it stopped, but it should start again if you reboot your machine or you could follow these instructions.
What do you mean by “gets stuck”: I suppose it could take quite some time to update the crates.io index (depending on your internet bandwidth and machine). You could also try running the corresponding command cargo build ... from the second-to-last line just above “Updating crates.io index” separately and take it from there.