Skip to content

Commit 0f9e3bb

Browse files
author
Alexey Kostenko
committed
docs
1 parent b85856f commit 0f9e3bb

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
# DEPREACTED!!!
2-
## ACTUAL VERSION: https://github.com/akos-tk/subscription-remover
1+
# Subscription remover
2+
3+
Sends a command to delete subscriptions.
4+
The sender must be the beneficiary's subscription wallet.
5+
The list of subscription addresses should be in a `subscriptions.csv` file.
6+
7+
You can set configuration values directly in the code (`Seed`,`Version` vars) or use environment variables.
8+
9+
ENV variables:
10+
* `BENEFICIARY_WALLET_SEED`
11+
* `BENEFICIARY_WALLET_VERSION` - format `v4R2`, `v5R1`, `v3R2`
12+
* `LITE_SERVERS` - optional. Public mainnet servers by default. Format: `IP1:PORT1:KEY1,IP2:PORT2:KEY2`

cmd/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func unsubscribeAsBeneficiary(cli *liteapi.Client, w *wallet.Wallet, subs []ton.
9696
cancel()
9797
if err != nil {
9898
log.Printf("failed to get subscription state: %v", err)
99+
time.Sleep(200 * time.Millisecond)
99100
continue
100101
}
101102
if st.Account.Status() == tlb.AccountActive {

0 commit comments

Comments
 (0)