📜 [專欄新文章] 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.
👏 歡迎轉載分享鼓掌
同時也有652部Youtube影片,追蹤數超過36萬的網紅LADIES FIRST,也在其Youtube影片中提到,feeling lost and confused with life? not sure where to go or what to do after graduation? abbey and jasmine joins us in this new episode of Pillow Tal...
「for your advice email」的推薦目錄:
- 關於for your advice email 在 Taipei Ethereum Meetup Facebook 的精選貼文
- 關於for your advice email 在 謙預 Qianyu.sg Facebook 的最佳解答
- 關於for your advice email 在 Facebook 的最佳解答
- 關於for your advice email 在 LADIES FIRST Youtube 的最讚貼文
- 關於for your advice email 在 Rachell Tan Youtube 的最讚貼文
- 關於for your advice email 在 Rachell Tan Youtube 的最佳貼文
for your advice email 在 謙預 Qianyu.sg Facebook 的最佳解答
【能成功的人,絕對不粗心】
You Don't Become Successful by Being Careless
昨天早上的八字諮詢報名,我都已回覆了。沒收到我回覆的,原因不離:
一、沒有確切的出生時間。
有報名者在這欄寫 tba upon confirmation (確定諮詢後再通知)。
這位應該是沒看我最近的直播,也略過我網頁註明的條規。別把我的條規當兒戲。
在僧多粥少的情況下,我寧願把諮詢排給有準備的人。其實就算有空,我也沒想接,因為態度一開始就不對了。
二、填錯生日
有位先生把生日寫成(舉例):05/07/2021。
我覺得應該在下一季報名,先生出來,才能有確定的八字來批命。
也有位先生寫成 05/07/198。
這是要我自己看星卜卦還是捏指神算?
表格欄裡註明要的是陽曆生日,因此填寫農曆生日的也不會回覆。
三、填錯電郵
結果我的郵件被退回。
四、曾聯絡我師父
我都懂,您也懂。一開始就來騙我這位大貴人,天在看啊~
另外,各位回覆我時,請勿以撰寫新郵件的方式。這樣我還得搜回之前的郵件,看是否有漏掉什麼,很沒有效率,會讓後面等待我回覆的客人等得更久。如果屢犯,那請恕我會取消諮詢。
過多的粗心,是一種業力的黑影。在重要的時刻粗心,那真的是鬼遮眼了。
天底下多少人都曾算過命,找師父算,找朋友算,找三姑八叔算,用電腦算,一算再算不亦樂乎,可為何真正能推翻八字四柱束縛的人卻如鳳毛麟角呢?
要改命,先學會對自己嚴格一點,看到任何蛛絲馬跡的粗心都得立志把它改過來,才能過突破自己命運的侷限。
好命,不是您要就應該有的。
所以改命前,總是有考驗,也必須有考驗,才能測出您到底是否值得好命。
要不然,就隨便吧!
📺 https://youtu.be/YZ-GgOXlDKc
_______________________________
For Bazi registrations sent in yesterday, I have already replied to all. If you have yet to receive my email, very likely these are the reasons:
1) No precise birth time
One registrant wrote "tba upon confirmation" in the birth time field. I guess he must have not seen my recent FB Live, and skimmed over the rules stated on my webpage.
Don't think little of the rules I list. When I do not have enough time slots to allocate, I would rather give it to someone who comes more prepared. Actually, even if I am free, I would still not take up this request, because the attitude is wrong right at the start.
2) Wrong birthday stated
A gentleman wrote his birthday as e.g 05/07/2021.
Please register again next season after he is born. It would be a more accurate reading, when the Bazi is affirmed upon his birth.
Another gentleman wrote 05/07/198.
Mister, it's a lot of work if I need to see the stars to do divination for your birth year...
The birthday field asks for birthdays in Gregorian calendar i.e. the usual Western calendar we are familiar with. Thus, forms with Lunar birthdays written will also not get a reply.
3) Wrong email given
And my mail got bounced back...
4) Contacted my Shifu previously
I know. You also know. So don't attempt to bluff this noble benefactor. Heaven is watching.
Excessive carelessness is the shadow of negative karma. To be negligent at important moments is literally having your eyes blindfolded by ghosts.
Countless of people have gotten their fortune told. They look for Masters, seek the help of friends, get the advice of Third Aunt and Eighth Uncle, and use the computer to read their Bazi, relishing in the delight of knowing what is ahead.
But..why is it so rare for people to tear down the confines of the four pillars in their Bazi?
To transform your destiny, you have to first learn to be stricter with yourself. When you see any traces of carelessness, you must have the determination to improve on that, to break out from the limits of your destiny.
A good Destiny is not something you should have just because you want it.
Thus on the cusp of changing your Destiny, there is bound to be tests and there definitely should be such obstacles.
To see whether you deserve the good fortunes.
If you don't wish to make the mark, then just let things be.
📺 https://youtu.be/YZ-GgOXlDKc
for your advice email 在 Facebook 的最佳解答
Greetings to everyone! I am Hua Vi Van, an actor from Vietnam 🇻🇳. I am writing to confirm that this is my only official Facebook page, with the blue verification badge. This is also my only presence on social media. Besides this Facebook page, and my manager’s company e-mail, I do not use any other communication channels. I am writing this to notify all of my international friends and followers, all the way from Hong Kong, Malaysia, Thailand, China, Ecuador, South Africa, Australia, and so on. They are my international friends present on this Facebook page, who have informed me the presence of fake accounts representing my name, using my photos and personal data to engage in fraudulent actions. I regret that these issue have happened, and I sincerely hope that your loss has been recovered, or at least not too significant. As we live in a hi-tech era, I think we should always stay vigilant and be careful to trust anyone without proper evidence and verification of identity. We could verify an identity behind a Facebook account with such measures as video-calls, to find out whether the person behind the screen is truly your family members, friends or acquaintances, or not. My only advice to ones facing a significant damage is to seek help from authorized agents. Forces such as cybersecurity police could help identify the ones behind these frauds and schemes. Similar cases have been successfully resolved by Vietnam’s government before.
My hope is that, through these events, we will stay more alert and avoid any other similar issues. Hopefully, my local fans in Vietnam will be delighted to know that our international friends have finally been able to follow and communicate with the official account of a Vietnamese actor, and to get to know the person behind our favorite movies better personally. I am thankful of all your support for the movies I participate in and my work. I wish for you all the best and may health and happiness come to you. Love you all from my heart! Hua Vi Van -------------- Xin chào, tôi là Hứa Vĩ Văn, là diễn viên Việt Nam và đây là page chính thức có tích xanh trên facebook và cũng là trang duy nhất của tôi trên mạng xã hội, ngoài ra tôi không sử dụng bất kì một liên lạc nào khác ngoài email của quản lý công ty của tôi. Nay tôi viết bức thư này gởi đến các bạn ở các nước như Hongkong, Malaysia, Thailand , China, Ecuador, Nam Phi, Úc... các bạn quốc tế có trên facebook này của tôi với lý do các bạn đã cung cấp cho tôi thông tin hơn 2 năm nay có người giả mạo sử dụng hình ảnh của tôi với các nick name khác nhau để lừa các bạn và sau này các bạn mới biết sự thật rằng người giả mạo lừa đảo đó đã sử dụng hình ảnh của một diễn viên Việt Nam là tôi. Tôi rất lấy làm tiếc về điều này và hy vọng các bạn không bị quá nhiều tổn thất. Ở thời buổi hiện đại 4.0 tôi nghĩ để lấy được niềm tin của người khác phải có bằng chứng xác minh danh tánh rõ ràng, chúng ta nên xem xét rõ nhất facebook hoặc số điện thoại thật giả bằng video call là tốt nhất để có thể biết rằng người đó có thật hay không. Tôi có lời khuyên thế này, nếu những ai bị hại tổn thất ở mức độ nào đó nghiêm trọng nên trình báo với cảnh sát sở tại nước của bạn, tôi tin rằng cảnh sát an ninh mạng sẽ tìm ra hung thủ giấu mặt này mà chính phủ Việt Nam chúng ta đã từng làm được. Tôi hy vọng qua câu chuyện này sẽ mong các bạn sẽ không bị những khuất mắt nào nữa và tất cả khán giả của tôi ở Việt Nam sẽ rất vui khi biết rằng các bạn nay đã biết đến anh chàng diễn viên Việt Nam này ở đây rõ hơn và người thật trong bức hình mà bạn đã từng tin tưởng yêu quý, hy vọng các bạn sẽ có dịp xem được các bộ phim tôi đóng. Chúc sức khoẻ và may mắn đến tất cả. Yêu thương mọi người. Hua Vi Van ❤️
for your advice email 在 LADIES FIRST Youtube 的最讚貼文
feeling lost and confused with life? not sure where to go or what to do after graduation? abbey and jasmine joins us in this new episode of Pillow Talk where they share their experiences and advice on overcoming quarter life crisis! ~~~
✩ f o l l o w u s ✩
jasmine - http://instagram.com/jasminelhr
abbey - http://instagram.com/abbeypuppey
ladies first - http://instagram.com/ladiesfirsttv
✦ o u r p o d c a s t ✦
https://open.spotify.com/show/2MUs5cn6kLie8aKtAyOcnu
.。*゚+.*.。 send us cards, letters, and gifts! 。*゚+.*.。
Singapore Post Centre, PO Box 680, S914023
For business enquiries, send an email to kexin@titandigitalmedia.com ☺︎
http://www.titandigitalmedia.com
![post-title](https://i.ytimg.com/vi/1MrjQOrldec/hqdefault.jpg)
for your advice email 在 Rachell Tan Youtube 的最讚貼文
In our previous video "Things we wish we knew: Before buying our house (Part 2)",
we shared about putting your money into a good "lobang" if the returns are higher than your interest rate from your home loan.
So in this video, we are sharing about one of the good "lobangs" we've come across, and our experience as "newbies" in investment.
This is not financial advice, please do your own research before investing and understand that all investments come with a risk.
You can use our referral code "RACHELLTAN" to enjoy 6 months fee waiver for investments up to $30,000!
Start investing in 3 minutes with SingPass -
https://bit.ly/3tyKAoo
Syfe Equity100 Portfolio -
https://bit.ly/2Q1KbNs
Explore all the Syfe portfolios -
https://bit.ly/3h7Fs83
Available in Appstore IOS: https://apps.apple.com/sg/app/syfe/id1497156434
Available in Google Playstore: https://play.google.com/store/apps/details?id=com.syfe&hl=en_AU&gl=US
Previous video: Things we wish we knew: Before buying our house (Part 2) - https://youtu.be/Bh_q41zj0Ko
________________________
Feel free to leave us any questions in the comment section.
Thank you for watching!
For sponsorship, product reviews, and collaboration, you can email us here:
pxdkitty@gmail.com
Follow us on Instagram: https://instagram.com/pxdkitty
Our online store:
https://www.pixiepax.sg/
Get your Secretlab here:
https://bit.ly/31fn7NC
![post-title](https://i.ytimg.com/vi/f69QSxvyw88/hqdefault.jpg)
for your advice email 在 Rachell Tan Youtube 的最佳貼文
This is not financial advice, but these are things we wish we knew before we bought our house, and we hope they're helpful to you as well!
This is Part 2, where we read some of the comments and direct messages which we found very helpful and gave us different options to consider.
Things we wish we knew: Before buying our house (Part 1)
https://www.youtube.com/watch?v=72OVIPX47Us
It's good to do your own research and come to your own decisions too.
You can check out the CPF website as there are a lot of helpful information there too.
It's just that previously Sean and I were very clueless so we only learned some things AFTER we bought our home haha!
To check how much CPF you need to return to your CPF Ordinary Account – and Special Account/Retirement Account and Medisave Account, if applicable – you can log in to the CPF website with your SingPass and click on My Statement - Section C: Property - My Public or Private Housing Withdrawal Details.
Other links you can read up:
Bank Loan vs HDB Loan:
https://www.singsaver.com.sg/blog/hdb-loan-vs-bank-loan
CPF interest rates:
https://www.cpf.gov.sg/Members/AboutUs/about-us-info/cpf-interest-rates
Lease Buyback Scheme:
https://www.hdb.gov.sg/residential/living-in-an-hdb-flat/for-our-seniors/monetising-your-flat-for-retirement/lease-buyback-scheme
HDB Sales Proceeds Calculator:
https://homes.hdb.gov.sg/home/calculator/sale-proceeds
How to get $1 Million at 65 years old by CPF:
https://blog.seedly.sg/1m65-1-million-by-65-cpf/
________________________
Feel free to leave us any questions at the comment section.
Thank you for watching!
For sponsorship, product reviews, and collaboration, you can email us here:
pxdkitty@gmail.com
Follow us on Instagram: https://instagram.com/pxdkitty
Our online store:
https://www.pixiepax.sg/
![post-title](https://i.ytimg.com/vi/Bh_q41zj0Ko/hqdefault.jpg)