0xsequence / bundler

ERC5189 p2p transaction bundler
14 stars 1 forks source link

Include payment token on pubsub topics #20

Open Agusx1211 opened 3 months ago

Agusx1211 commented 3 months ago

All operations are currently being shared using a GossipSub topic ERC5189:pool:op:<chain-id>.

However, ERC-5189 allows operations to natively pay each bundler in any ERC20 token; however, not every bundler is obliged to accept any specific ERC20 token.

This means that some bundlers may ignore many of the messages being shared on the pubsub (if they don't want to accept the token). A better approach could be to use a pubsub topic like this:

ERC5189:pool:op:<payment token>:<chain-id>