Bittylicious Seller: Difference between revisions

From GigaTux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Generating keys==
==Generating keys==


* Seller should run ''openssl genrsa 4096 > private.key'' and keep this key private
===User Instructions===
* Seller should also run ''openssl rsa -pubout < private.key > public.key'' and send us ''public.key'' via email
 
* Download some software that can call OpenSSL.
* Run ''openssl genrsa 4096 > private.key'' and keep this key private
* Also run ''openssl rsa -pubout < private.key > public.key'' and send us ''public.key'' via email to [email protected]
 
===Admin Instructions===
 
* When this is received, Marc should put this into ''btctrade/pubkeys/'''<SellerID>'''.key''
* When this is received, Marc should put this into ''btctrade/pubkeys/'''<SellerID>'''.key''


Line 10: Line 16:
* Create new record in ''sellerOffer'' table.
* Create new record in ''sellerOffer'' table.
* Create new records in ''sellerBank'' table.
* Create new records in ''sellerBank'' table.
* Create new record in ''pricing'' table.
* Update ''user'' record to have a valid ''sellerID''.
* Update ''user'' record to have a valid ''sellerID''.
==bitcoind==
* bitcoind getaccountaddress "BL Seller X"
* Copy the account address into the ''sellerOffer' ''btcaddress'' field

Latest revision as of 16:42, 26 July 2013

Generating keys

User Instructions

  • Download some software that can call OpenSSL.
  • Run openssl genrsa 4096 > private.key and keep this key private
  • Also run openssl rsa -pubout < private.key > public.key and send us public.key via email to [email protected]

Admin Instructions

  • When this is received, Marc should put this into btctrade/pubkeys/<SellerID>.key

Database setup

  • Create new record in seller table.
  • Create new record in sellerOffer table.
  • Create new records in sellerBank table.
  • Create new record in pricing table.
  • Update user record to have a valid sellerID.

bitcoind

  • bitcoind getaccountaddress "BL Seller X"
  • Copy the account address into the sellerOffer' btcaddress field