Bitcoin Forum
June 17, 2024, 05:39:30 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Automating sendmany with % distribution from core  (Read 114 times)
WhyFhy (OP)
Hero Member
*****
Offline Offline

Activity: 1430
Merit: 513


View Profile
February 26, 2022, 06:14:16 AM
Last edit: February 26, 2022, 06:24:23 PM by WhyFhy
 #1

sendmany "" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode" fee_rate verbose )
Basically, i want to use core to split up weekly/daily mining deposits in percentages automatically
from pool to landing wallet , from landing wallet to wallet1(50%) wallet2(20%) wallet3(20%) wallet4(10%) fee deducted from landing wallet.
Will this require external input (c# maybe?) or can it be done in core?
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6897


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 26, 2022, 12:09:21 PM
Merited by ABCbits (1)
 #2

Bitcoin Core does not have a scheduling system so it can't automatically run RPC calls. You need to use MacOS/Linux cron or Windows Task Scheduler with a time interval and have it call some batch script which in turn makes the RPC call you want it to make.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
WhyFhy (OP)
Hero Member
*****
Offline Offline

Activity: 1430
Merit: 513


View Profile
February 26, 2022, 06:24:07 PM
 #3

Bitcoin Core does not have a scheduling system so it can't automatically run RPC calls. You need to use MacOS/Linux cron or Windows Task Scheduler with a time interval and have it call some batch script which in turn makes the RPC call you want it to make.
Notated thank you.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!