A cikin labarin na gaba zamu kalli Coinmon. Wannan wani kayan aiki don bincika farashin cryptocurrencies. Wani lokaci da suka wuce, a cikin wannan shafin yanar gizon na buga ƙaramin jagora akan Cli-Fyi. Wannan ma kayan aiki ne na layin umarni masu amfani. Amfani da Cli-Fyi, zamu iya samun sauƙin samun sabon farashin abin ƙira, ban da wasu cikakkun bayanai masu amfani.
Ba kamar Cli.Fyi ba, Coinmon kawai yana aiki don sanin farashin cryptocurrencies, babu komai. Wannan zai sake nazarin farashin cryptocurrencies da canje-canjen su, gaba ɗaya kai tsaye daga tashar mu. Wannan kayan aikin zai sami duk cikakkun bayanai ta amfani da API na coinmarketcap. Wannan amfani zai zama da amfani ga duka masu saka jari da duk wanda ke sha'awar wannan nau'in kuɗin.
Ga wanda bai san shi ba har wa yau, ƙirar ƙira, ƙirar ƙira ko dukiyar crypto, matsakaiciyar dijital ce ta musanya. Hanya ta farko da ta fara aiki ita ce bitcoin a cikin 2009. Tun daga wannan lokacin, wasu da yawa sun bayyana a duniya. Dukansu suna da halaye da ladabi daban-daban kamar Dogecoin, Litecoin, Ripple o Ethereum.
A cikin tsarin cryptocurrency, ana tabbatar da tsaro, mutunci da daidaiton jihohin su ta hanyar hanyar sadarwa na wakilai da ake kira masu hakar gwal. Wadannan, galibi jama'a, suna kare cibiyar sadarwar (masana'anta) ta hanyar adana ƙimar algorithm. Karya tsaron da ke akwai a cikin cryptocurrency abu ne mai yuwuwa ta hanyar lissafi, amma kudin da za a samu hakan zai zama ba da lissafi babba, don haka ba shi da riba.
Shigar da Coinmon
Kafin mu fara girkawa da amfani da wannan masarrafar, dole ne muyi Tabbatar muna da Node.js da Npm shigar a cikin tsarinmu. Idan bakada Node.js da / ko npm da aka sanya akan mashin ɗinku kuma kuna amfani da Ubuntu (a cikin wannan misalin Ina amfani da sigar 16.04), zaku sami damar girka komai ta hanyar bude tashar (Ctrl + Alt + T) da kuma bugawa a ciki:
sudo apt install nodejs npm
Da zarar an shigar da Node.js da Npm, gudanar da umarnin mai zuwa daga wannan tashar zuwa shigar Coinmon.
sudo npm install -g coinmon
Idan shigarwar ta dawo da kuskure kuma baya bada izinin shigarwa, watakila ka girka wani kunshin. Buga a cikin m:
sudo apt install nodejs-legacy
Yanzu sake rubuta umarnin don shigarwar mai amfani.
Duba farashin cryptocurrency daga layin umarni
Idan muka aiwatar da umarni mai zuwa, zamu iya duba saman cryptocurrencies 10 an tsara su bisa ga ƙimar kasuwancin su:
coinmon
Kamar yadda na ce, idan kuna gudanar da Coinmon ba tare da wani sigogi ba, zai nuna saman cryptocurrencies 10. Amma kuma za mu iya nemo lambar da muke so na manyan abubuwan cryptocurrencies, misali 15. A gare su kawai za mu yi amfani da zaɓi "-t" lambar da ke sha'awar mu ta biyo baya. Tsarin da za'a yi amfani dashi a cikin m (Ctrl + Alt + T) zai zama masu zuwa:
coinmon -t 15
duk za a nuna farashin tebur a daloli tsoho Amma kamar kusan komai, ana iya canza wannan. Za mu iya sauya farashin daga USD zuwa wani kudin amfani da zaɓi "-c". Misali, don canza farashin zuwa EUR (Tarayyar Turai), za mu aiwatar da umarnin kamar haka:
coinmon -c EUR
Coinmon a halin yanzu yana tallafawa: AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, GWADA, TWD da ZAR.
Hakanan yana yiwuwa bincika farashin takamaiman abin amfani da alamar ta amfani da alamar wannan:
coinmon -f btc
A cikin misalin da ke sama, btc alama ce ta Bitcoin. Za su iya shawarta alamomin duk cryptocurrencies samuwa akan Wikipedia.
Don ƙarin cikakkun bayanai game da wannan shirin, zamu iya tuntuɓar sashen taimako da Coinmon. Dole ne kawai mu ƙara da zaɓi "-h" kamar yadda aka nuna a cikin masu zuwa:
coinmon -h
Uninstall coinmon
Muna iya sauke wannan aikace-aikacen daga tsarinmu ta hanyar buɗe tashar (Ctrl + Alt + T). A ciki zamuyi amfani da kawai Npm cirewa zaɓi, don haka zamu rubuta umarni mai zuwa a ciki:
sudo npm uninstall -g coinmon
Idan wani ya buƙace shi, za su iya nemi lambar tushe na wannan mai amfani a cikin Shafin GitHub na aikin.