Advertisement
BlueWall

Open-Transactions * Bootstrap a new server

Apr 9th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. 1) create nym
  2. opentxs newnym
  3.  
  4. 2) create server contract
  5. cat localhost.xml | opentxs --mynym New newserver
  6.  
  7. 3) export server contract to file
  8. cat ~/.ot/contracts/********* | opentxs --mynym new decode > localhost.otc
  9.  
  10. 4) Get cachedKey
  11. cat ~/.ot/client_data/wallet.xml | opentxs --mynym New decode > wallet.txt
  12.  
  13. 5) Get Ids
  14. opentxs stat > Id.txt
  15.  
  16. ***** Server
  17.  
  18. 6) run the server
  19. otserver
  20.  
  21. Read the text and follow the instructions to copy the ~/.ot/client_data/credentials directory and contents to ~/.ot/server_data/credentials
  22.  
  23. 7) Get the server and nym ids from the Id.txt from step 5 and enter them as they are requested
  24.  
  25. 8) Paste the cacheKey from step 4
  26.  
  27. 9) Leave this next part blank if you copied the credentials as instructed.
  28.  
  29. 10) paste the signed contract from step 3
  30.  
  31. 11) otserver will ask for the passphrase - enter it
  32.  
  33. 12) You should have a running otserver
  34.  
  35. you can destroy the client data and start a new wallet, import your server contract with addserver and use the new server
  36.  
  37.  
  38. You can run the server in screen...
  39.  
  40. screen -dmS OT -t otserver otserver
  41. screen -S OT -X hardstatus alwayslastline "%{=b}%{G} %H Screen(s): %{b}%w %=%{kG}%C%A %D, %M/%d/%Y"
  42. screen -r OT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement