jl777 8 years ago
parent
commit
cb97b1b443
  1. 61
      README.md
  2. 2
      iguana/notaries.h

61
README.md

@ -157,24 +157,67 @@ once jsoncmp is built, then ./test shows how to use it
the idea is to issue a curl command into a /tmp/file and then use jsoncmp to verify the exact value of one or more fields. it will print to stdout JSON with "error" or "result" and to stderr if there is an error
##### ../agents/iguana notary
Here are some preliminary instructions for iguana dPoW support:
0. Install and start ../agents/iguana add any coin via coins/genbtcd or coins/basilisk
0.Have iguana installed at http://wiki.supernet.org/wiki/How_To_Install_Iguana_on_Linux
1. Create an iguana wallet with encryptwallet if you dont already have one:
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"bitcoinrpc\",\"method\":\"encryptwallet\",\"passphrase\":\"use high entropy passphrase that generates the pubkey\"}"
cd Supernet/iguana -->
../agents/iguana
#In another SSH window:
cd Supernet/iguana/coins -->
./basilisk
1. Create an iguana wallet with encryptwallet and importprivkey into both komodod and bitcoind using the KMDwif and BTCwif in the encryptwallet result
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"bitcoinrpc\",\"method\":\"encryptwallet\",\"passphrase\":\"insert very secure password here\"}"
2. Go to SuperNET/iguana/
pico wp
2. Create an executable (chmod +x) file "SuperNET/iguana/wp" with the following in it:
curl --url "http://127.0.0.1:7778" --data "{\"method\":\"walletpassphrase\",\"params\":[\"same passphrase as above\", 9999999]}"
Now from SuperNET/iguana if you run ./wp it will show the various addresses including "btcpubkey" which is your notary pubkey. Post this in #notarynode if you havent already.
#Save the file then run the following command:
chmod +x wp
#Run the file
./wp
#Get the btcpubkey key from the output and give it to James.
3. create a text file SuperNET/iguana/myip.txt with just your ip address in it:
12.34.56.78
The ipaddress is only used for registering notary node and not directly correlated with your pubkey.
pico myip.txt
#Put your WAN IP of your node
4. Copy SuperNET/iguana/coins/btc + btc_7776 + kmd and kmd_7776 up one directory to SuperNET/iguana
cp btc ../
cp btc_7776 ../
cp kmd ../
cp kmd_7776 ../
Now you go to SuperNET/iguana and edit each file to show their correct path. If your home directory is /home/username then \"path\":\"home/username\". You can go to the folder .bitcoin and run pwd to fine the path eg. replace "root/username/.bitcoin\" --> "home/username/.bitcoin\" Do the same for kdm but they will be a different path again.
pico btc
pico btc_7776
pico kmd
pico kmd_7776
4. copy SuperNET/iguana/coins/btc btc_7776 kmd and kmd_7776 up one directory to SuperNET/iguana and edit "path" to match your home directory. if your home directory is /home/username then \"path\":\"home/username\"
5. make a copy of SuperNET/iguana/wp -> SuperNET/iguana/wp_7776 and change port 7778 to port 7776
cp wp wp_7776
pico wp_7776
#Then change the port to 7776 from within the new file.
6. make a copy of SuperNET/iguana/tests/dpow_7776 to SuperNET/iguana/dpow_7776 and edit the pubkey to match your btcpubkey from above
cp dpow_7776 ../
pico dpow_7776

2
iguana/notaries.h

@ -25,7 +25,7 @@ char *Notaries[][2] =
{ "crackers_NA", "03d40a9123a081c1513e5900f8bf47590952fd0d5587f64715b4b65af8d6be4985" },
{ "movecrypto_EU", "025b1e33dba14a0d4645e88f14992137e5c185708c7a2c219caffdf32dd6405e6e" },
{ "proto_EU", "03681ffdf17c8f4f0008cefb7fa0779c5e888339cdf932f0974483787a4d6747c1" },
{ "pondsea_SH", "027ee1eebfe2bd62239c3e4a859c2e19861fc44b8d77fa569d6527f6f3cdf5925d" },
{ "pondsea_SH", "02209073bc0943451498de57f802650311b1f12aa6deffcd893da198a544c04f36" },
{ "locomb_EU", "0252c7a960606f53ea562207561b2be1a62bd2801944bb5ac41b5591fe03c7f0e5" },
{ "jeezy_EU", "035e05eca2eb3aab88a6e10c368b9f039cd6f5e02e4e6dc554eb7f552991915280" },
{ "farl4web_EU", "035caa40684ace968677dca3f09098aa02b70e533da32390a7654c626e0cf908e1" },

Loading…
Cancel
Save