Bitcoin or CoinMiner library?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
pb8473
New User
New User
Posts: 2
Joined: Thu Sep 07, 2017 10:26 am

Bitcoin or CoinMiner library?

Post 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.
User avatar
Rings
Moderator
Moderator
Posts: 1427
Joined: Sat Apr 26, 2003 1:11 am

Re: Bitcoin or CoinMiner library?

Post by Rings »

Code: Select all

MyMoney=ReceiveHTTP_From_PAYPALAMAZONWHEREEVER(Amount_IN_$ )
SPAMINATOR NR.1
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 543
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Re: Bitcoin or CoinMiner library?

Post 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.
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
Bisonte
Addict
Addict
Posts: 1233
Joined: Tue Oct 09, 2007 2:15 am

Re: Bitcoin or CoinMiner library?

Post 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:
PureBasic 6.10 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
pb8473
New User
New User
Posts: 2
Joined: Thu Sep 07, 2017 10:26 am

Re: Bitcoin or CoinMiner library?

Post 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

User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Bitcoin or CoinMiner library?

Post by IceSoft »

1.April today?
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Post Reply