<aside> 💡 To help with test net please join the signal group via this link: https://signal.group/#CjQKICa9F2r95FQoGhYjc02lwNgKZCOfDEZngfoWgr_ZkHc4EhAOywghKv4DebEkPsicSCFb

</aside>

Install Instructions

If on Linux or mac:

  1. follow instructions 1 -10 from link below: https://docs.substrate.io/install/linux/

If on Windows

  1. follow these steps: https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10 Make sure wsl2 is running

    wsl -l -v
    
  2. run the next commands inside the VM

    sudo apt-get update
    sudo apt install --assume-yes git clang curl libssl-dev llvm libudev-dev make protobuf-compiler
    sudo apt install build-essential
    curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh
    source $HOME/.cargo/env
    rustc --version
    rustup default stable
    rustup update
    rustup update nightly
    rustup target add wasm32-unknown-unknown --toolchain nightly
    rustup showrustup +nightly show
    

Next steps for Linux & Windows

```bash
git clone <https://github.com/GlobalBoost/impactprotocol>
```
```bash
cd impactprotocol
```
```bash
cargo build --release
```

<aside>
⚠️ **This will take some time to build.**

</aside>
  1. When it's built then generate your mining key

    ./target/release/impact generate-mining-key --chain=impact-testnet
    
  2. then import your key. Change the secret seed with the one you generated. Secret key in bold below

    ./target/release/impact import-mining-key "**hawk avocado world check unusual unusual order velvet omit omit blush abuse**" \\--base-path /tmp/impactnode \\--chain=impact-testnet
    
  3. Then put your public key you generated before in the command below as author

    ./target/release/impact \\
    --base-path /tmp/impactnode \\
    --chain=impact-testnet \\
    --port 30333 \\
    --ws-port 9945 \\
    --rpc-port 9933 \\
    --telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \\
    --validator \\
    --author ***public key here*** \\
    --rpc-methods Unsafe \\
    --name ImpactNode \\
    --password-interactive
    
  4. Now you should begin to mine. You are running an Impact Protocol test net node!

  5. Now you need to install an extension: https://polkadot.js.org/extension on Google Chrome or Firefox. Import account with pre-existing seed. Enter your public key and set a password.

Issues

If your node is having errors after a restart stop the node and run the next commands. Then restart the node again.

./target/release/impact purge-chain --chain=impact-testnet --base-path /tmp/impactnode
sudo hwclock -s