Frank pfp
Frank
@frankk
Yesterday we shipped the @Brian frame to perform swap and bridge transactions via prompt directly on @farcaster without leaving the social. Still a non-custodial solution where the user signs in with their Farcaster wallet. @ethglobal https://warpcast.com/limone.eth/0x689b3547
2 replies
0 recast
6 reactions

Frank pfp
Frank
@frankk
How the Brian API works: We have implemented the /transaction endpoint where you can pass a text prompt as a string and an address of the wallet that wants to perform the transaction and it returns the transaction object (from, to, value, date) and some additional parameters.
1 reply
0 recast
0 reaction

Frank pfp
Frank
@frankk
The additional parameters are: token in and token out info (address, symbol, decimals, USD price, etc..) protocol used, gas cost, transfer amount equivalent in USD, and so on. For example, a prompt like "swap 10 usdc to dai on Base" gives the following:
1 reply
0 recast
0 reaction