0xSpencer
@0xspencer
the "Top Up All" button on @streme is such an elite use of batch transactions, just transferred 20 tokens with 1 button press the app (& mini-app) has some of the cleanest functionality and ui. feels like one of the closest web3 apps to reach the simplicity of web2 tradfi interactions big kudos @zeni.eth & @markcarey
3 replies
0 recast
9 reactions
0xSpencer
@0xspencer
just realized "Buy & Stake" is a single txn. no buying, approving, then transferring tokens. this is what it should feel like to use a web3 app.
2 replies
0 recast
7 reactions
Mark Carey π©π«
@markcarey
And the contract is quite simple: https://github.com/streme-fun/streme-contracts/blob/main/contracts/StremeZap.sol That said, after seeing what @0xfran did with the macros, I am now wondering if that might be an even better approach, especially if we can batch-in the "connect to pool" function... π€
1 reply
0 recast
1 reaction
0xFran π«
@0xfran
Yeah you can batch payables too I believe The only thing is there's no docs, so u have to do some digging in the implementation But there's no real reason why you can't do it all in one!
0 reply
0 recast
1 reaction