BUDAPEST, THÀNH PHỐ XINH ĐẸP CỦA HUNGARY
Budapest là thủ đô của Hungary, với 2 phần Buda và Pest được phân tách bởi một dòng sông và nối với nhau bởi nhiều cây cầu. Cây cầu đẹp nhất có lẽ là Chain Bridge, bạn có thể ngắm nhìn từ trên Budapest Castle Hill. Dòng sông và cây cầu khiến tôi liên tưởng tới Sài Gòn nhiều hơn nữa.
Chỉ khác nhau về kiến trúc hai bên bờ nhưng mô hình có vẻ rất giống nhau. Budapest có dư thừa những toà nhà khổng lồ đến choáng ngợp mà bạn chỉ có thể cảm nhận mình nhỏ bé khi đứng trước nơi ấy. Những nơi cần tham quan là Đồi Lâu Đài, Toà nhà Quốc Hội & Thánh đường Budapest. Điều ấy khiến cho hai thành phố thêm nhiều phần khác biệt.
Budapest có những phố nhậu như Bùi Viện mà không đi không được, giá một ly bia chỉ 1.5 euro, rẻ như ở nhà. Và mỗi quán bar đều có loại bia đặc chế cực kỳ ngon. Hãy thử tới một quán và gọi một ly bia “nhà làm” của quán xem, bạn sẽ không hối hận đâu. Và những ngày nắng hè của Budapest thật dịu dàng, và kéo dài tận cuối ngày, nhưng ngày dù có tàn nhưng đêm chỉ mới lên. Những quán bar nằm trong những căn nhà cũ gọi là “ruin bar” sống dậy để thức thâu đêm. Hãy thử tới Szimpla, “ruin bar” nổi tiếng nhất Budapest và thử món uống cùng tên. Điều đặc biệt ở đây là một không gian khổng lồ, với mỗi phòng được bày trí theo một phong cách khác nhau, từ người ngoài hành tinh đến thập niên 70 hay thế giới tương lai. Budapest không như những thành phố Châu Âu mình từng đến, khuya chỉ có kebab, hamburger ăn nhanh. Ở Budapest bạn có thể tới những khu chợ ẩm thực đêm như Karavan để thưởng thức ẩm thực đường phố, hiện đại của Budapest. Nên dù có thâu đêm ở những quán bar, bạn vẫn có thể bổ sung năng lượng đầy đủ.
同時也有63部Youtube影片,追蹤數超過3,530的網紅脂身長男チャンネル,也在其Youtube影片中提到,ご視聴ありがとうございます!^^ 今回から、灯りとして使っているUSB-LEDライトを二つに増やしてみました。 少しは明るく見やすくなったと思うのですが、如何でしょうか? #ウイスキー#バーボン#whiskey 【Instagram】【Twitter】やってます! 良かったらフォローして下さい...
「bar bridge」的推薦目錄:
- 關於bar bridge 在 Facebook 的最讚貼文
- 關於bar bridge 在 Taipei Ethereum Meetup Facebook 的最讚貼文
- 關於bar bridge 在 ShioriyBradshaw Facebook 的精選貼文
- 關於bar bridge 在 脂身長男チャンネル Youtube 的最佳解答
- 關於bar bridge 在 qooninTV Youtube 的精選貼文
- 關於bar bridge 在 MONGABONG Youtube 的最讚貼文
- 關於bar bridge 在 Bar Bridge | Taipei - Facebook 的評價
- 關於bar bridge 在 都市微醺的靈魂酒吧開箱-Bar Bridge - 美食板 | Dcard 的評價
- 關於bar bridge 在 愜意小酌|美式居家酒吧Bar Bridge增互動氛圍創意調酒品飲 ... 的評價
- 關於bar bridge 在 邊跑吧邊把妹!台北五家新酒吧一次跑完|POSINO|SoFa Sofar 的評價
- 關於bar bridge 在 Lightning Bar Wraparound Compensating Bridge - Gibson 的評價
bar bridge 在 Taipei Ethereum Meetup Facebook 的最讚貼文
📜 [專欄新文章] Optimistic Rollup 就這樣用(2)
✍️ Juin Chiu
📥 歡迎投稿: https://medium.com/taipei-ethereum-meetup #徵技術分享文 #使用心得 #教學文 #medium
ERC721 的儲值、轉移與提領
TL;DR
本文會跳過 Optimistic Rollup 的介紹而直接實際演示,關於 Optimistic Rollup 的概念與設計原理筆者將在日後另撰文說明,有興趣的讀者可以先參考下列三篇文章(由淺入深):1. OVM Deep Dive 2. (Almost) Everything you need to know about Optimistic Rollup 3. How does Optimism’s Rollup really work?
本文將演示一個 Optimism Rollup 的 ERC721 範例,程式碼在這裡。
本演示大量參考了以下範例:Optimistic Rollup Example: ERC20。
本演示所使用的 ERC721 Gateway 合約來自這個提案,目前尚未成為官方標準。
環境設置
Git
Node.js
Yarn
Docker
Docker-compose
筆者沒有碰到環境相容問題,但是建議都升到最新版本, Node.js 使用 v16.1.0 或以上版本
Optimism 服務啟動
有關 Optimisim 的所有服務,都包裝在 Optimism 這個超大專案當中了,直接使用原始碼進行組建:
$ git clone git@github.com:ethereum-optimism/optimism.git$ cd optimism$ yarn$ yarn build
組建完成後,就可以在本機啟動服務了:
$ cd ops$ docker-compose build$ docker-compose up
這個指令會啟動數個服務,包括:
L1 Ethereum Node (EVM)
L2 Ethereum Node (OVM)
Batch Submitter
Data Transport Layer
Deployer
Relayer
Verifier
Deployer 服務中的一個參數要特別注意: FRAUD_PROOF_WINDOW_SECONDS,這個就是 OPtimistic Rollup 的挑戰期,代表使用者出金(Withdraw)需等候的時長。在本篇演示中預設為 0 秒。
如果有需要重啟,記得把整個 Docker Volume 也清乾淨,例如: docker-compose down -v
Optimism 整合測試
在繼續接下來的演示之前,我們需要先確認 Optimism 是否有順利啟動,特別是 Relayer 是否運作正常,因此我們需要先進行整合測試:
$ cd optimism/integration-tests$ yarn build:integration$ yarn test:integration
確保 L1 <--> L2 Communication 相關測試通過後再繼續執行接下來的演示內容。
啟動服務及部署合約需要花費一些時間,運行一段時間(約 120 秒)之後再執行測試,如果測試結果全部皆為 Fail,可能是 Optimism 尚未啟動完成,再等待一段時間即可。
ERC721 合約部署
Optimism 啟動成功並且完成整合測試後,接下來進行 ERC721 合約的部署。筆者已將合約及部署腳本放在 optimistic-rollup-example-erc721 這個專案中:
$ git clone git@github.com:ethereum-optimism/optimistic-rollup-example-erc721.git$ cd optimistic-rollup-example-erc721$ yarn install$ yarn compile
接下來我們需要部署以下合約:
ERC721,部署於 L1
L2DepositedEERC721,部署於 L2
OVM_L1ERC721Gateway,部署於 L1
OVM_L1ERC721Gateway 只部署在 L1 上,顧名思義它就是 L1 <=> L2 的「門戶」,提供 Deposit / Withdraw 兩個基本功能,使用者必須透過這個合約來進出 L2。
雖然 OVM_L1ERC20Gateway 是 Optimistic Rollup 官方提供的合約。但是開發者也可以依需求自行設計自己的「門戶」。
OVM_L1ERC20Gateway 目前沒有 Optimism 的官方實作,本演示所使用的 ERC721 Gateway 合約來自這個提案,目前尚未成為官方標準。
接下來,我們直接用腳本進行部署:
$ node ./deploy.jsDeploying L1 ERC721...L1 ERC2721 Contract Address: 0xFD471836031dc5108809D173A067e8486B9047A3Deploying L2 ERC721...L2 ERC721 Contract Address: 0x09635F643e140090A9A8Dcd712eD6285858ceBefDeploying L1 ERC721 Gateway...L1 ERC721 Gateway Contract Address: 0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547ccInitializing L2 ERC721...
ERC721 鑄造、儲值、轉移與提領
鑄造(L1)
初始狀態如下,所有帳戶皆尚未持有任何代幣:
接下來,我們將鑄造 2 個代幣以進行接下來的演示。首先,進入 ETH(L1) 的 Console:
$ npx hardhat console --network ethWelcome to Node.js v16.1.0.Type ".help" for more information.>
取得 Deployer / User 帳戶:
// In Hardhat ETH Console
> let accounts = await ethers.getSigners()
> let deployer = accounts[0]
> let user = accounts[1]
取得 ERC721 及 OVM_L1ERC721Gateway 合約物件,合約地址可以從部署訊息中取得:
// In Hardhat ETH Console
> let ERC721_abi = await artifacts.readArtifact("ExampleToken").then(c => c.abi)
> let ERC721 = new ethers.Contract("0xFD471836031dc5108809D173A067e8486B9047A3", ERC721_abi)
> let Gateway_abi = await artifacts.readArtifact("OVM_L1ERC721Gateway").then(c => c.abi)
> let Gateway = new ethers.Contract("0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547cc", Gateway_abi)
鑄造兩個 ERC721 代幣:
// In Hardhat ETH Console
> await ERC721.connect(deployer).mintToken(deployer.address, "foo")
{ hash: "...", ...}
> await ERC721.connect(deployer).mintToken(deployer.address, "bar")
{ hash: "...", ...}
只有合約的 Owner(deployer) 可以進行鑄造的操作。
確認 Deployer 餘額:
> await ERC721.connect(deployer).balanceOf(deployer.address)
BigNumber { _hex: '0x02', _isBigNumber: true } // 2
確認代幣的 TokenID 與 Owner:
> await ERC721.connect(deployer).ownerOf(1)
'0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' // deployer
> await ERC721.connect(deployer).ownerOf(2)
'0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' // deployer
儲值(L1 => L2)
完成以上步驟後,目前的狀態如下:
接下來,授權 OVM_L1ERC721Gateway使用 TokenID 為 2 的代幣:
// In Hardhat ETH Console
> await ERC721.connect(deployer).approve("0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547cc", 2)
{ hash: "...", ...}
在 OVM_L1ERC721Gateway 合約呼叫 Deposit,儲值 TokenID 為 2 的代幣:
// In Hardhat ETH Console
> await Gateway.connect(deployer).deposit(2)
{ hash: "...", ...}
我們可以到 Optimism (L2) 的 Console 確認入金是否成功:
$ npx hardhat console --network optimismWelcome to Node.js v16.1.0.Type ".help" for more information.>
取得 Deployer / User 帳戶:
// In Hardhat Optimism Console
> let accounts = await ethers.getSigners()
> let deployer = accounts[0]
> let user = accounts[1]
取得 L2DepositedERC721 合約物件,合約地址可以從部署訊息中取得:
// In Hardhat Optimism Console
> let L2ERC721_abi = await artifacts.readArtifact("OVM_L2DepositedERC721").then(c => c.abi)
> let L2DepositedERC721 = new ethers.Contract("0x09635F643e140090A9A8Dcd712eD6285858ceBef", L2ERC721_abi)
確認入金是否成功:
// In Hardhat Optimism Console
> await L2DepositedERC721.connect(deployer).balanceOf(deployer.address)
BigNumber { _hex: '0x01', _isBigNumber: true } // 1
> await L2DepositedERC721.connect(deployer).ownerOf(2)
'0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' // deployer
ERC721 轉移(L2 <=> L2)
完成以上步驟後,目前的狀態如下:
接下來,我們在 L2 從 Deployer 轉移代幣給 User:
// In Hardhat Optimism Console
> await L2DepositedERC721.connect(user).balanceOf(user.address)
BigNumber { _hex: '0x00', _isBigNumber: true } // 0
> await L2DepositedERC721.connect(deployer).transferFrom(depoyer.address, user.address, 2)
{ hash: "..." ...}
> await L2DepositedERC721.connect(user).balanceOf(user.address)
BigNumber { _hex: '0x01', _isBigNumber: true } // 1
> await L2DepositedERC721.connect(user).ownerOf(2)
'0x70997970C51812dc3A010C7d01b50e0d17dc79C8' // user
ERC721 提領(L2 => L1)
完成以上步驟後,目前的狀態如下:
接下來,我們用 User 帳戶提領資金,在 L2DepositedERC721 合約呼叫 Withdraw:
// In Hardhat Optimism Console
> await L2DepositedERC721.connect(user).withdraw(2)
{ hash: "..." ...}
> await L2DepositedERC721.connect(user).balanceOf(user.address)
BigNumber { _hex: '0x00', _isBigNumber: true }
最後,檢查在 L1 是否提領成功:
// In Hardhat ETH Console
> await ERC721.connect(user).balanceOf(user.address)
BigNumber { _hex: '0x01', _isBigNumber: true } // 1
> await ERC721.connect(deployer).balanceOf(deployer.address)
BigNumber { _hex: '0x01', _isBigNumber: true } // 1
> await ERC721.connect(user).ownerOf(2)
'0x70997970C51812dc3A010C7d01b50e0d17dc79C8' // user
由於挑戰期為 0 秒,因此提領幾乎無需等待時間,頂多只需數秒鐘
做完上述所有操作,最終狀態應該如下:
總結
本文演示了:
Optimistic Rollup 相關服務的本機部署
ERC721 L1 => L2 的儲值(Deposit)
ERC721 L2 帳戶之間轉移(Transfer)
ERC721 L2 => L1 的提領(Withdraw)
筆者未來將繼續擴充此系列的教學內容,例如支援其他標準的合約如 ERC1155,以及如何運行 Optimistic Rollup 生態系中最重要的驗證者(Verifier),敬請期待。
參考資料
OVM Deep Dive
(Almost) Everything you need to know about Optimistic Rollup
How does Optimism’s Rollup really work?
Optimistic Rollup Official Documentation
Ethers Documentation (v5)
Optimistic Rollup Example: ERC20(Github)
Optimism (Github)
optimism-tutorial (Github)
l1-l2-deposit-withdrawal (Github)
Proof-of-concept ERC721 Bridge Implementation (Github)
Optimistic Rollup 就這樣用(2) was originally published in Taipei Ethereum Meetup on Medium, where people are continuing the conversation by highlighting and responding to this story.
👏 歡迎轉載分享鼓掌
bar bridge 在 ShioriyBradshaw Facebook 的精選貼文
GH Streaming - CHIDA, 川西卓, ShioriyBradshaw -
Date: 24 Jan 2021
LINEUP
Studio:
CHIDA (ene)
川西卓
ShioriyBradshaw
渋谷駅前、スクランブル交差点を見下ろせるDJ BARの草分け、テクノから演歌まで聴けるBridge、コロナにも負けず新旧ヒップホップが炸裂するWREP、両店のレギュラーDJが1日も早いコロナの終息と平和を祈り鳴らします!
★本公演はGH STREAMINGにて配信致します。
https://gh-streaming.com
Located in front of Shibuya Station with a view that looks down on the bustling Shibuya Crossing, DJ Bar Bridge, a place where you can hear anything from Techno to Japanese Pop songs, and WREP that focuses on new and old-school Hip Hop features their regular DJs sending prayers for peace and the swift end of the pandemic with their sounds.
●This event will be broadcasted on GH STREAMING.
https://gh-streaming.com
Start 8PM - End 11:30PM (JST)
¥490 Monthly Subscription
https://www.facebook.com/events/881971049256031
bar bridge 在 脂身長男チャンネル Youtube 的最佳解答
ご視聴ありがとうございます!^^
今回から、灯りとして使っているUSB-LEDライトを二つに増やしてみました。
少しは明るく見やすくなったと思うのですが、如何でしょうか?
#ウイスキー#バーボン#whiskey
【Instagram】【Twitter】やってます!
良かったらフォローして下さいね^^
美味しいものは→【Instagram】whiskey_soda777
脂身長男へのご依頼✉は→【Twitter】@aburami_chounan
チャンネル登録、是非よろしくお願い致します^^
↓ ↓ ↓ ↓ ↓
http://urx.red/YlKI
【他チャンネル関連動画】
【ゆっくり解説】定価で買えて、美味しいジャパニーズウイスキー10選
https://www.youtube.com/watch?v=JJEgbMZuK-A
【公式】『ウイスキペディア』#18
https://www.youtube.com/watch?v=5_kibrH2VWI
【ド級ウイスキーの嵐】いまは入手困難な『幻のウイスキー』だらけのロンドン酒屋"The Whisky Exchange - London Bridge"へ(後編)
https://www.youtube.com/watch?v=y7FFW090MFw
【ウイスキー】発見!初心者を沼らせるど真ん中な酒 グランツスモーキー
https://www.youtube.com/watch?v=8Msx89J8Ieo
【ウイスキー】まるで白州の親戚!森香るスコッチが神コスパすぎた!ジョニーウォーカーグリーンラベル
https://www.youtube.com/watch?v=QQI4wWjTwgc
bar bridge 在 qooninTV Youtube 的精選貼文
この動画は森永製菓とのタイアップです。
商品ラインナップ:
https://www.morinaga.co.jp/in/bar/lp2/
クーニンズ史上最大のチャレンジマッチ…盗塁するとプロテインがついてくる!
今回のタイアップで視聴者プレゼントはありませんが、
皆さんと一緒に野球の支援を行う団体BLFに5万円寄付します!
http://blf.or.jp/dream-bridge/
新クーニンズキャップ販売中!
https://muuu.com/videos/30e003d4c120fdaf/products/994
◆クーニンTVについて
チャンネル登録はこちら↓
https://www.youtube.com/c/qooninTV?sub_confirmation=1
◆クーニンのインスタグラム
https://instagram.com/qoonin/
◆クーニンのツイッター
https://twitter.com/mcqoonin
サブチャンネルはこちら
https://www.youtube.com/channel/UCgx5ymxhPZ6W3MMkvBXPPKQ?sub_confirmation=1
クーニンズ公式サイト
https://teams.one/teams/qoonins/
このチャンネルは管理人のクーニンが野球、体操中心にスポーツ、トレーニングなどに挑戦したり紹介したりします。
ヘタレが頑張る姿を応援してください!
bar bridge 在 MONGABONG Youtube 的最讚貼文
Back with another October vlog for you guys! Another busy month has passed once again... and adopting a new cat?! ? Watch on to find out more about Pepper @peppurr.thecat!
Also a big big thank you for all your birthday wishes and gifts, you guys really pamper me too much and I’m so thankful!!
Also, go give @peppurr.thecat a follow, we're so excited to have her as our newest addition of our family, and I can't wait to share more of Pepper with you guys!! ?
Hope you guys are having a great November, take care and I'll see you in my next one ❤️
Products mentioned:
? Abib Hydration Cushion Compact - https://bit.ly/2IXY0bQ
? GHD Glide Hot Brush - https://www.sephora.sg/products/ghd-glide-hot-brush/v/default
? Tangle Teezer The Wet Detangler Hair Brush - https://www.sephora.sg/products/tangle-teezer-wet-detangler
? Kérastase Resistance Length Caring Gel Cream - https://www.sephora.sg/products/kerastase-resistance-length-caring-gel-cream/v/150ml
? Bruno Compact Hot Plate - https://www.tangs.com/product/bruno-compact-hot-plate-white?r=b-1613
? Ji Xiang (Everton Park) Ang Ku Kueh - https://jixiangconfectionery.com.sg/
Places mentioned:
? Kafe UTU, 12 Jiak Chuan Rd, Singapore 089265
? Nouri, 72 Amoy St, Singapore 069891
? Tipo Pasta Bar, 785 North Bridge Rd, Singapore 198753
? Tong Xin Ru Yi Traditional Hot Pot, 6 Lor Telok, Singapore 049019
? Salon Vim Wisma Atria, 435 Orchard Rd, #02-01B, Singapore 238877
FOLLOW ME
► Instagram: http://instagram.com/mongabong
► TikTok: www.tiktok.com/@mongabong
► Blog: www.mongabong.com
► Email: hello@mongabong.com
FAQ
Hello! My name is Mong Chin and I'm from sunny Singapore. I am 1.63m and I am Singaporean Chinese. I speak English, Mandarin and am currently learning Korean in my free time. I love all things beauty and fashion, and I also like to share my life here. I hope you guys enjoy watching my videos!
DISCLAIMER
This video is not sponsored. All content ideas and opinions are my own.
bar bridge 在 都市微醺的靈魂酒吧開箱-Bar Bridge - 美食板 | Dcard 的推薦與評價
今天想介紹一家還在試營運中的Bar Bridge,開在台北微風廣場正對面,緊鄰喧囂的復興南路旁,門面低調簡約,內部裝潢以暗色系作為基調,吧檯後的酒櫃內 ... ... <看更多>
bar bridge 在 愜意小酌|美式居家酒吧Bar Bridge增互動氛圍創意調酒品飲 ... 的推薦與評價
禁止酒駕,飲酒過量有害健康。未滿十八歲請勿飲酒位在復興南路上、微風廣場正對面的這家酒吧,外觀十分低調,只有簡單的招牌寫著店名「 Bar Bridge 」。 ... <看更多>
bar bridge 在 Bar Bridge | Taipei - Facebook 的推薦與評價
Bar Bridge, Taipei, Taiwan. 311 likes · 5 talking about this · 92 were here. 生活的Bridge,忘記時間感的地方。 Cocktails, Wine, Food and Good time. ... <看更多>