I currently run geth to create and query the ethereum blockchain for transactions in light mode. I don't have a eth full node running. I tried running the same similar setup for Binance Smart Chain in light mode, but running into issues. Is there another proposed way to go about creating transactions on BSC via geth in light mode? Or even another service that can do this?
-
1Can you be more specific on how you consume your node api? Curl ? Web3/ethers? What are the issues you are encountering ?– DrGorilla.ethCommented Nov 3, 2021 at 1:16
-
My users have eth private keys and they are essentially the same thing on BSC. I've been just submitting eth transactions using curl sending it to geth in light mode.– Patoshi パトシCommented Nov 3, 2021 at 1:28
-
Do you only need to broadcast already signed transactions? Or do you need to create the transaction, sign it and broadcast it? How do you currently sign transaction for your users?– Undead8Commented Nov 4, 2021 at 19:08
Add a comment
|
1 Answer
It look like BSC light node have issues since last update (see this GitHub issue for instance https://github.com/binance-chain/bsc/issues/452 )
As an alternative, Binance has free endpoint (https://docs.binance.org/smart-chain/developer/rpc.html) and there are a few third-party providers (Quicknode, Ankr, Moralis) offering BSC nodes (sometimes at a cost).