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
{{ message }}
This repository was archived by the owner on May 29, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+30-7Lines changed: 30 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Do you want to use staking in this service? (yes/no): n
48
48
> Using this code could potentially lead to loss of funds, compromised data, or asset risk.
49
49
> Exercise caution and use this code at your own risk. Please refer to the [LICENSE](./LICENSE) file for details about the terms and conditions.
50
50
51
-
Before you proceed, ensure you have at least 20 OLAS on Gnosis Chain. For more information on staking, checkout the following [blogpost](https://www.valory.xyz/post/alpine).
51
+
Each staking program has different OLAS requirements. The script will check that your owner address meets the minimum required OLAS on the Gnosis Chain.
52
52
53
53
Clone this repository locally and execute:
54
54
@@ -57,23 +57,46 @@ chmod +x run_service.sh
57
57
./run_service.sh
58
58
```
59
59
60
-
Answer 'Yes' when prompted:
60
+
Select your preferred staking program when prompted:
61
61
62
62
```text
63
-
Do you want to use staking in this service? (yes/no): y
63
+
Please, select your staking program preference
64
+
----------------------------------------------
65
+
1) No staking
66
+
Your Olas Predict agent will still actively participate in prediction
67
+
markets, but it will not be staked within any staking program.
68
+
69
+
2) Quickstart Beta - Hobbyist
70
+
The Quickstart Beta - Hobbyist staking contract offers 100 slots for
71
+
operators running Olas Predict agents with the quickstart. It is designed as
72
+
a step up from Coastal Staker Expeditions, requiring 100 OLAS for staking.
73
+
The rewards are also more attractive than with Coastal Staker Expeditions.
74
+
75
+
3) Quickstart Beta - Expert
76
+
The Quickstart Beta - Expert staking contract offers 20 slots for operators
77
+
running Olas Predict agents with the quickstart. It is designed for
78
+
professional agent operators, requiring 1000 OLAS for staking. The rewards
79
+
are proportional to the Quickstart Beta - Hobbyist.
64
80
```
65
81
66
-
Find below a diagram of the possible status a service can be in the **Alpine staking** program:
82
+
Find below a diagram of the possible status a service can be in the staking program:
Services can become staked by invoking the `stake()` contract method, where service parameters and deposit amounts are verified. Staked services can call the `checkpoint()` method at regular intervals, ensuring liveness checks and calculating staking incentives. In case a service remains inactive beyond the specified `maxAllowedInactivity` time, it faces eviction from the staking program, ceasing to accrue additional rewards. Staked or evicted services can unstaked by calling the `unstake()` contract method. They can do so after `minStakingDuration` has passed or if no more staking rewards are available.
86
+
Services can become staked by invoking the `stake()` contract method, where service parameters and deposit amounts are verified. Staked services can call the `checkpoint()` method at regular intervals, ensuring liveness checks and calculating staking rewards. In case a service remains inactive beyond the specified `maxAllowedInactivity` time, it faces eviction from the staking program, ceasing to accrue additional rewards. Staked or evicted services can be unstaked by calling the `unstake()` contract method. They can do so after `minStakingDuration` has passed or if no more staking rewards are available.
71
87
72
88
__Notes__:
73
89
74
90
- Staking is currently in a testing phase, so the number of trader agents that can be staked might be limited.
75
-
-In the [Alpine staking program](https://www.valory.xyz/post/alpine) services are evicted after accumulating 2 consecutive checkpoints without meeting the activity threshold.
91
+
-Services are evicted after accumulating 2 consecutive checkpoints without meeting the activity threshold.
76
92
- Currently, the minimum staking time is approximately 3 days. In particular, a service cannot be unstaked during the minimum staking period.
93
+
- Once a staking program is selected, you can reset your preference by stopping your agent by running ./stop_service.sh and then running the command
94
+
95
+
```bash
96
+
cd trader; poetry run python ../scripts/choose_staking.py --reset;cd ..
97
+
```
98
+
99
+
Keep in mind that your service must stay for `minStakingDuration` in a staking program (typically 3 days) before you can change to a new program.
0 commit comments