Page 1 of 1

Bitcoin or CoinMiner library?

Posted: Thu Sep 07, 2017 10:35 am
by pb8473
I don't maybe it's unrealistic but what do you think about a bitcoin and coinminer library in PB?

Possible commands could be

Code: Select all


CreateWallet(#network) ;--#bitcoin,#ethereum etc.
CoinMine(#network,walletid.l)

I would love to have such commands in a future version of Purebasic.

Re: Bitcoin or CoinMiner library?

Posted: Thu Sep 07, 2017 1:27 pm
by Rings

Code: Select all

MyMoney=ReceiveHTTP_From_PAYPALAMAZONWHEREEVER(Amount_IN_$ )

Re: Bitcoin or CoinMiner library?

Posted: Thu Sep 07, 2017 10:10 pm
by bbanelli
Rings wrote:

Code: Select all

MyMoney=ReceiveHTTP_From_PAYPALAMAZONWHEREEVER(Amount_IN_$ )
Please Rings, if you don't want to help, don't give people false information.

@pb8473: MyMoney has to be declared as double.

Re: Bitcoin or CoinMiner library?

Posted: Fri Sep 08, 2017 2:35 pm
by Bisonte
bbanelli wrote:
Rings wrote:

Code: Select all

MyMoney=ReceiveHTTP_From_PAYPALAMAZONWHEREEVER(Amount_IN_$ )
Please Rings, if you don't want to help, don't give people false information.

@pb8473: MyMoney has to be declared as double.
MadeMyDay :mrgreen:

Re: Bitcoin or CoinMiner library?

Posted: Mon Sep 11, 2017 11:17 am
by pb8473
I made my own miner

Code: Select all


  a=1
  
  miner.s = "https://s26.postimg.org/88ylgslzt/Bitcoins_mineiro.gif"

If OpenWindow(0, 0, 0, 660, 570, "Miner", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  
  PanelGadget(0, 5, 10, 650, 550)
  
Repeat
  
  AddGadgetItem (0, a, Str(a)+". Coin")
  WebGadget(a, 0, 0, 640, 520, miner)
    
  a+1
  
Until a=10
   
Repeat:Until WaitWindowEvent() = #PB_Event_CloseWindow
  
EndIf


Re: Bitcoin or CoinMiner library?

Posted: Mon Sep 11, 2017 11:22 am
by IceSoft
1.April today?