Bitcoin Forum
June 25, 2024, 09:21:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Teach me some basic logics of coin Want to integrate a new coin in my website  (Read 110 times)
shahzaib101 (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
November 23, 2018, 11:56:06 AM
 #1

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
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
November 23, 2018, 01:17:37 PM
 #2

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 ?

shahzaib101 (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
November 23, 2018, 03:27:28 PM
 #3

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
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
November 23, 2018, 04:01:44 PM
 #4

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.

shahzaib101 (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
November 24, 2018, 11:37:25 AM
 #5

thank you bob123
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!