You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/operate/readme/run-a-node-with-digital-ocean.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,37 +10,37 @@ Build code is hosted on this [Github repository](https://github.com/stacksfounda
10
10
11
11
{% stepper %}
12
12
{% step %}
13
-
### Create the Droplet from the Marketplace
13
+
####Create the Droplet from the Marketplace
14
14
15
15
Go to the [Stacks Blockchain page](https://marketplace.digitalocean.com/apps/stacks-blockchain) in DigitalOcean's marketplace. Click on `Create Stacks Blockchain Droplet`.
16
16
{% endstep %}
17
17
18
18
{% step %}
19
-
### Choose plan and region
19
+
####Choose plan and region
20
20
21
21
Choose a plan (it will only allow you to select a droplet that meets the minimum requirements) and your preferred datacenter region.
22
22
{% endstep %}
23
23
24
24
{% step %}
25
-
### Authentication
25
+
####Authentication
26
26
27
27
Enter a root password or [enable SSH keys](https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/) if you prefer.
28
28
{% endstep %}
29
29
30
30
{% step %}
31
-
### Create the Droplet
31
+
####Create the Droplet
32
32
33
33
You can leave the rest of the options as they are and click on `Create Droplet`.
34
34
{% endstep %}
35
35
36
36
{% step %}
37
-
### Wait for creation
37
+
####Wait for creation
38
38
39
39
You will need to wait a few seconds for the droplet to get created. Once created click on it to see more information.
40
40
{% endstep %}
41
41
42
42
{% step %}
43
-
### Access the Droplet
43
+
####Access the Droplet
44
44
45
45
Congratulations! You are now running the Stacks Blockchain. You can click on `Console` for a terminal window to open or login using SSH to the public IP you've been assigned to with user `root`.
Copy file name to clipboardExpand all lines: docs/operate/readme/run-a-node-with-quicknode.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@
4
4
5
5
{% stepper %}
6
6
{% step %}
7
-
### Create a QuickNode account
7
+
####Create a QuickNode account
8
8
9
9
Sign up on QuickNode: https://www.quicknode.com/signup
10
10
{% endstep %}
11
11
12
12
{% step %}
13
-
### Create an endpoint
13
+
####Create an endpoint
14
14
15
15
Once signed in, click "Create an endpoint". Select:
16
16
@@ -22,13 +22,13 @@ After that you'll have an API endpoint URL you can use to connect to Stacks.
22
22
{% endstep %}
23
23
24
24
{% step %}
25
-
### Install the Stacks network package
25
+
####Install the Stacks network package
26
26
27
27
Install the `@stacks/network` package in your frontend project.
28
28
{% endstep %}
29
29
30
30
{% step %}
31
-
### Import the network class
31
+
####Import the network class
32
32
33
33
In your frontend code, import the network class:
34
34
@@ -40,7 +40,7 @@ import { StacksTestnet } from "@stacks/network";
40
40
{% endstep %}
41
41
42
42
{% step %}
43
-
### Configure the network with your QuickNode endpoint
43
+
####Configure the network with your QuickNode endpoint
44
44
45
45
Create the network instance using your QuickNode endpoint URL:
46
46
@@ -54,7 +54,7 @@ Replace \<QUICKNODE\_ENDPOINT\_HERE> with the full endpoint URL provided by Quic
54
54
{% endstep %}
55
55
56
56
{% step %}
57
-
### Use with @stacks/transactions
57
+
####Use with @stacks/transactions
58
58
59
59
You can now call transactions and other Stacks RPC methods as you normally would using the `@stacks/transactions` library, passing the `network` instance where required.
Copy file name to clipboardExpand all lines: docs/operate/run-a-sbtc-signer/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# How to Run sBTC Signer
1
+
# Run a sBTC Signer
2
2
3
3
{% hint style="info" %}
4
4
This documentation provides guidelines, best-practices and recommendations for running an sBTC Signer. Review it and adapt it to your infrastructure policy before deploying it.
@@ -14,19 +14,19 @@ It is of the utmost importance to follow the recommendations below.
14
14
15
15
{% stepper %}
16
16
{% step %}
17
-
### Prevent unauthorized access to signer infrastructure
17
+
####Prevent unauthorized access to signer infrastructure
18
18
19
19
Prevent unauthorized access to the sBTC Signer infrastructure (the signer itself, its private key, and the associated PostgreSQL database).
20
20
{% endstep %}
21
21
22
22
{% step %}
23
-
### Keep an offline, secure backup of the Signer private key
23
+
####Keep an offline, secure backup of the Signer private key
24
24
25
25
Keep an offline, secure backup of the sBTC Signer private key.
26
26
{% endstep %}
27
27
28
28
{% step %}
29
-
### Regularly backup PostgreSQL database
29
+
####Regularly backup PostgreSQL database
30
30
31
31
Regularly backup the PostgreSQL database and store it in a secure location.
32
32
{% endstep %}
@@ -42,11 +42,11 @@ Below are the **minimum required specs** to be able to run a sBTC signer.
42
42
* 4GB memory
43
43
* 50GB storage
44
44
45
-
Note that these are in _addition_ to the hardware requirements for running a Stacks node and Bitcoin node outlined in the [How to Run a Signer doc](https://app.gitbook.com/s/4cpTb2lbw0LAOuMHrvhA/run-a-signer).
45
+
Note that these are in _addition_ to the hardware requirements for running a Stacks node and Bitcoin node outlined in the [How to Run a Signer doc](../run-a-signer/).
Copy file name to clipboardExpand all lines: docs/operate/run-a-sbtc-signer/best-practices-for-running-an-sbtc-signer.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Best Practices for running an sBTC Signer
1
+
# Best Practices for Running a sBTC Signer
2
2
3
3
The following best practices suggest how to create a resilient setup for running your sBTC Signer.
4
4
@@ -16,13 +16,13 @@ The following best practices suggest how to create a resilient setup for running
16
16
17
17
{% stepper %}
18
18
{% step %}
19
-
### Import the backup
19
+
####Import the backup
20
20
21
21
Import the backup into a fresh PostgreSQL instance. The database alone is sufficient — you do not need to spin up a Stacks or Bitcoin node or the sBTC signer.
22
22
{% endstep %}
23
23
24
24
{% step %}
25
-
### Run the verification query
25
+
####Run the verification query
26
26
27
27
Execute the following query:
28
28
@@ -51,7 +51,7 @@ The most recent `aggregate_key` is the first row.
51
51
{% endstep %}
52
52
53
53
{% step %}
54
-
### Compare with the on-chain aggregate key
54
+
####Compare with the on-chain aggregate key
55
55
56
56
Fetch the current aggregate pubkey from the sbtc-registry contract and compare it to the most recent `aggregate_key` from the DB query:
57
57
@@ -118,4 +118,3 @@ You can use Prometheus metrics to monitor signer health. For example, see how Al
118
118
* Ensure that multiple, trusted system administrators can manage and maintain your sBTC Signer instance.
119
119
* Where feasible, system administrators should span different time zones.
120
120
* Document your operations procedures and ensure that relevant personnel have access to them.
0 commit comments