Bitcoin Forum
May 26, 2024, 12:40:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need Help Altcoin explorer  (Read 354 times)
trustii (OP)
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
June 20, 2017, 09:28:46 AM
 #1

Hello All bitcointalk Members..

I Need Help.. I Made new Altcoin .. And working well .. Send , receive, Mining , Etc working fine ..

Now i Need explorer For My Altcoin .. So i choose Iquidus Explore ( https://github.com/iquidus/explorer ) for My Altcoin ..

So In settings.json I Need Help .. Can Anyone Tell me Where Can i get These Values from My Altcoin..

     "api": {

     blockindex": ,
    "blockhash": ",
    "txhash": "
    "address": "
}


And

 //genesis
  "genesis_tx": "",
  "genesis_block": "",


Thanks ..

BitcoinHodler
Hero Member
*****
Offline Offline

Activity: 1456
Merit: 578


HODLing is an art, not just a word...


View Profile
June 20, 2017, 11:48:16 AM
 #2

i am mostly curious to know how you made an altcoin without knowing some pretty basic stuff first?

anyways i am not an expert but i try to point you in the right direction.
these "values" are from your blockchain. the genesis block is usually hard coded in the code as first thing. you can see how bitcoin's genesis block works and adapt it to your own block: https://en.bitcoin.it/wiki/Genesis_block

and for the rest they are your blocks, all blocks have a certain structure, again this is specific to your coin and how you coded it. blockindex is the block height like block 10, 1000, 472562,...
block hash is the SHA256 (maybe 2 times) of the whole block hex + its headers. again it may be different from coin to coin!
tx hash should be an array of transaction hexes that have been included in that block (including the coinbase transaction) again may be different since not all coins are minable i don't know if they all have coinbase!
i don't know what address means, maybe base58 addresses of those keys used in the transactions!

it is best to see the original code where you copied (forked) your altcoin from and see how they are doing it.

it is also safe assumption that these altcoins are based on bitcoin so these two links can be helpful in understanding how things work:
https://bitcoin.org/en/developer-guide#block-chain
https://bitcoin.org/en/developer-reference#block-chain

Holding Bitcoin More Every Day
trustii (OP)
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
June 21, 2017, 04:47:29 AM
 #3

Thanks dude..

Can Anyone tell me How to get genesis_tx ??

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!