Bitcoin Forum
May 06, 2024, 09:52:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: C# - Creating a unique bitcoin address for each user  (Read 2257 times)
joelnet (OP)
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
July 12, 2011, 04:51:53 AM
 #1

I have a website (c# asp.net mvc) that has users.

i need to create a system like the one mt.gox setup.

i want each user to have a unique address to send bitcoins to.  those coins will be credited to their accounts.  each transaction will result in them receiving a new address.  old addresses will continue to work for their account.  credits will appear after X many confirmations.


i'm not familiar with bitcoin development and am looking for open source solutions or developers.

help!
1715032325
Hero Member
*
Offline Offline

Posts: 1715032325

View Profile Personal Message (Offline)

Ignore
1715032325
Reply with quote  #2

1715032325
Report to moderator
1715032325
Hero Member
*
Offline Offline

Posts: 1715032325

View Profile Personal Message (Offline)

Ignore
1715032325
Reply with quote  #2

1715032325
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715032325
Hero Member
*
Offline Offline

Posts: 1715032325

View Profile Personal Message (Offline)

Ignore
1715032325
Reply with quote  #2

1715032325
Report to moderator
EricJ2190
Full Member
***
Offline Offline

Activity: 134
Merit: 102


View Profile
July 12, 2011, 05:12:21 AM
 #2

You con control Bitcoin and generate addresses with the JSON-RPC API. As for keeping track of users' addresses, you can either use separate accounts in Bitcoin or just keep track of them in some sort of database yourself.
Keninishna
Hero Member
*****
Offline Offline

Activity: 556
Merit: 500



View Profile
July 12, 2011, 05:13:19 AM
 #3

its pretty easy to do actually, check online for json rpc client examples in c# then just connect to the bitcoind server and call getaccountaddress($nick) it will automatically generate a sub wallet address for that user if they don't have one.
joelnet (OP)
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
July 12, 2011, 05:58:01 AM
 #4

i'll be managing the account myself.

ok.  so it sounds like i need to start with running the bitcoind server.  i'll check that out.
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!