Captain McAteer pfp
Captain McAteer
@firn
hello Farcaster friends. some exciting new work going on here at Firn. I just released a "MetaMask Snap" for Firn: https://www.npmjs.com/package/@firnprotocol/snap. what does it do? it essentially allows arbitrary 3rd-party dapps to use Firn's "transact privately" feature.
1 reply
0 recast
0 reaction

Captain McAteer pfp
Captain McAteer
@firn
i.e., Firn is able to call any function on any smart contract privately. the annoying part is UX: if you do this the standard way through Firn's main app, you have to enter in all the Solidity arguments (or raw calldata) manually. this is not fun, since the whole point of dapp UIs is to assemble this for you.
1 reply
0 recast
0 reaction

Captain McAteer pfp
Captain McAteer
@firn
e.g., Uniswap's front-end does all sorts of parameter creation/construction under the hood. if you look at the actual smart contracts sitting underneath, they're complicated, with complicated interfaces. so we need to combine two things: a dapp which exposes a nice front-end to the user and creates args, and Firn.
1 reply
0 recast
0 reaction

Captain McAteer pfp
Captain McAteer
@firn
the Snap lets you do this. it lets 3rd-party Dapps create the user interface, solicit the user's inputs, assemble the Solidity arguments / contract calls, and so on—and then pipe all that into Firn, which will generate the ZKP. the effect is that you just used that dapp, but anonymously.
0 reply
0 recast
0 reaction