Author

Topic: Teach me some basic logics of coin Want to integrate a new coin in my website (Read 116 times)

newbie
Activity: 23
Merit: 0
legendary
Activity: 1624
Merit: 2481
1. how do I generate addresses, from windows qt wallet or from running a new daemon and check transaction through block explorer?

You need to check the available commands. Those might differ depending on what coin you are talking about.

For bitcoin, the command is getnewaddress. This freshly generated address has to be linked to the customer / the order of the customer in your database.

I would discourage from using a blockexplorer to check for transactions.
You can use walletnotify and blocknotify to get the status of your transactions.

However, this is for bitcoin core. This might differ quite heavily (depending on the coin / kind of fork you want to use).



2. also should I get new address for every transaction or can i do like exchange giving one address to each user and get all deposits to that one address if yes then how do I check only new transactions on that same address

It is recommended (for privacy reasons and easier checking) to generate a new address for each transaction.
However, using one address for one customer (i.e. for multiple transactions) is not a problem.

blocknotify and walletnotify can give you the information you need regarding transactions.
newbie
Activity: 23
Merit: 0
thank you for reply bob123

actually my basics are not good with coin
my questions are

1. how do I generate addresses, from windows qt wallet or from running a new daemon and check transaction through block explorer?
2. also should I get new address for every transaction or can i do like exchange giving one address to each user and get all deposits to that one address if yes then how do I check only new transactions on that same address
legendary
Activity: 1624
Merit: 2481
the coin is sha256

The coin is a hashing algorithm? Sounds interesting..  Roll Eyes


So, you want to integrate your coin into your website.. as a payment option ?

The general procedure would be that you run your full node and write a small program which:
  • creates deposit addresses
  • checks the received amount
  • triggers an event once the transaction has X confirmation

What else do you want to know regarding the 'logic' of this procedure ?
newbie
Activity: 23
Merit: 0
I developed a coin and an ecommerce store, the coin is sha256,
I actually developed website and coin developed by other guy.
I want to integrate that coin into our ecommerce, which I will do myself. I want someone to teach me some logics
I will take 1-3 hrs of your time and will pay $50
add me on skype shahzaib.ali468 if you think you are expert with cryptocurrency development and logics

thank you
Jump to: