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
-d "{\"title\":\"Liquidity-provider-server automated update of documentation ${BRANCH_NAME}\",\"body\":\"This PR updates the Devportal documentation with the latest changes from the Liquidity Provider Server repository.\",\"head\":\"${BRANCH_NAME}\",\"base\":\"main\"}"
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,6 +191,9 @@ The service is configured in `docker-compose/monitoring/src/config.ts` and suppo
191
191
192
192
The service can be configured to monitor other addresses by modifying the `MONITORED_ADDRESSES` array in `docker-compose/monitoring/src/config.ts`.
193
193
194
+
## Additional clarifications
195
+
- The liquidity provider server is designed to run with an exclusive wallet. Horizontal scaling requires a separate wallet per instance. This codebase assumes a non-shared wallet.
196
+
194
197
## More Information
195
198
196
199
If you're looking forward to integrate with Flyover Protocol then you can check the [Flyover SDK repository](https://github.com/rsksmart/flyover-sdk/blob/main/README.md).
Copy file name to clipboardExpand all lines: SECURITY.md
+8-20Lines changed: 8 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,25 @@
1
-
# Liquidity Provider Server Security Process
1
+
# RootstockLabs's Security Process
2
2
3
3
We are committed to conduct our security process in a professional and civil manner. Public shaming, under-reporting or misrepresentation of vulnerabilities will not be tolerated.
4
4
5
5
## Responsible Disclosure
6
6
7
-
For all security related issues, Liquidity Provider Server has two main points of contact. Reach us at `security@rootstocklabs.com` or refer to our [Bug Bounty Program](https://www.rootstocklabs.com/bug-bounty-program). **Do not open up a GitHub issue if the bug is a security vulnerability**
7
+
For all security related issues, RootstockLabs has two main points of contact. Reach us at <security@rootstocklabs.com> or refer to our [Bug Bounty Program](https://www.rootstocklabs.com/bug-bounty-program/). **Do not open up a GitHub issue if the bug is a security vulnerability**
8
8
9
9
**Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/rsksmart/liquidity-provider-server/issues).
* Public disclosure of a vulnerability makes it ineligible for a bounty. If the user reports the vulnerability to other security teams (e.g. Ethereum or ETC) but reports to RootstockLabs with considerable delay, then RootstockLabs may reduce or cancel the bounty.
27
-
28
-
For more information check RootstockLabs bounty program policy at [HackerOne](https://hackerone.com/rootstocklabs)
16
+
For more information, check RootstockLabs bounty program policy at [Immunefi](https://immunefi.com/bug-bounty/rootstocklabs/information)
The Flyover system allows a user to transfer BTC from Bitcoin to RSK and vice versa in a fast way, where a third party
4
-
takes the risk to advance the payment for the user. Flyover also provides the new feature to transfer BTC from Bitcoin
5
-
directly to a smart contract in RSK.
6
-
7
-
The outstanding feature of the Flyover system is that it accomplishes the above without giving any third party custody
8
-
of the transferred funds. This is an outstanding security guarantee to the user. The system comprises one or more
9
-
liquidity providers (LPs) that store their BTC in RSK and Bitcoin. The first version of the Flyover protocol supports only the
10
-
peg-in process (BTC to RBTC). Later versions will also support the peg-out process (RBTC to BTC).
3
+
The Flyover system allows a user to transfer BTC from Bitcoin to Rootstock and vice versa in a fast way, where a third party takes the risk to advance the payment for the user. Flyover also provides the new feature to transfer BTC from Bitcoin directly to a smart contract in Rootstock.
11
4
5
+
The outstanding feature of the Flyover system is that it accomplishes the above without giving any third party custody of the transferred funds. This is an outstanding security guarantee to the user. The system comprises one or more liquidity providers (LPs) that store their BTC in Rootstock and Bitcoin. The first version of the Flyover protocol supports only the peg-in process (BTC to RBTC). Later versions will also support the peg-out process (RBTC to BTC).
12
6
13
7
## Workflow
14
8
@@ -18,21 +12,21 @@ to isOperational could be performed at a different time:
The following diagrams show the interactions between Liquidity Provider, Liquidity Bridge Contract and RSK Bridge Contract in three different scenarios:
15
+
The following diagrams show the interactions between Liquidity Provider, Liquidity Bridge Contract and Rootstock Bridge Contract in three different scenarios:
22
16
1. Basic fast bridge workflow (happy path)
23
17
2. Unsuccessful call on behalf of a user
24
18
3. Liquidity Provider fails to deliver funds to LBC
_Figure 2 - Fast bridge interactions when the call on behalf of the user is unsuccessful. The LP keeps the call fee and the rest is refunded to the refund RSK address._
27
+
* Figure 2 - Fast bridge interactions when the call on behalf of the user is unsuccessful. The LP keeps the call fee and the rest is refunded to the refund RSK address._
_Figure 3 - Fast bridge interactions when the LP fails to call the LBC on behalf of the user. The LBC slashes the LP's collateral and refunds the user on the refund RSK address._
32
+
* Figure 3 - Fast bridge interactions when the LP fails to call the LBC on behalf of the user. The LBC slashes the LP's collateral and refunds the user on the refund RSK address._
Copy file name to clipboardExpand all lines: docs/Operating-LP.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,18 @@
1
-
A Liquidity Provider (LP) contributes funds in Rootstock (RBTC) and Bitcoin (BTC) to a liquidity pool. In exchange for providing this liquidity and facilitating trades between the two assets, LPs earn rewards (fees) generated from trading activity.
1
+
A Liquidity Provider (LP) contributes funds in Rootstock (rBTC) and Bitcoin (BTC) to a liquidity pool. In exchange for providing this liquidity and facilitating trades between the two assets, LPs earn rewards (fees) generated from trading activity.
2
2
3
-
> LPs can be individuals, institutions, exchanges, or aggregators. See [glossary](/developers/integrate/flyover/glossary/)section for explanation of terms.
3
+
> LPs can be individuals, institutions, exchanges, or aggregators. See the [glossary](/developers/integrate/flyover/glossary/) for term definitions.
4
4
5
-
This section outlines the key features and functionalities that Liquidity Providers (LPs) should be familiar with to effectively operate their Liquidity Provider Servers (LPS). The information provided encompasses both technical and operational aspects, making it a valuable resource for both LPs and those responsible for deploying the LPS environment.
5
+
The Flyover protocol is trust-minimized, this means user funds go to the PowPeg federation (peg-in) or the Liquidity Bridge Contract (peg-out), never to the Liquidity Provider. LPs supply liquidity and are repaid by the protocol; they do not hold custody of user funds. This design matters for institutional LPs and their users.
6
+
7
+
This section outlines the key features and operations that Liquidity Providers (LPs) need to run their Liquidity Provider Servers (LPS) effectively. The information provided encompasses both technical and operational aspects, making it a valuable resource for both LPs and those responsible for deploying the LPS environment.
6
8
7
9
## Requirements
8
10
* See minimum security requirements
9
11
* Configure environments
10
12
- LPS Wallet
11
13
- LPS environment
12
14
* Liquidity
13
-
- The minimum required is the collateral amount (regardless of the amount of liquidity), which currently is 0.06 RBTC that needs to be paid during transaction registration. See [how to get RBTC](https://rootstock.io/rbtc/).
15
+
- The minimum required is the collateral amount (regardless of the amount of liquidity), which currently is 0.06 rBTC that needs to be paid during transaction registration. See [how to get rBTC](https://rootstock.io/rbtc/).
14
16
15
17
### Main Dependencies
16
18
The liquidity provider server has the following dependencies:
@@ -57,4 +59,4 @@ See the [minimum security requirements](https://github.com/rsksmart/liquidity-pr
Copy file name to clipboardExpand all lines: docs/Trusted-Accounts.md
+6-19Lines changed: 6 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,11 @@
1
1
# Liquidity Provider Trusted Accounts
2
2
3
-
## 🧠 Summary
3
+
## Summary
4
4
The **Liquidity Provider Trusted Accounts** feature extends the existing **Liquidity Provider Server (LPS)** and **FlyoverSDK** to allow Liquidity Providers (LPs) to configure a set of trusted Rootstock accounts that can bypass certain validation checks — such as the **reCAPTCHA** verification — during **PegIn** or **PegOut** operations.
5
5
6
6
This functionality is part of the **Flyover Protocol**, aimed at enabling automated integrations for partners and liquidity providers who operate frequently.
7
7
8
-
---
9
-
10
-
## 🏗 Architecture and Design
8
+
## Architecture and Design
11
9
12
10
### Components
13
11
This feature adds functionality to two existing components:
@@ -18,9 +16,7 @@ This feature adds functionality to two existing components:
18
16
- Backward compatible with existing FlyoverSDK versions `>= v1.7.0` and LPS versions `>= v2.3.0`.
19
17
- The account paying for the operation doesn’t need to be the same as the whitelisted account, but a valid signature of the quote hash from the trusted account must be provided.
20
18
21
-
---
22
-
23
-
## ⚙️ Setup and Configuration
19
+
## Setup and Configuration
24
20
25
21
### Environment Requirements
26
22
-**FlyoverSDK:**`>= v1.70`
@@ -30,9 +26,7 @@ This feature adds functionality to two existing components:
30
26
- The LP must configure authorized trusted accounts in their **LPS instance**.
31
27
- No additional `.env` variables or feature flags are required.
32
28
33
-
---
34
-
35
-
## 🔌 API / Interface Details
29
+
## API / Interface Details
36
30
37
31
### FlyoverSDK Methods
38
32
@@ -53,9 +47,7 @@ Both error types are raised as **`FlyoverError`** instances:
53
47
| Invalid Signature | The provided signature does not match a whitelisted account. |
54
48
| Locking Cap Exceeded | The account exceeded its assigned BTC/RBTC locking cap. |
55
49
56
-
---
57
-
58
-
## 🧭 Integration Guide
50
+
## Integration Guide
59
51
60
52
To integrate this feature:
61
53
@@ -75,9 +67,7 @@ Trust is based solely on account whitelisting and signature verification.
75
67
- Primary integration via **FlyoverSDK**
76
68
- No direct API calls required
77
69
78
-
---
79
-
80
-
## 🧪 Testing
70
+
## Testing
81
71
82
72
### Local Testing Setup
83
73
- Deploy a **local LPS instance**.
@@ -91,15 +81,12 @@ Example tests and automation demos can be found in:
91
81
### Notes
92
82
Follow the documentation in the above repository for commands and setup steps.
0 commit comments