dami.eth Profile picture
May 29 10 tweets 2 min read Twitter logo Read on Twitter
Love claim教程:

1)打开 F12 浏览器,点到 console,把下面代码复制,请求它
function fetchData() {
fetch("love.game/api/markle", {
"headers": {
"accept": "application/json, text/plain, */*",
"accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7",
"content-type": "application/json",
"sec-ch-ua": "\"Google Chrome\";v=\"113\", \"Chromium\";v=\"113\", \"Not-A.Brand\";v=\"24\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"
},
"referrer": "love.game",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\"address\":\"你的地址\"}",
"method": "POST",
"mode": "cors",
"credentials": "omit"
})
.then(response => response.json())
.then(data => {
console.log(data); // 输出返回的数据
})
.catch(error => {
console.error(error); // 输出错误信息
});
}

setInterval(fetchData, 5000); // 每5秒执行一次fetch请求
2)直到浏览器返回结果,如图:
记录 index 和 proof Image
3)claim合约:etherscan.io/address/0xb85e…
4)amount:1000000000000000000000
index:写获取到的值
merkleproof:网页去掉双引号,去掉回车的值 Image
5)
app.uniswap.org/#/swap

token合约:0xb22c05cedbf879a661fcc566b5a759d005cf7b4c

卖出即可 Image
先进入官网love.game,然后F12进入 console 才行,要不代码执行会有问题。

然后下面的代码 Twitter 上没办法一口气发出来,自行拼接复制吧。。。

• • •

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

Keep Current with dami.eth

dami.eth 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!

More from @dami16z

May 1
zk狗,合约领取mint的方法。跟随下述步伐一步步来。

1)首先,访问下面的地址,看看有没有类似图中的字符串返回。

如果有,说明你的地址符合本次 mint 资格,如果返回的是[],则说明没有在规则中。 Image
2) 把 wallet 后面改成你的

dogera.io/check_wallet.p…

然后把得到的串儿复制到文本工具里,记录一下,后面会用得到,当然,为了方便复制,可以把双引号去掉,得到下面这样的图片 Image
3)访问下述地址,进入zk狗的合约地址进行mint操作:

explorer.zksync.io/address/0xA59a…

找到第五步的 mint ,点开,你会得到下面的图: Image
Read 11 tweets
Apr 29
给maik老哥证言一下,这个方法确实在zk上是有效的,唱反调的那些人属实打脸了(我自己也是,以为和主网逻辑一样)

今天特意尝试了下,zk的gas逻辑和主网是有所不同的。下面,我来用实践的成果,给大家梳理下,为什么调节这个会让手续费降低。

移步下个线程看步骤和截图。
1) zk区块链浏览器上的一些数值

如图1,

Transaction Fee:该笔交易最终真实消耗的 gas fee
Gas Price:当前区块每个 gas 消耗的钱(单位是gwei)
Gas Limit:小狐狸当时默认设置的 gas limit 6719757
Gas Used by Transaction:2252225 Image
2)真实gas的消耗计算

实际上,这笔交易合约只消耗了小狐狸默认设置 limit 的 33% gas ,这个 gas 就是执行智能合约代码所真实消耗的值。

正常逻辑,ether主网这个值,对于同一个动作是不会变动的,但注意,在 zk 并不是这样的。

图1,真实的 gas 计算公式。
图2,真实看到的,$1

该笔交易是 swap ImageImage
Read 9 tweets

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

Don't want to be a Premium member but still want to support us?

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!

:(