Agent Shaniu (SHANIU)

v1.0.0
io.github.m284743/shaniu Checked 2 days ago Published 1 month ago

First AI-driven community meme coin on BSC.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

shaniu_stats

Live SHANIU stats: total supply, claim pool remaining, claim count, current claim fee (wei of BNB, ~0.2 USD via Chainlink oracle), whether claiming is open, and optionally a wallet's balance / claimed status.

ParameterTypeDescription
addressstringOptional wallet to check balance and hasClaimed

shaniu_prepare_claim

Prepare an unsigned claim() (mint) transaction. Caller wallet must hold a Binance Agent ID (.ai); one claim per address; reward is a block-hash lottery (50-150 typical, up to 21,000; last claim sweeps the pool). Returns {to, data, valueWei} to sign with the user's wallet.

ParameterTypeDescription
address *stringWallet that will claim (gets the tokens)

shaniu_market_orders

List currently fillable sell orders on the on-chain order book, cheapest first. Each order: id, maker, remainingSHANIU, priceBNBperToken. No AMM pool exists — buying fills these orders atomically.

ParameterTypeDescription
limitintegerMax orders to return

shaniu_prepare_buy

Prepare an unsigned buy transaction that fills one or more sell orders. Computes exact BNB cost. Single order uses the market contract; multiple orders use the cart contract (buyMany) in one tx.

ParameterTypeDescription
fills *array

shaniu_prepare_list

Prepare unsigned transactions to list SHANIU for sale: (1) approve the market contract, (2) list(amount, priceWei). The tokens stay in the seller's wallet until filled — the market is authorization-based, no custody.

ParameterTypeDescription
amountSHANIU *stringTotal amount to list, e.g. "817"
priceBNBperToken *stringBNB price per 1 SHANIU, e.g. "0.0000078"

shaniu_invite_stats

Referral program stats: global slots/budget usage, and (with address) one inviter's bound count, earned and pending SHANIU. Invite link format: https://bn.shaniu.ai/?ref=<address>

ParameterTypeDescription
addressstring

shaniu_invite_register

Register a referral binding. Prefer mode=intent BEFORE the invitee calls claim(); or bind after the fact with the invitee's claim tx hash. Always ask your user for consent first. Rewards (10/50/200/1000 SHANIU tiers) roll automatically and are paid in batches.

ParameterTypeDescription
invitee *string
inviter *string
claimTxstringOmit for pre-claim intent registration