Bitcoin Forum
July 01, 2024, 01:28:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: c# ltc/btc библиотека ищется  (Read 4404 times)
NInja1713 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 04, 2015, 10:19:25 AM
Last edit: July 05, 2015, 10:20:01 AM by NInja1713
 #1

Хочу програмно взаимодействовать с ltc или btc.
Пока что пробовал только ltc и либу https://github.com/GeorgeKimionis/BitcoinLib

Запускаю сам демон
litecoind.exe -daemon -debug=net -printtoconsole


Инициализирую:
 private readonly ILitecoinService _litecoinService = new LitecoinService();


            _litecoinService = new LitecoinService(ConfigurationManager.AppSettings["Litecoin_DaemonUrl"],
            ConfigurationManager.AppSettings["Litecoin_RpcUsername"],
            ConfigurationManager.AppSettings["Litecoin_RpcPassword"],
            ConfigurationManager.AppSettings["Litecoin_WalletPassword"]
            );


При запросе получения баланса
 decimal balance = _litecoinService.GetBalance();

Пишет:
An exception of type 'BitcoinLib.ExceptionHandling.Rpc.RpcInternalServerErrorException' occurred in BitcoinLib.dll but was not handled in user code
Additional information: getbalance [account] [minconf=1]
If [account] is not specified, returns the server's total available balance.
If [account] is specified, returns the balance in the account.





Есть ли еще какие-то опробованные варианты для ltc?
Сейчас качаю многогиговый клиент для btc.

Есть ли какие-то либы на шарпе для других кошельков, кроме оригинального клиента?
https://bitcoin.org/ru/choose-your-wallet
NInja1713 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 05, 2015, 11:02:15 AM
 #2

Вопрос решен, надо было обновить клиент ltc.
ish
Full Member
***
Offline Offline

Activity: 176
Merit: 106


View Profile
July 25, 2015, 08:20:11 PM
 #3

https://github.com/pmlyon/BitSharp
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!