pro tip: 如何正确使用 Flashbots?

1/ 通过 Flashbots 发送交易时,只有交易成功时才支付矿工费,更节约交易成本。

可以减少在 Uniswap Dex 上兑换被夹的可能(当前版本 v0.4,交易未隐私,仍可以被 relayer 和矿工看到);避免在 Opensea 扫地板时被别人抢先扫掉,交易 reverted 仍然需要支付 gas。
2/ 在 metamask 中配置 Flashbots RPC

选择 Custom RPC 添加网络,正确填写以下信息(仅适用于以太坊主网)。

网络名称: Flashbots RPC
新增 RPC URL: rpc.flashbots.net
链 ID: 1
Currency Symbol: ETH

docs.flashbots.net/flashbots-prot…
3/ 检查 metamask 是否正确选择 Flashbots RPC 网络

通过 Flashbots RPC 网络发送交易,长时间未被打包会被丢弃;这时需要注意的是,如果有进行中的交易,不能切换网络至以太坊主网,否则会将交易发送给以太坊主网的 RPC 节点,导致失败交易被打包,从而浪费 gas。

#flashbots #flashnft
4/ 如果已有进行中的交易,长时间未被打包也未提示丢弃,如何发起下一笔交易?

打开 metamask 设置 -> 高级 -> 自定义交易 nonce,启用,发送下一笔交易时,可以手动编辑 nonce,nonce 的值与进行中交易的 nocne 一致即可。
5/ 一般钱包中取消交易的原理,也是通过覆盖 nonce 的方式发起一笔 self 交易(向自己转一笔 0 eth 的交易)。

每个地址的 nonce 都是从 0 开始,当 nonce 为 0 的交易处理完之后,才会处理 nonce 为 1 的交易,依次累加;修改 nocne 为 metamask 高级功能,若不理解 nonce 的含义,请谨慎使用。

:)

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with FlashNFT⚡️

FlashNFT⚡️ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(