CRYPTO NEWS

how can i send a transaction in spesific block numbers with web3Js?

I wanna know how to send the transaction in spesific block numbers with web3js ( Yes its for sniping bot )

The purpose is to avoid the tax in 1-3 blocks since liquidity is added

For example :

New token are going to launch and having an anti sniper by putting those people or bots who are buying in 1-3 blocks from addliquidity transaction with a high tax

Addliquidity is added in 11008801 and the block on 11008801-11008803 having a high tax

how can i skip those blocks and send my transaction at 11008804 blocks ?

Someone told me to just add a delay with second , but im afraid that huge project launch will messing the second ( is it ? )

because from what i know is 1 block = 3 second and yeah im afraid if i put the delay by second for example im guessing that 3 second is 1 block but if the token are hyped and lot of transaction into it , maybe it will messing the second like 3 second become 10 block or more

sorry for my bad english , and thank you.

Transfer Balance in wei not i

I have this contract which reads the balance , I’m in BNB test , so it reads the BNB balance and then send to another adress half of the balance. The contract executes ok but the balance is sent in wei. TESTNET BSCSCAN detail : Tokens Transferred:From 0xd035e12aeb5c43c12be520ac5f770d423e278f26 To 0x485a967ca4307996308e3f52162d8dfcbfafe4dc For 7,393,324,594,469,100 () When I::Listen

I have this contract which reads the balance , I’m in BNB test , so it reads the BNB balance and then send to another adress half of the balance. The contract executes ok but the balance is sent in wei.

TESTNET BSCSCAN detail : Tokens Transferred:From 0xd035e12aeb5c43c12be520ac5f770d423e278f26 To 0x485a967ca4307996308e3f52162d8dfcbfafe4dc For 7,393,324,594,469,100 ()

When I check the accounts the amount transfered is not disccounted in the BNB balance from adress "a" and either added to the address "b".

How can I get the balance discounted in BNB ?

contract Escrow {  address public  a; address public  b;   event Transfer(address indexed _from, address indexed _to, uint256 _value);  constructor() public  {     a = msg.sender;     b = 0x485a967ca4307996308e3F52162D8dFCBfafE4dc; }  function getBalance() public  returns (uint256, uint256, address) {            address toAdress = b;         uint256 cantidad = address(a).balance;         uint256 charity = cantidad / 2;         emit Transfer(msg.sender, toAdress, charity);   }    } 

how can i send a transaction in spesific block numbers with web3Js?

Shopping cart
There are no products in the cart!
Continue shopping
0