
All PeakeCoin trading bots β including uni_bnb.py, uni_matic.py, uni_steem.py, and others β now feature Resource Credits (RC) monitoring logic, making them network-aware and self-regulating.
π No more wasting RC on failed transactions
π Adaptive delay based on your Hive accountβs current RC %
π Self-throttling behavior when RC is too low
π Automatic RC recovery tracking
Sorry if you know... but some don't so....
Hive is a RC-based blockchain. Every transaction consumes RC instead of gas fees.
If your RC runs out, transactions fail silently, or worse β bots crash or loop uselessly.
This can affect:
By integrating RC logic, your bots will now proactively check RC before placing any order.
We added this function:
def get_resource_credits(account_name):
url = "https://api.hive.blog"
payload = {
"jsonrpc": "2.0",
"method": "rc_api.find_rc_accounts",
"params": {"accounts": [account_name]},
"id": 1
}
resp = requests.post(url, json=payload)
if resp.status_code == 200:
rc = resp.json()['result']['rc_accounts'][0]
current = int(rc['rc_manabar']['current_mana'])
max_rc = int(rc['max_rc'])
return round(current / max_rc * 100, 2)
return None
This safely fetches your accountβs RC percent and returns it with 2 decimal precision.
smart_trade()In each bot:
rc_percent = get_resource_credits(account_name)
if rc_percent is not None:
if rc_percent < 10.0:
LOW_RC_CONSECUTIVE_COUNT += 1
DYNAMIC_DELAY = BASE_DELAY + (LOW_RC_CONSECUTIVE_COUNT * 300)
print(f"β οΈ RC too low ({rc_percent}%). Skipping trade.")
return
else:
# If RC recovered, reset delay
LOW_RC_CONSECUTIVE_COUNT = 0
DYNAMIC_DELAY = BASE_DELAY
The bot skips all trading actions when RC < 10% and extends the wait time to let RC regenerate. This ensures it doesnβt burn out the wallet or get rate-limited by Hive nodes.
[MATIC BOT] Resource Credits: 8.74%
[MATIC BOT] WARNING: Resource Credits too low (8.74%). Skipping trade cycle.
[MATIC BOT] Low RC count: 2. Next delay: 2100s (35.0 min)
Instead of fixed DELAY = 1500 seconds:
The RC is checked at the start of each smart trading cycle. If it's low, that entire cycle is skipped to conserve your wallet.
If you're running multiple bots from the same wallet, RC becomes your bottleneck.
This new logic guarantees:
Contact me, and I can get you bots. I can also host them for you, minimal fee.
This feature is part of a larger push toward self-healing, autonomous PeakeCoin bots that:
π± PeakeCoin USDT Bridge (Hive β Polygon/MATIC)
Bridge SWAP.USDT from Hive Engine to USDT on Polygon (MATIC).
Whitelist access, documentation, and bridge status updates:
π https://geocities.ws/peakecoin
βοΈ HiveP.I.M.P. β PeakeCoin Intelligent Market Protector
Operated by , P.I.M.P. stabilizes PEK markets and supports liquidity on Hive Engine.
Community liquidity participation strengthens long-term market health.
π Open-source code, bots, and documentation:
π https://github.com/paulmoon410
π° PeakeSino β The PeakeCoin Casino
Blockchain-powered games using PEK as the native in-game currency.
Built on Hive with a focus on provable fairness and community-driven growth.
π Casino code, UI, and game logic:
π https://github.com/paulmoon410
Thanks to and please follow
for their continued support, guidance, and help expanding the PeakeCoin ecosystem.