Browse Source

chore: address changes

fix/redirects-layout
CharlieC3 4 years ago
committed by Charlie
parent
commit
420ff8a25f
  1. 5
      next.config.js
  2. 6
      src/pages/start-mining/mainnet.md
  3. 6
      src/pages/start-mining/testnet.md

5
next.config.js

@ -608,6 +608,11 @@ async function redirects() {
destination: '/start-mining/mainnet', destination: '/start-mining/mainnet',
permanent: true, permanent: true,
}, },
{
source: '/start-mining',
destination: '/start-mining/mainnet',
permanent: true,
},
{ {
source: '/smart-contracts/overview', source: '/smart-contracts/overview',
destination: '/write-smart-contracts/overview', destination: '/write-smart-contracts/overview',

6
src/pages/start-mining/mainnet.md

@ -36,7 +36,7 @@ First, download the bitcoind software for your platform from https://bitcoin.org
Next, start bitcoind with the following configuration: Next, start bitcoind with the following configuration:
``` ```toml
server=1 server=1
rpcuser=your-bitcoind-username rpcuser=your-bitcoind-username
rpcpassword=your-bitcoind-password rpcpassword=your-bitcoind-password
@ -65,10 +65,10 @@ First, a keychain needs to be generated. With this keychain, we'll purchase some
To get a keychain, the simplest way is to use the `stacks-cli`. We'll use the `make_keychain` command. To get a keychain, the simplest way is to use the `stacks-cli`. We'll use the `make_keychain` command.
```bash ```bash
npx @stacks/cli make_keychain 2>/dev/null npx @stacks/cli make_keychain 2>/dev/null | json_pp > keychain.txt
``` ```
After this runs, you'll probably see some installation logs, and at the end you should see some JSON that looks like this: After this runs, you should see some JSON in the new `keychain.txt` file that looks like this:
```json ```json
{ {

6
src/pages/start-mining/testnet.md

@ -31,7 +31,7 @@ First, download the bitcoind software for your platform from https://bitcoin.org
Next, start bitcoind with the following configuration: Next, start bitcoind with the following configuration:
``` ```toml
server=1 server=1
rpcuser=your-bitcoind-username rpcuser=your-bitcoind-username
rpcpassword=your-bitcoind-password rpcpassword=your-bitcoind-password
@ -63,10 +63,10 @@ First, a keychain needs to be generated. With this keychain, we'll get some test
To get a keychain, the simplest way is to use the `stacks-cli`. We'll use the `make_keychain` command, and pass `-t` to indicate that we want a testnet keychain. To get a keychain, the simplest way is to use the `stacks-cli`. We'll use the `make_keychain` command, and pass `-t` to indicate that we want a testnet keychain.
```bash ```bash
npx @stacks/cli make_keychain -t 2>/dev/null npx @stacks/cli make_keychain -t 2>/dev/null | json_pp > keychain.txt
``` ```
After this runs, you'll probably see some installation logs, and at the end you should see some JSON that looks like this: After this runs, you should see some JSON in the new `keychain.txt` file that looks like this:
```json ```json
{ {

Loading…
Cancel
Save