SHARE
TWEET

Untitled

a guest May 25th, 2019 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. My notes on how to setup and run VerusCoin test PBaaS on a clean Ubuntu 18.04 install
  2. -------------------------------------------------------------------------------------
  3. Copyright <YEAR> <COPYRIGHT HOLDER>
  4.  
  5. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  6.  
  7. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  8.  
  9. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  10. --------------------------------------------------------
  11. ! Open a bash
  12.  
  13. 1  apt-get update
  14. 2  sudo apt-get update
  15. 3  sudo apt-get upgrade
  16. 4  sudo apt-get install -y --no-install-recommends ca-certificates      build-essential pkg-config libc6-dev m4 g++-multilib autoconf      libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget      libcurl4-gnutls-dev bsdmainutils automake curl
  17. 5 wget -qO- https://github.com/VerusCoin/VerusCoin/archive/v0.6.0.7-PBaaS-Cross-chain-Technology-Preview.tar.gz | tar xvz
  18. 6 mv VerusCoin-0.6.0.7-PBaaS-Cross-chain-Technology-Preview/ verus-cli
  19. 7 cd verus-cli/
  20. 8 zcutil/fetch-params.sh
  21. 9 cd
  22. 10 mkdir .komodo
  23. 11 mkdir .komodo/VRSC
  24. 9 screen
  25. 10 cd ~/verus-cli/src/
  26. 11 ./verusd -chain=VRSCTEST -mint &
  27. 12 exit
  28. 13 cd ~/verus-cli/src/
  29.  
  30. ! Ask someone to send some VRSCTEST coins to run your new chain using the address from the command below
  31.  
  32. 14 ./verus -chain=VRSCTEST getaccountaddress ""
  33.  
  34. ! Remember to put in your own name, payment address, IP and port numbers below, must be a static IP and have an opening for the port in the firewall
  35.  
  36. 15 ./verus -chain=VRSCTEST definechain '{ "name":"CRUPTIKITTENS", "eras": [{"reward" : 10000000000}], "notarizationreward" : 1440000000, "billingperiod" : 1440, "nodes" : [{"networkaddress" : "104.45.86.24:15016", "paymentaddress" : "RTQkkmq9Y9gj6TU16rUCgUNafHUyEDTxHH"}, {"networkaddress" : "104.45.86.24:15016", "paymentaddress" : "RTQkkmq9Y9gj6TU16rUCgUNafHUyEDTxHH"}]}'
  37.  
  38. ! Take the "hex" part from the JSON output and send the response it as shown below:
  39.  
  40. 16 ./verus -chain=VRSCTEST sendrawtransaction 0400008085202...
  41.  
  42. ! Wait until there is at least one confirmation, after this your chain should be visible in the Agama wallets
  43.  
  44. 17 ./verusd -chain=CRUPTIKITTENS
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top