Neptune <p>All things Neptune.</p> https://talk.neptune.cash/inn/1 2023-08-09T15:38:44+00:00 How to avoid losing funds sword_smith 2023-08-09 2023-08-09 3 <p>We’ve all heard the stories about people losing or throwing away their Bitcoin. Let’s at least attempt to avoid this with Neptune!!</p> <p>Neptune Core stores cryptographic data in two files: <code>wallet.dat</code> and <code>incoming_randomness.dat</code>.</p> <p>The short version is that you need to back up your <code>wallet.dat</code> only once, and the <code>incoming_randomness.dat</code> each time you receive a transaction. Both these files are located in your data directory, which can be found in <code>~/.local/share/neptune/&lt;network&gt;/wallet/</code> if you use the default settings on a Linux machine. If you’re unsure what you data directory is, it’s value is in the 1st line that is printed when you start <code>neptune-core</code>.</p> <p>The <code>wallet.dat</code> file never changes, but the <code>incoming_randomness.dat</code> gets a new line every time you receive or mine a transaction!</p> <p>So to be safe, you need to back up <code>wallet.dat</code> <em>and</em> you need to back up <code>incoming_randomness.dat</code> with each transaction that you receive. Provided these two files are backed up correctly, you will not lose any funds. <code>wallet.dat</code> should be backed up to a media that’s not connected to the internet, and <code>incoming_randomness.dat</code> should be backed up with a solution that can sync the file over a secure network. </p> <p><strong>For each transaction you receive, you need to update your backup of <code>incoming_randomness.dat</code>.</strong></p> <p>To elaborate a bit on this, <code>wallet.dat</code> contains the secret key that is used to unlock the lock script that allows you to spend your UTXO. This secret key is provided as the “secret input” when executing the Triton VM whose STARK engine generates a cryptographic proof that you are allowed to spend this UTXO.</p> <p><code>incoming_randomness.dat</code> contains the <a href="https://github.com/Neptune-Crypto/neptune-core/blob/be2f2dab04fe6be70d34d8bc46933280046392b2/src/util_types/mutator_set/ms_membership_proof.rs#L45C1-L45C1" rel="noopener noreferrer"><code>sender_randomness</code></a> which is a component that keeps your transactions private. The <code>sender_randomness</code> is a component of the <code>canonical_commitment</code> which constitute the leafs of the append-only commitment list that is a part of the “mutator set” data structure.</p> <p>Rule of thumb for Neptune security</p> <ol> <li>If someone sees your <code>wallet.dat</code> they take your coins</li> <li>If someone sees your <code>incoming_randomness.dat</code> they can identify your transactions</li> <li>If you lose your <code>wallet.dat</code>, you lose your coins</li> <li>If you lose your <code>incoming_randomness.dat</code>, you lose your coins.</li> </ol> When does the ICO start? Neptuneum 2023-09-13 2023-09-13 5 <p>When does the ICO start? When does the ICO start? When does the ICO start? </p> alphanet-v3 sword_smith 2023-08-09 2023-08-09 2 <p>Alphanet v3 has been pushed to GitHub and is up and running.</p> <p>Alphanet v3 is a hardfork, so all previous blockchain data must be discarded. This is a hardfork due to an update to the serialization implementation <code>BFieldCodec</code>.</p> <p>Since alphanet coins are worthless and alphanet-v3 is a restart of the blockchain from genesis, you can simply reset you node by running <code>rm -rf ~/.local/share/neptune/</code> assuming default configurations. If you want to be a bit more finegrained in what you delete and you want to keep your receiving address see this guide: https://github.com/Neptune-Crypto/neptune-core/#restarting-node-from-the-genesis-block</p> <p>So, to update, the following commands should do it:</p> <ul> <li>First navigate to the directory, where you have the <code>neptune-core</code> git repo stored. Then:</li> </ul> <pre style="background-color:#ffffff;"><span style="color:#323232;">rm </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">rf </span><span style="font-weight:bold;color:#a71d5d;">~/</span><span style="color:#323232;">.local</span><span style="font-weight:bold;color:#a71d5d;">/</span><span style="color:#323232;">share</span><span style="font-weight:bold;color:#a71d5d;">/</span><span style="color:#323232;">neptune</span><span style="font-weight:bold;color:#a71d5d;">/ </span><span style="color:#323232;">git pull </span><span style="color:#323232;">cargo install </span><span style="font-weight:bold;color:#a71d5d;">--</span><span style="color:#323232;">path . </span><span style="color:#0086b3;">RUST_BACKTRACE</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#0086b3;">1 RUST_LOG</span><span style="font-weight:bold;color:#a71d5d;">='info</span><span style="color:#323232;">,tarpc</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#323232;">warn</span><span style="font-weight:bold;color:#a71d5d;">'</span><span style="color:#323232;"> neptune</span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">core </span><span style="font-weight:bold;color:#a71d5d;">--</span><span style="color:#323232;">mine </span><span style="font-weight:bold;color:#a71d5d;">--</span><span style="color:#323232;">throttled</span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">mining </span><span style="font-weight:bold;color:#a71d5d;">--</span><span style="color:#323232;">peers </span><span style="color:#0086b3;">51.15</span><span style="color:#323232;">.</span><span style="color:#0086b3;">139.238</span><span style="color:#323232;">:</span><span style="color:#0086b3;">9798 </span><span style="font-weight:bold;color:#a71d5d;">--</span><span style="color:#323232;">peers </span><span style="color:#0086b3;">139.162</span><span style="color:#323232;">.</span><span style="color:#0086b3;">193.206</span><span style="color:#323232;">:</span><span style="color:#0086b3;">9798 </span></pre> <p>Please note that you normally do <strong>not</strong> want to delete your <code>wallet.dat</code>, <code>incoming_randomness.dat</code>, and <code>outgoing_randomness.dat</code> files. Basically, you should <strong>normally</strong> never delete anything in your <code>wallet</code> directory.</p> How to use this forum aszepieniec 2023-08-07 2023-08-07 1 <h2>Software</h2> <p>This forum is running an instance of <a href="https://github.com/freedit-org/freedit" rel="noopener noreferrer">freedit</a>, which is a lightweight forum based on rust and Javascript-free. The setup is similar to reddit, with inns (subreddits) and feeds, and upvoting.</p> <h2>Getting Started</h2> <p>To get started, you might want to subscribe to:</p> <ul> <li><a href="https://talk.neptune.cash/inn/1" rel="noopener noreferrer">Neptune</a></li> <li><a href="https://talk.neptune.cash/inn/2" rel="noopener noreferrer">Triton VM</a></li> </ul> <h2>Formatting</h2> <p>Freedit supports both <a href="https://www.markdownguide.org/cheat-sheet/" rel="noopener noreferrer">Markdown</a> and LaTeX, although the second one requires a special syntax to active:</p> <ul> <li>inline math with by writing the familiar dollar signs inside of an inline code snippet using backticks: </li> </ul> <pre style="background-color:#ffffff;"><span style="color:#323232;">`</span><span style="font-weight:bold;color:#a71d5d;">$</span><span style="color:#323232;">\sum_{i</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#0086b3;">0</span><span style="color:#323232;">}</span><span style="font-weight:bold;color:#a71d5d;">^</span><span style="color:#323232;">\infty \frac{</span><span style="color:#0086b3;">1</span><span style="color:#323232;">}{i</span><span style="font-weight:bold;color:#a71d5d;">^</span><span style="color:#0086b3;">2</span><span style="color:#323232;">}</span><span style="font-weight:bold;color:#a71d5d;">$</span><span style="color:#323232;">` </span></pre> <p>gives <math><munderover><mo>∑</mo><mrow><mi>i</mi><mo>=</mo><mn>0</mn></mrow><mi>∞</mi></munderover><mfrac><mn>1</mn><msup><mi>i</mi><mn>2</mn></msup></mfrac></math></p> <ul> <li>to write newline math, embed the LaTeX code into a code snippet with triple-backticks, and mark the language as “math”, e.g.</li> </ul> <pre style="background-color:#ffffff;"><span style="color:#323232;">```math </span></pre>