標籤:AMIS

Merkle Tree

Verify a Libra Transaction

Generally, you need to have a client when connecting to the blockchain network. There are different types of nodes: full node, light node, mining node and relay node. In this article, we will focus on how a light client node works because not everyone can run a validator node (full node) in Libra since it is a permissioned blockchain. Instead of fully verifying all transactions and blocks, light clients only need to download block headers and verify if interested transactions are included in the block. Light clients are run by devices that do not have huge computation power and bandwidth.

AWS Cloud

AWS IRSA For Self-Hosted Kubernetes

Finally, AWS made changes in the AWS identity APIs to recognize Kubernetes pods, so each K8S Pod can have specific IAM Role to acquire proper permission to access AWS cloud resource (This feature called IRSA). For the AWS Hosted K8S (A.K.A. EKS), official provided detail document and blog post to demonstrate how to achieve it, but there is still not many online resource to talk about how to enable it for Self-Hosted K8S in AWS, hence, I write this post to go through how to enable IRSA in Self-Hosted K8S.

Libra Swap Process Flow

LibraSwap introduction

In this article, we will introduce LibraSwap, an experimental project to bridge Libra with Ethereum. It aims to implement a minimum viable prototype to fulfill token swap between Libra and Ethereum. There are two reasons why we choose this fun project. On the one hand, we want to learn more on how Libra works. On the other hand, we are familiar with Ethereum blockchain. However, due to the limitation of Libra testnet, we can not deploy and interact with Libra smart contract. We implement a unilateral Libra swap instead of the standard atomic swap.

LibraSwap 流程圖

LibraSwap 介紹

本文我們將介紹 LibraSwap,這是個實驗性質的專案,旨在實作 MVP 來實現 Libra 與 ETH 之間的 Swap 互換。挑選這個專案的原因,一方面是為了學習 Libra 區塊鏈,另一方面是我們對於以太坊區塊鏈較為熟悉,但是考量目前 Libra 測試鏈上僅能收送交易,尚無法部署合約交易功能,所以這個專案我們將會實作單方向的 Swap 互換。

Libra

Libra 介紹

今年六月,臉書宣布其區塊鏈計畫 — Libra,旨在打造一個普惠金融 (Inclusive Financing) 的支付系統。按臉書原先的計畫,預計會在 2020 正式上線,雖然美國國會要求臉書暫緩 Libra 專案,除此之外,臉書也發佈了 Libra 白皮書,並且開源 Libra 原始碼以及測試鏈,讓開發者可以先嘗鮮。截至目前,Libra 的開源項目仍在持續開發,程式碼不停在更新,討論區也是相當活躍。