ADA (Cardano) === * [name=Ander Liu] ###### tags: `Blockchain` [TOC] ## Basic info * Source code: https://github.com/input-output-hk/cardano-sl * Download: https://daedaluswallet.io * Releases: https://github.com/input-output-hk/cardano-sl/releases * Block Explorer: https://cardanoexplorer.com * Block Explorer (Testnet): https://testnet.iohkdev.io/cardano/byron/explorer/ * Testnet Faucets: https://testnet.iohkdev.io/cardano/byron/faucet/ ## Command line interface * Source code: https://github.com/input-output-hk/cardano-cli/releases * Releases: https://github.com/input-output-hk/cardano-cli/releases * Command Line Doc: https://github.com/input-output-hk/cardano-cli/blob/master/USAGE.md * 下載後會得到 cardano-cli 執行檔 ### mainnet ```bash= $ ./cardano-cli blockchain new mainnet $ ./cardano-cli blockchain pull mainnet $ ./cardano-cli wallet create "My Wallet" $ ./cardano-cli wallet attach "My Wallet" mainnet $ ./cardano-cli wallet sync "My Wallet" $ ./cardano-cli wallet status "My Wallet" ``` ### testnet ```bash= $ ./cardano-cli blockchain new testnet $ ./cardano-cli blockchain pull testnet $ ./cardano-cli wallet create "My Testnet Wallet" $ ./cardano-cli wallet attach "My Testnet Wallet" testnet $ ./cardano-cli wallet sync "My Testnet Wallet" $ ./cardano-cli wallet status "My Testnet Wallet" ``` ### 創建地址 ```bash= $ ./cardano-cli wallet address <WALLET_NAME> <ACCOUNT_INDEX> <ADDRESS_INDEX> Ae2tdP...... ``` ## warning :::danger 1. cardano-cli wallet sync 好像沒有辦法同步錢包,所以無法透過 cli 建交易 2. GUI 可以使用,因此 core 應該也正常,問題應該出在 cli 3. ADA 使用 UTXO,並且 cli 只能對自己錢包做交易 ::: ## Reference * [Official Website](https://www.cardano.org/en/home/) * https://github.com/input-output-hk/cardano-cli/releases * https://github.com/input-output-hk/cardano-cli * https://github.com/input-output-hk/cardano-cli/blob/master/USAGE.md ## Homepage * [Homepage](/@NDR/Homepage)