📜 [專欄新文章] Scaling Ethereum 參賽心得
✍️ Johnson
📥 歡迎投稿: https://medium.com/taipei-ethereum-meetup #徵技術分享文 #使用心得 #教學文 #medium
Scaling Ethereum 是一場由 ETHGlobal 所舉辦的線上黑客松,也是我第一次參加與以太坊有關的黑客松活動,這篇文章就來分享一人參賽的過程與心得。
源起
一開始是在 telegram 群組中得知這場比賽的消息,因緣際會之下剛好有人想組隊參賽,於是就在報名截止的前一天一起跟著報名了。
報名的方式除了填一些基本資料外,最特別的是還要 stack 以太幣,也就是要傳送 0.01 顆以太幣給主辦方,規則是必須在比賽的最後,有提交作品的人才能贖回 0.01 顆以太幣,之後看到 meme 頻道有人留言:
When your project is incomplete but you submit to get back stake.
一方面,這確實也會激勵你好好把比賽完成,就算沒做完也要有些成果上去,這也是主辦方秉持的精神,他們認為大家來黑客松相互學習成長,競賽獎金則是其次。
獎金
比賽方式是由 25 個左右的贊助者(sponsor)分別提供獎金,每個 sponsor 都有錄製一段影片,說明怎麼獲得他們的獎金,大部分會要你使用他們開發的工具,或者必須跟 sponsor 在做的研究有關,去實作出創新的作品。可參考:Prizes — Scaling Ethereum
你的專案可以選擇要投入哪個 sponsor 的獎金,一個專案可以投入多個 sponsor 底下,這樣獲獎機會也會比較高。
我選擇的 sponsor 是 zkSync,他們的說明如下:
zkSync is a user-centric zkRollup developed by Matter Labs. It uses zero-knowledge proofs to keep data availability on mainnet to achieve exponentially lower transaction costs. You may have seen us powering projects such as payments and Gitcoin Grants. We are currently rapidly developing zkSync 2.0, which will feature EVM-compatibility in testnet May 2021, soon followed by zkPorter, our new exponential scalability solution.
PrizeszkSync will be awarding their Prizes as follows:
- 1 winner — 4,000 USDC
- 2 winners — 2,000 USDC
- 4 winners — 500 USDC
We encourage builders to utilize zkSync SDK’s, implemented in JavaScript/Typescript and Rust. Prizes will be awarded to projects that make it simpler and easier for non-technical users to use zkSync, other ideas include integrations of current tools such as in Gitcoin Grants and tools for easy mass payments and multi-sigs.
社群互動
這個 hackathon 很棒的地方是他把使用者體驗做的很好。每個人都會有自己的 dashboard 顯示目前專案的進度和一些訊息。
Check-In #1 和 Check-In #2 的階段會要你提供專案的構想,你隨時都可以修改。主辦方會看你提交的資訊,幫助你找到適合的 sponsor,或是給你一些建議,就算是一人參賽也能感受到回饋。
整個賽程期間,社群都是使用 discord 在互動,discord 裡頭有很多頻道,像是基本的大會報告的頻道,或是一些不重要的迷因、閒聊頻道都有。
每個 sponsor 也都有自己的頻道,我就會在 sponsor-zksync 的頻道詢問技術的問題,例如我想問問 zkSync 一些關於專案構想的意見:
Hi there, I want to build a gas fee relayer which make my ERC-20 token transfer without transaction fee, to be more precise, delegating gas payment by another party. I think this is done by GSN https://opengsn.org/ , but maybe it could built on L2 with zkSync? I’m not sure, could somebody give me some advice about this topic?
zkSync 團隊的人回應我:
This is an amazing idea! This can totally be built, as we support batching transactions which can be used for all kinds of creative things such as paying for transaction fees in an erc-20 token. Your idea seems like a combination of that and the gitcoin grants integration. To get started, I suggest you watch the short 10 minute presentation I made on using the SDK and batching. Looking forward to your project!!
在 Check-In #2 的時候,我提交新版的專案構想,有一個欄位是問:「目前專案遇到什麼阻礙?」我的問題應該是被主辦方貼給 zkSync 的團隊,於是 zkSync 的團隊成員就用 discord 私訊我,貼了一些程式碼教我怎麼使用他們的 Javascript SDK,這突如其來的救援也幫了大忙。
除此之外,主辦方每個禮拜都會寄 email 通知一些重要的活動,賽程期間舉辦了四個 Summits 研討會,邀請世界各地有名的以太坊開發者分享議題,主辦方還有一個自己的 TV 網頁,直播所有的線上活動。這些活動都有錄影,可以在 youtube 看到過去所有的演講內容:https://www.youtube.com/c/ETHGlobal/videos
因為我的作品是使用 zkSync 的 Javascript SDK 製作的,好像也只能投稿 zkSync 作為獎金的 sponsor,不過主辦方在最後一個禮拜,也寄 email 告訴我說可以多投稿不同的 sponsors 看看,他依據我的專案構想給我一些適合的 sponsors 作為參考。
不過最後我還是只投稿了 zkSync,有點懶著再看其他 sponsors 的文件,也覺得其他 sponsors 的題目需要花比較大的功夫才能完成,一個人能力有限,就做點簡單的東西就好。
關於我的專案 — Gas Relay Service
在以太坊的世界,每一筆交易都需要額外付一筆交易費,也就是以太坊的 gas fee。
我的專案是讓「收款人」能夠幫「付款人」支付以太坊的手續費。
在黑客松之前,我就想研究「第三方支付手續費」的議題,因此我大部分時間其實都在研究一般的 meta-transactions 是怎麼實作的,有興趣的人可以看看 simple meta-transactions 的原始碼:https://github.com/chnejohnson/simple-meta-transaction
之後我才開始玩 zkSync 的 SDK,並研究怎麼在 Layer 2 實現第三方支付手續費的問題,以下就附上作品連結以及簡單的專案介紹給有興趣的人參考:https://showcase.ethglobal.co/scaling/gas-relay-service-on-zksync
The target is that token sender can choose to find another account to pay for fee. The another account can be (1) the token receiver’s account, (2) sender’s another account, (3) third party’s account.
In this project, I finished the demo, which is the (1) above, that receiver pay gas fee for the sender.
有趣的是,我在研究 meta-transactions 時學到很多智能合約的寫法,結果在最後專案上都沒用到(沒寫到合約的程式),zkSync Javascript SDK 其實很簡單,他們的文件寫得很清楚。最後 Demo 還是用 zkSync 團隊的成品修改來的…XD。
所幸在沒有懂太多技術的前提下完成了這場黑客松的專案,成功贖回了 0.01 顆以太幣。
評審與決選
整個賽程來到最後一個禮拜,主辦方安排兩天的時間進行 Judges,使用 zoom 進行線上研討會,一個人基本上是 7 分鐘,前 4 分鐘播放 Demo 簡報,後三分鐘會有評審問問題。
第一個問題是說:「Demo 中你是使用 zkSync 的錢包網頁去操作,那實際上你做得部分是什麼?」
我就回答我在他們的網頁上加了一顆按鈕,使用他們的 SDK 做出 gas relay 的功能,還有一個後端的 server 去作 relay。
第二個問題大概是問:「什麼樣的情境下會需要由 receiver 幫 sender 支付 gas fee?」
我的回答是,在一般超商購物的情境,消費者通常只支付商品的價格,不會支付額外的交易費,我認為以太坊的手續費應該屬於軟體的營運成本,由賣方支付比較適合。那如果賣方希望手續費的成本是由消費者承擔,可以直接調高商品的價格。
當然,我英文講得零零落落,希望評審有聽懂就是了…
最後一場直播就是 Finale 決選,主辦方選出十二個隊伍,公開再 Demo 一次,以及提供線上觀眾詢問問題,至此整個賽程就差不多進入尾聲。
決選後的不久,主辦方就公布了這次有獲得獎金的隊伍,幸運拿到了 zkSync 頒發的小獎~
zkSync — Matter Labs
- Zeneth — 2000 USDC
- ZeroSwap — 1500 USDC
- Kangaroo — 500 USDC
- Gas Relay Service — 500 USDC
後記
這次的參賽隊伍中,Zeneth 跟我的主題非常相似:
Zeneth — Use Flashbots to enable arbitrary meta-transactions so EOAs can enter L2s without ETH
另一個我覺得有趣的專案是 Alexandria:
Alexandria — A dApp using STARKs to verify aspects of your identity without revealing more than you should
沒想到主辦方 ETHGlobal 下個月又要再舉辦一場黑客松,有興趣的人可以看看:https://defi.ethglobal.co/ ,這次的主題是 De-Fi。
最後,只要有到 ETHGlobal 的 TV 網頁參加 Summit 研討會的直播,就能夠獲得 POAP 勳章,它就是一個酷東西~😋
POAP: Proof of Attendance Protocol
Scaling Ethereum 參賽心得 was originally published in Taipei Ethereum Meetup on Medium, where people are continuing the conversation by highlighting and responding to this story.
👏 歡迎轉載分享鼓掌
同時也有14部Youtube影片,追蹤數超過40萬的網紅糖餃子Sweet Dumpling,也在其Youtube影片中提到,Hello friends! Today we're going to share with you how to make juicy oven-baked smoked BBQ ribs at home. Copying and practicing a recipe from a famo...
「we transfer教學」的推薦目錄:
- 關於we transfer教學 在 Taipei Ethereum Meetup Facebook 的最佳解答
- 關於we transfer教學 在 麥克健身 Marky's Training Facebook 的最佳解答
- 關於we transfer教學 在 麥克健身 Marky's Training Facebook 的精選貼文
- 關於we transfer教學 在 糖餃子Sweet Dumpling Youtube 的最讚貼文
- 關於we transfer教學 在 Today is my day Youtube 的最佳解答
- 關於we transfer教學 在 糖餃子Sweet Dumpling Youtube 的最佳貼文
- 關於we transfer教學 在 WeTransfer 超大2GB檔案傳輸服務,無須安裝立... 的評價
we transfer教學 在 麥克健身 Marky's Training Facebook 的最佳解答
<
Fight for the epidemic, we are happy to introduce our “Online Group Session” during this limited time so that you can still enjoy the joy of group training at home, with professional guidance from Markys’ coaches.
Training are mainly Body weight exercises, We only need a small space at home, a yoga mat. (Towel or Chair is require in particular session)
疫情爆發,學員大部分時間選擇留在家中。因此,Markys在這有限時段推出「網上抗疫團體訓練班」,讓你在家中仍能享受到團體訓練的快樂之餘,更有專業教練去帶領訓練,令訓練更有趣,更安全,更有效率。
訓練以體重訓練為主(body weight training),只需要一個較寛廣的空間及一張瑜珈墊(部份課堂需要椅子或毛巾)。
🔷3 live sessions per day 每天有3個直播時段
🔷Unlimited access all recorded sessions at anytime 無限次無限時觀看錄影教學
🔷30+ session per week 每星期超過30節課堂
🔷Training led by Markys’ coaches on site 所有時段皆由Markys教練帶領
🔷1 plan fits for whole family 1 個計劃,整個家庭可享用
🔷8 themes with 3 intensity 8個訓練主題、三個強度,適合不同程度人士
🔸Tough legs 大力金剛腿💪🏾💪🏾💪🏾
🔸I luv Tabata! 我愛他爸他💪🏾💪🏾💪🏾
🔸Towel fit zone 玩玩玩毛巾💪🏾💪🏾💪🏻
🔸Chair chair chair 登登登凳凳💪🏾💪🏾💪🏻
🔸Steel abs 鋼腹之鍛練💪🏾💪🏾💪🏻
🔸Toning full body 玩盡夫爸D💪🏾💪🏾💪🏻
🔸Stretch n relax 伸展鬆一鬆💪🏾💪🏻 💪🏻
🔸BaSIX movement 基礎六動區💪🏾💪🏻💪🏻
Date 日期:1-14 April 2020
Session length 每節課長:60 min/分鐘
Time 時間:
▪️Monday-Friday 星期一至五: 0700 1200 2000
▪️Saturday 星期六: 0730 1300 1800
▪️Sunday 星期日: 0900 1400 1800
Plan 計劃
▫️Plan A $600/family家庭(1 week pass)
▫️Plan B $1200/family家庭 (2 week pass + 1hr 1vs1 online training session)
For payment, we accept 如果興趣參加人士,可透過
PayMe (https://qr.payme.hsbc.com.hk/2/R3QMrgJczWzJApNDtJCjYS)
Or 或
bank transfer (HSBC. # 817-327687-838 Markys Strength performance).
Please send us the receipt photo to confirm payment.
請回覆收據相片以確認收款。
*1 on 1 online training is also available, please send private message for details.*
*Markys另外亦提供網上一對一服務,如有興趣,請私訊查詢*
|有關網上教練查詢
Enquiries on Online Training|
Markys Strength & Performance
WhatsApp: 65400442
Email: markystraining@gmail.com
we transfer教學 在 麥克健身 Marky's Training Facebook 的精選貼文
🟩🟩明晚 3月31日網上團體訓練體驗課🟨🟨
明晚3月31日將有最後一個網上團體訓練體驗課,屆時將會有麥克帶領大家,如有興趣人士請在下面留言,我們明天會聯絡大家取得連結的方法。(訓練會以會議App “Zoom”進行)
This is our 2 weeks schedule for the upcoming <
🔹3 live sessions per day 每天有3個直播時段
🔹Unlimited access all recorded sessions at anytime 無限次無限時觀看錄影教學
🔹30+ session per week 每星期超過20節課堂
🔹Training led by Markys’ coaches on site 所有時段皆由Markys教練帶領
🔹8 themes with 3 intensity 8個訓練主題、三個強度,適合不同程度人士
1. Tough legs 大力金剛腿💪🏾💪🏾💪🏾
2. Steel abs 鋼腹之鍛練💪🏾💪🏾
3. Towel fit zone 玩玩玩毛巾💪🏾💪🏾
4. Chair chair chair 登登登凳凳💪🏾💪🏾
5. Stretch n relax 伸展鬆一鬆💪🏾
6. I luv Tabata! 我愛他爸他💪🏾💪🏾💪🏾
7. Toning full body 玩盡夫爸D💪🏾💪🏾
8. BaSIX movement 基礎六動區💪🏾
▫️Date 日期:1-14 April 2020
▫️Session length 每節課長:60 min/分鐘
▫️Language 語言:Chinese (supported by English) 中文 (英文輔助)
▫️Time 時間:
Monday-Friday 星期一至五: 0700 1200 2000
Saturday 星期六: 0730 1300 1800
Sunday 星期日: 0900 1400 1800
▫️Plan 計劃
- Plan A $600 (1 week pass)
- Plan B $1200 (2 week pass + 1hr 1vs1 online training session)
For payment, we accept 如果興趣參加人士,可透過
PayMe (https://qr.payme.hsbc.com.hk/2/R3QMrgJczWzJApNDtJCjYS)
Or 或
bank transfer (HSBC. # 817-327687-838 Markys Strength performance).
Please send us the receipt photo to confirm payment.
請回覆收據相片以確認收款。
*1 on 1 online training is also available, please send private message for details.*
*Markys另外亦提供網上一對一服務,如有興趣,請私訊查詢*
|有關網上教練查詢
Enquiries on Online Training|
Markys Strength & Performance
WhatsApp: 65400442
Email: markystraining@gmail.com
we transfer教學 在 糖餃子Sweet Dumpling Youtube 的最讚貼文
Hello friends! Today we're going to share with you how to make juicy oven-baked smoked BBQ ribs at home.
Copying and practicing a recipe from a famous restaurant is the most challenging thing, but it is very interesting and we learn new things from it. In this video, we copied the taste of the famous pepper ribs, but made some modifications, because some ingredients are not found in this city. Chili’s slow-cooked pork ribs has been a top seller on the menu since 1986 and is still the best seller today. So this is a must try.
To make smoked flavor BBQ ribs without a smoker, we slow cook in the oven, and make the Chili's BBQ sauce with smokey chipotle in adobo, or it can be made by liquid smoke instead. The flavor is found in the sauce, and the cooking secret is slow-braising which can keep the meat juicy and tender like the original. You can use the barbecue sauce suggested in the recipe below or use your favorite homemade or store-bought sauce. Hope you like it. Enjoy. :)
📍 Please follow us on Instagram:: https://www.instagram.com/sweetdumplingofficial/
📍 Welcome to follow us on FB: https://www.facebook.com/sweet.dumpling.studio/
-----------------------------------------------------------------------
How to make Oven-Baked Smoked BBQ Ribs
✎ Ingredients
pork ribs 950g
☞ for dry marinades
coarse salt 70g
black pepper 15g
ground white pepper 4g
cayenne pepper 2g
granulated sugar 3.5g
garlic powder 1.5g
onion powder 1.5g
☞ for BBQ sauce
chipotle peppers in adobo 7g
regular soy sauce 32g
tomato paste 70g
ketchup 20g
chicken broth 30g
apple cider vinegar 35g
dark beer 45g
fresh orange juice 87g
minced garlic 10g
chili powder 1.5g
onion powder 5g
salt 3g
black pepper 2.5g
light brown sugar 130g
1. Combine together coarse salt, black pepper, ground white pepper, cayenne pepper, granulated sugar, garlic powder and onion powder, mix well.
2. Line a baking tray with foil or parchment paper.
3. Place the ribs on the baking tray, pat dry the ribs with paper towels on both sides.
4. Using a sharp knife to take off excess fat. Just keep a little fat.
5. Remove the silver skins or whitish dense skin on the bone side of the ribs.
6. Then turn the meatier side facing up, generously season with 1 tablespoon of dry marinades.
7. Cover with another foil, shiny side out.
8. Preheat the oven to 135C, bake for 2.5~3 hours.
9. While the ribs bake, make the barbecue sauce. Add all the sauce ingredients together, using an immersion blender to blend the ingredients until smooth. Pour into a saucepan and cook over medium-low heat for 15-20 minutes, stirring often until thicker.
10. Once baked, remove foil and transfer to a new baking tray and brush ribs with the barbecue sauce on both sides. Let the bone side facing up.
11. Preheat the oven to 220C, bake for 5 minutes, then turn the meatier side facing up and brush a little bit of sauce and bake for 10 minutes or until ribs have been caramelized.
12. Transfer the ribs to a plate or a cutting board, brush with sauce again if needed and serve.
-----------------------------------------------------------------------
Chapter:
00:00 intro
00:35 Ingredients
01:07 how to make season spice
02:33 prepare the ribs
03:56 slow cook ribs in oven
04:55 how to make smoked BBQ sauce
08:32 caramelized the ribs
11:11 enjoy
-----------------------------------------------------------------------
#BBQRibs
#copycatRecipes
we transfer教學 在 Today is my day Youtube 的最佳解答
訂閱《Today is my day》👉https://bit.ly/2Roz2qd
#宇宙人外信 全收錄:https://bit.ly/3wO4KwA
來IG找我們玩吧:https://bit.ly/2PNGJ8J
不會說航廈、轉機嗎?要怎麼用和外國人解釋這是托運行李和手提行李?
02:07 terminal 航站
02:54 terminal station 總站/終點站
03:27 ターミナル Taaminaru
04:57 터미널 teomineol
05:27 arrival 入境口
05:41 transfer 轉乘/轉機
06:11 I'd like to tranfer to... 我想要轉機到...
06:14 I'll transfer you to... 我把你(電話)轉給...
06:46 乗り継ぎ Noritsugi
06:51 환승 hwanseung
07:22 乗り換え Norikae
10:45 luggage 行李
10:48 baggage 行李
11:00 How many pieces of luggage do we have now 請問有幾件行李呢
11:20 How many bags do you have 請問有幾袋行李
11:58 荷物 Nimotsu
12:24 수하물 suhamul
12:41 짐 Jim
13:02 carry-on 手提行李
13:24 I want to check my luggage 我要托運行李
14:04 Can I check my luggage through to
my last destination 我可以把行李托運到我最終目的地嗎
14:50 預け荷物 Azuke nimotsu
15:07 機内持ち込み荷物 Kinai mochikomi nimotsu
15:28 持ち込み mochikomi
15:47 위탁수하물 witag suhamul
17:00 기내수하물 ginaesuhamul
18:12 gate 登機口/大門
18:27 boarding gate 登機口
22:40 terminal 航站
22:43 ターミナル Taaminaru
22:46 터미널 teomineol
22:51 transfer 轉乘/轉機
22:54 乗り継ぎ Noritsug
22:57 환승 hwanseung
23:00 luggage 行李
23:03 check luggage 托運行李
23:08 荷物 Nimotsu
23:18 수하물 suhamul
23:24 預け荷物 Azuke nimotsu
23:28 위탁수하물 witag suhamul
23:33 carry-on 手提行李
23:42 機内持ち込み荷物 Kinai mochikomi nimotsu
23:48 持ち込み mochikomi
23:52 기내수하물 ginaesuhamul
23:56 gate 登機口/大門
24:00 搭乗ゲート Toujou geeto
24:06 ゲート geeto
24:12 탑승구 tabseung-gu
中英日韓四聲道
🌍英文主播:Ethan &國際編譯:Ryan/隔壁老王
📺從時事新聞教你英日韓單字
🗣 閒話家常學微知識
💬讓你輕鬆掌握生活用語
想聲歷其境,來收聽高音質Podcast
搜尋訂閱★宇宙人外信
《Apple Podcast》: http://apple.co/3eSztCS
《Spotify》:http://spoti.fi/3cEwlrF
《SoundOn》:http://bit.ly/3bUeVYU
《KKBOX》:http://bit.ly/2OzeQ42
《Google Podcast》:https://bit.ly/3vUvBr1
#Podcast #旅遊 #登機 #機場
we transfer教學 在 糖餃子Sweet Dumpling Youtube 的最佳貼文
Hello friends! Today we're going to share with you how to make a Japanese matcha ice cream at home without an ice cream machine.
Can we make ice cream without an ice cream machine? Sure thing. Is there a method that is the easiest but the flavor is yummy and creamy? Of course.
This simple 4-ingredients homemade matcha ice cream is super easy and amazing. If you’ve never made ice cream at home. Start here with our step-by-step video and recipe. If possible, use a high-grade matcha powder for the best flavor and color.
📍 Please follow us on Instagram:: https://www.instagram.com/sweetdumplingofficial/
📍 Welcome to follow us on FB: https://www.facebook.com/sweet.dumpling.studio/
-----------------------------------------------------------------------
How to make Matcha Ice Cream
☞ Container size: at least 800ml
☞ To freeze mixing bowl 12 hours before
✎ Ingredients
heavy cream 250g
sweetened condensed milk 170g
milk 50g
IPPODO matcha powder 15g
✎ Instructions
1. Sift the matcha powder.
2. Add milk into the matcha powder and mix well until it becomes the paste form.
3. Add condensed milk into the matcha paste, slowly incorporating the mixture until smooth. If there are too many lumps, sift it.
4. Pour the cold heavy cream into a freese mixing bowl, whip the cream on medium high speed until almost stiff peaks, be careful not to over whip.
5. Gently add the matcha mixture into the whipped cream, whip on low speed until the mixture becomes thick and airy.
6. Transfer the mixture to an 800~1000ml metal container and freeze for 4-6 hours.
-----------------------------------------------------------------------
Chapter:
00:00 opening
00:31 Ingredients
00:55 Make matcha ice cream base
04:22 whipping cream
05:54 Make matcha ice cream
07:55 deco and enjoy
-----------------------------------------------------------------------
#NoIceCreamMachineRecipe
#MatchaIceCream
we transfer教學 在 WeTransfer 超大2GB檔案傳輸服務,無須安裝立... 的推薦與評價
使用教學. 進入WeTransfer後,點選Add Files 左邊的+ 號可以選擇要分享給對方的檔案(最多2GB)。 接著在Friend's Email Address(es) 欄位輸入接收者的電子郵件地址。 ... <看更多>