Bitcoin Forum
May 05, 2024, 10:20:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Empresa de Exchange  (Read 160 times)
BobTalin (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 11, 2021, 03:59:36 AM
 #1

Olá amigos! Quero criar uma Empresa de Exchange como a foxbit. Preciso saber como criar wallets a partir do meu full node, e assim pessoas poderiam vender para a Empresa as Criptos e receberiam em dinheiro, ou o contrário. Como faria a criação automática de wallets baseada no meu full node? Desde já agradeço!
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714904431
Hero Member
*
Offline Offline

Posts: 1714904431

View Profile Personal Message (Offline)

Ignore
1714904431
Reply with quote  #2

1714904431
Report to moderator
1714904431
Hero Member
*
Offline Offline

Posts: 1714904431

View Profile Personal Message (Offline)

Ignore
1714904431
Reply with quote  #2

1714904431
Report to moderator
1714904431
Hero Member
*
Offline Offline

Posts: 1714904431

View Profile Personal Message (Offline)

Ignore
1714904431
Reply with quote  #2

1714904431
Report to moderator
TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
March 11, 2021, 07:09:00 PM
Merited by sabotag3x (1), paxmao (1)
 #2

A melhor forma provavelmente seria através do RPC do Bitcoin Core.

Dê uma olhada nas docs dele: https://developer.bitcoin.org/reference/rpc/index.html#wallet-rpcs

Por exemplo:

getnewaddress: https://developer.bitcoin.org/reference/rpc/getnewaddress.html
getreceivedbyaddress: https://developer.bitcoin.org/reference/rpc/getreceivedbyaddress.html
getreceivedbylabel: https://developer.bitcoin.org/reference/rpc/getreceivedbylabel.html
gettransaction: https://developer.bitcoin.org/reference/rpc/gettransaction.html

Com isso acho que já dá para dar uma brincada enquanto você estuda o seu funcionamento. E.g: criar um endereço para o usuário (opcionalmente com um label indicando seu ID interno) com o getnewaddress e verificar seu saldo através do getreceivedbyaddress ou getreceivedbylabel (caso utilize um ID interno).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BobTalin (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 11, 2021, 08:18:50 PM
 #3

Cara, muito obrigado! Por acaso você sabe sobre algum curso em vídeo sobre esse tema? E sobre qual linguagem de programação devo aprender pra me aprofundar?
TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
March 11, 2021, 10:24:34 PM
 #4

Cara, muito obrigado! Por acaso você sabe sobre algum curso em vídeo sobre esse tema? E sobre qual linguagem de programação devo aprender pra me aprofundar?
Praticamente qualquer coisa deve funcionar. PHP, Java, ASP.NET, Elixir, Node, etc... não importa muito. O importante é usar ela para acessar o RPC do Bitcoin Core.

Aqui tem um tutorial simples mas bem legal com exemplos usando PHP: https://en.bitcoin.it/wiki/PHP_developer_intro

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!