0x4f7336C31c8EbE52BAaf4Ac24887EA4FE2C7BFAF BSC wallet
Place bet for the bigger payout (The option where fewer people placed a bet) If there are more bulls, the payout is going to be less, so we bet bear.
Same as above, but the bet is placed where the majority of participants placed a bet.
Well, always bear, bet that the price is going down.
Same as above, but bet that the price is going up.
Simulates having two wallets with the same amount of BNB, and you can select to add weight to your bets for the minor or bigger payout.
Bears payout is x2.5 and Bulls payout is x1.3 You can add weight to the bigger payout thus the resulting positions will be:
Bears Bet = betAmount*weight
Bull Bet = betAmount
if Bears win you will get (0.01*2) * 2.5 * (1-3%)
(considering 3% fee).
That's 0.0485 BNB
-> 0.0285
BNB gained
On the other hand, you also have a position for bulls in the other wallet, which is 0.01.
So your net gains are 0.0285-0.01
=> 0.0185 BNB
If Bulls win you will get (0.01) * 1.3 (1-3%)
(considering 3% fee)
That's 0.01261
-> 0.00261
BNB gained
But your bear position is 0.02
, so you will end losing 0.01739 BNB
npm i
node index.js
Tested on production, feel free to run in Testnet. Pancake swap prediction contract address and BSc explorer can be modified using the following env vars:
BSC_PROVIDER_URL=BSC explorer url
PKS_CONTRACT_ADDRESS=Pancake Swap prediction contract address
The results/code and settings of this bot are for recreational purposes and are not intended to be used as financial advice.