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
The wallet balancer is a new utility which automatically manages the filecoin balance between different wallets. This is extremely useful for storage provider dealing with multiple control addresses.
# lotus-shed balancer -h
NAME:
lotus-shed balancer - Utility for balancing tokens between multiple wallets
USAGE:
lotus-shed balancer [command options] [arguments...]
DESCRIPTION:
Tokens are balanced based on the specification provided in arguments
Each argument specifies an address, role, and role parameters separated by ';'
Supported roles:
- request;[addr];[low];[high] - request tokens when balance drops to [low], topping up to [high]
- provide;[addr];[min] - provide tokens to other addresses as long as the balance is above [min]
OPTIONS:
--help, -h show help (default: false)
The below example, balancer will automatically transfer tokens from t3sa6jtbz4kn54bg2z5avrnlms4qi4qxyjiq4q2fpuudaxiwaa4ibmfhycawr4e2hh7nvshxb72wumd4dudhkq as long as it has more than 5000 tokens available. The receiving wallet t3vhhh5whspiwsxqstb36lkc4am7nqealtclkmxboj35pxspfcj6jkn76wd7t4aprvrzrbfbkee6gnkpxxlaxa will only (100 - current balance) tokens as soon as their balance drops below 5 tokens.
A balancer loop runs every 150ms and checks the wallet token amount and initiate a balancing action if required as per the user configuration specified.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The wallet balancer is a new utility which automatically manages the filecoin balance between different wallets. This is extremely useful for storage provider dealing with multiple control addresses.
The below example, balancer will automatically transfer tokens from
t3sa6jtbz4kn54bg2z5avrnlms4qi4qxyjiq4q2fpuudaxiwaa4ibmfhycawr4e2hh7nvshxb72wumd4dudhkq
as long as it has more than 5000 tokens available. The receiving wallett3vhhh5whspiwsxqstb36lkc4am7nqealtclkmxboj35pxspfcj6jkn76wd7t4aprvrzrbfbkee6gnkpxxlaxa
will only (100 - current balance) tokens as soon as their balance drops below 5 tokens.# lotus-shed balancer "provide;t3sa6jtbz4kn54bg2z5avrnlms4qi4qxyjiq4q2fpuudaxiwaa4ibmfhycawr4e2hh7nvshxb72wumd4dudhkq;5000" "request;t3vhhh5whspiwsxqstb36lkc4am7nqealtclkmxboj35pxspfcj6jkn76wd7t4aprvrzrbfbkee6gnkpxxlaxa;5;100"
A balancer loop runs every 150ms and checks the wallet token amount and initiate a balancing action if required as per the user configuration specified.
Beta Was this translation helpful? Give feedback.
All reactions