Closed arealclimber closed 4 days ago
{
"name": "iSunCoin",
"chain": "iSunCoin",
"title": "iSunCoin Mainnet",
"rpc": ["https://mainnet.isuncoin.com"],
"faucets": [],
"nativeCurrency": {
"name": "ISC",
"symbol": "ISC",
"decimals": 18 # [to be checked] isuncoin decimals
},
"features": [{ "name": "EIP155" }, { "name": "EIP1559" }], # [to be checked] isuncoin features
"infoURL": "https://isuncoin.com",
"shortName": "isuncoin",
"chainId": 0, # [to be checked] isuncoin chain id
"networkId": 0, # [to be checked] isuncoin network id
"slip44": 1, # [to be checked] isuncoin slip44
"icon": "isuncoin",
"explorers": [
{
"name": "iSunCoin Explorer",
"icon": "https://", # [to be checked] isuncoin icon url
"url": "https://explorer.isuncoin.com", # [to be checked] isuncoin explorer url
"standard": "EIP3091" # [to be checked] isuncoin standard
}
]
}
took 2 hrs remaining 3 hrs
缺少跟要確認的東西
鏈的 icon 部署到 IPFS,拿到 IPFS URL 之後新建一個 _data/icons 的 json
e.g. _data/icons/qchain.json
[
{
"url": "ipfs://QmZESsg3P8cimYjibkD8w1T8DgszAHcKn7UReC8FWbfDGz",
"width": 1536,
"height": 1536,
"format": "png"
}
]
區塊鏈瀏覽器名稱跟 URL 跟是否符合 EIP-3091
currency 的 decimal 是 18?
chain id
network id
鏈支持的特性
_data/chains/eip155-8017.json
{
"name": "iSunCoin Mainnet",
"chain": "iSunCoin",
"title": "iSunCoin Mainnet",
"rpc": ["https://mainnet.isuncoin.com"],
"faucets": [],
"nativeCurrency": {
"name": "ISC",
"symbol": "ISC",
"decimals": 18
},
"features": [{ "name": "EIP155" }, { "name": "EIP1559" }],
"infoURL": "https://isuncoin.com",
"shortName": "isc",
"chainId": 8017,
"networkId": 8017,
"slip44": 8017, # [to be checked] isuncoin slip44
"icon": "isuncoin",
"explorers": [
{
"name": "iSunCoin Explorer",
"icon": "isuncoin",
"url": "https://baifa.io/app/chains/8017",
// "standard": "EIP3091" # 網站本身是否符合 `EIP 3091`,目前判斷 BAIFA 不符合`EIP 3091``
}
]
}
_data/icons/isuncoin.json
[
{
"url": "ipfs://QmRNqgazYuxUa5WdddFPftTWiP3KwzBMgV9Z19QWnLMETc",
"width": 60,
"height": 60,
"format": "svg"
}
]
區塊鏈 explorer 的 API /網站 routing 需符合以下形式
Blocks
<BLOCK_EXPLORER_URL>/block/<BLOCK_HASH_OR_HEIGHT>
Transactions
<BLOCK_EXPLORER_URL>/tx/<TX_HASH>
Accounts
<BLOCK_EXPLORER_URL>/address/<ACCOUNT_ADDRESS>
Tokens
<BLOCK_EXPLORER_URL>/token/<TOKEN_ADDRESS>
/blocks/<BLOCK_HASH_OR_HEIGHT>
;routing 使用 transaction
,缺少 tx
./gradlew run
指令在 Java 環境通過檢查
_data/chains/eip155-8017.json
{
"name": "iSunCoin Mainnet",
"chain": "iSunCoin",
"icon": "isuncoin",
"rpc": ["https://mainnet.isuncoin.com"],
"faucets": [],
"nativeCurrency": {
"name": "ISC",
"symbol": "ISC",
"decimals": 18
},
"infoURL": "https://isuncoin.com",
"features": [{ "name": "EIP155" }, { "name": "EIP1559" }],
"shortName": "isc",
"chainId": 8017,
"networkId": 8017,
"slip44": 8017,
"explorers": [
{
"name": "iSunCoin Explorer",
"icon": "isuncoin",
"url": "https://baifa.io/app/chains/8017",
"standard": "none"
}
]
}
- `_data/icons/isuncoin.json`
```json
[
{
"url": "ipfs://Qmdj8PwchmbpZKYvkB3oJiRX9eZdY6C16AbEz6D1DU3Vqn",
"width": 60,
"height": 61,
"format": "svg"
}
]
took 8.5 hrs in total done
透過向 chainlist repo 提交 PR 將 iSunCoin 資訊包含在 chainlist 中
在 Java 環境驗證自己的 PR
SLIP-44 的作用
唯一識別碼分配: 為每種加密貨幣分配一個唯一的整數識別碼,確保不同貨幣之間不會發生地址衝突。
多幣種錢包支持: 使得多幣種錢包能夠一致地生成和管理不同加密貨幣的地址,提升用戶體驗。
標準化地址生成: 提供一個統一的標準,幫助開發者在生成地址時遵循相同的規則,減少錯誤。
促進互操作性: 使得不同的錢包和應用能夠更好地互相兼容,促進整個加密貨幣生態系統的發展。
簡化資產管理: 用戶可以更輕鬆地管理多種加密貨幣,因為每種貨幣都有明確的識別碼和生成規則。
支持新興加密貨幣: 當新的加密貨幣出現時,可以通過申請 SLIP-44 編號來確保其在生態系統中的地位。
ref: