UPDATE: The launch of the Stacks 2.0 network has been triggered! The threshold trigger was reached at block 665250, export will be at block 665750, and Stacks 2.0 genesis should be at 666050.
The sequence of events to launch of the Stacks 2.0 mainnet is here! In the next 24 hours, miners will be able to upgrade to the latest Stacks 1.0 release, and take part in triggering the transition to Stacks 2.0 mainnet. @diwaker has previously outlined the upgrade process from Stacks 1.0 to Stacks 2.0 in this forum post, and this other forum post.
We wanted to put together a checklist for miners to better guide them through the process of participating in the upgrade. If you want to be a miner on the Stacks 2.0 mainnet, follow the below checklist. We recommend completing this checklist before January 12th if you want to participate in the Stacks 2.0 launch as a miner:*
- Set up access to a Bitcoin node. You can self-host, get together with other miners to share a node, or try to use a publicly-accessible bitcoin node. While running a Stacks miner has no specialized hardware requirements, if you plan to self-host bitcoin, please be aware of the requirements to run bitcoind
Join the Stacks Discord. The #mining channel will be the place for live support.
Register a name in the .miner namespace starting on January 8th. Documentation for registering a name can be found below in the FAQ section.
Note: As soon as 20 miners have registered, a countdown will begin:
- 300 blocks after this threshold is reached, a final snapshot of Stacks 1.0 state will be generated and any further Stacks 1.0 transactions will be rejected
- 300 blocks after that (so, 600 blocks after the threshold trigger), Stacks 2.0 code will start processing burnchain blocks and be ready to mine the genesis block.
- *Stacks 2.0 software will import the exported snapshot from the above step to instantiate the Stacks 2.0 genesis block. The Stacks 2.0 chain will go live 600 blocks (~4 days) after the threshold trigger (so 300 blocks after the export step). Note that this means there’s going to be a “dead time” of ~2 days during which no new Stacks 1.0 transactions would be admitted and Stacks 2.0 would not have launched yet.
Monitor the Stacks Forum for PBC to publish the Stacks 2.0 release build. As soon as the build is published, start running a node on it. If you are already running a Stacks 1.0 node, you will need to upgrade and restart your node/miner.
Have enough BTC to commit for 1 week or more.
Be prepared to restart your official stacks node and/or update software, potentially multiple time, during the first weeks of the mainnet.
To further help miners through this process, Daemon has set up a number of office hour sessions this week and next. The full schedule is as follows:
- Jan 8th at 1pm UTC
- Jan 9th at 2am UTC
- Jan 10th/11th at 11:30pm UTC
- Jan 11th at 1pm UTC
- Jan 11th/12th at 11:30pm UTC
- Jan 12th at 1pm UTC
To join any/all sessions please use the following zoom link: Launch Meeting - Zoom
Lastly, please use this forum thread to ask additional questions. We will continue to add to the FAQ below as questions come in.
- How do I get a name in .miner?
> * Using the Stacks CLI register command https://docs.blockstack.org/references/stacks-cli#register > > 1. Install the Blockstack CLI for the 1.0 network > > npm install -g https://github.com/blockstack/cli-blockstack > > 2. Use the register command to register the name. You need BTC in the address that shows up when you use the get_address command with your private key. > > blockstack-cli register <NAME>.miner <OWNER_PRIVATE_KEY> <PAYMENT_KEY> https://hub.blockstack.org > > Substitute <NAME> with the desired name > > Substitute <OWNER_PRIVATE_KEY> and <PAYMENT_KEY> with the corresponding private keys. The payment key can be the same as the owner key. The owner key must be the private key corresponding to the STX address of the miner. > > This command will queue and broadcast 2 Bitcoin transactions. 7 confirmations for each transaction are required for the name registration to complete. This takes about 2 hours. > > Cost to register a 5 character name is ~0.001 BTC or $40 USD.
How much does a .miner name cost?
- A name in
.mineractually just costs 10 sats ($0.004) The real cost above is dominated by Bitcoin transaction fees. (https://core.blockstack.org/v2/prices/names/foo.miner)
- A name in
Do I need to copy the state or the snapshot of Stacks 1.0?
- No need to copy any state: Stacks 1.0 data will be embedded in the Stacks 2.0 release build.
Do I need to be running Stacks 1.0 previously?