[LINE Blockchain Developers] 快速在LINE Blockchain上建立代幤

[LINE Blockchain Developers] Create a service token on the LINE Blockchain platform

阿強
5 min readSep 10, 2020

本篇教學將介紹如何快速在LINE Blockchain上建立Service Token,首先進入LINE Blockchain Developers的官方網站(https://blockchain.line.biz/),點選Get started。

https://blockchain.line.biz/

使用LINE帳號登入,目前只開放測試網路進行開發(Cashew),在官方文件中有提到Cashew 和 Daphne,Cashew是測試網路,Daphne是主要網路,其API位址也不一樣。

Cashew (Testnet): test-api.blockchain.line.me
Daphne (Mainnet): api.blockchain.line.me

點選登入後,需申請 Cashew Partner account application,填寫開發者的相關資料,必須通過審核才可以進行開發,大約經過一天後會收到email,通知審核的結果。

Cashew Partner account application 審核結果

接著與LINE Chatbot選項類似,建立或選擇一個Provider,我新增一個provider叫testing,選擇Create a Blockchain Service channel,接著填寫一些基本資料。

Create a Blockchain Service channel
Create a channel

Create a channel後,完成以下三步驟,就發行完成了

Create a service

Create a service

注意要儲存API Secret,Please keep a backup of this API Secret. It will not be shown again after this screen.

Create a wallet

Create a wallet

注意要儲存Wallet Secret,Please keep a backup of this Wallet Secret.
It will not be shown again after this screen.

Create a token

Create a token

Initial supply我填寫10000000000,共填寫10個0,它是由小數點六位計算的,因此真實的數值是10000,填寫完後按下Create,就完成了。

Blockchain Service Done

這樣就完成在LINE Blockchain platform中建立一個Service token,更多詳細資料可以參考LINE Blockchain Docs (https://docs-blockchain.line.biz/),此次在LINE Blockchain平台中發行token的步驟跟本人之前寫的『使用以太坊發行虛擬貨幣教學』有很大的出入

使用以太坊發行虛擬貨幣教學系列

使用以太坊發行虛擬貨幣教學 — (1) 安裝MetaMask

使用以太坊發行虛擬貨幣教學 — (2)使用remix建立智能合約(Smart Contract)

使用以太坊發行虛擬貨幣教學 — (3)驗證創立的ICO虛擬貨幣

如今在LINE Blockchain platform發行Service token只需要填填資料,即可發行,讚嘆阿。

更多參考資料:

[1] https://docs-blockchain.line.biz/

--

--

阿強
阿強

Written by 阿強

一個喜歡研究新事物的軟體工程師

Responses (1)