Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ solana config set --url https://api.devnet.solana.com && \
solana airdrop 1 && \
git clone https://github.com/FairCrypto/sol-xen.git && \
cd sol-xen && \
git checkout delta && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash && \
source ~/.bashrc && \
nvm install --lts && \
Expand All @@ -72,14 +73,15 @@ npm install dotenv && \
npm install -g dotenv && \
read -p "Enter your Ethereum address: " ethereum_address && \
read -p "Enter the number of runs: " num_runs && \
read -p "Enter the fee: " fee && \
node ./client/miner.js mine --address "$ethereum_address" -fee "$fee" -r "$num_runs"
read -p "Enter the fee: " f && \
node ./client/miner.js mine --address "$ethereum_address" -f "$f" -r "$num_runs"
```
N.B. if there's "Error: airdrop request failed" it means that the faucet is empty.
It's necessary to copy the public key and use another faucet (eg. https://faucet.solana.com) and then continue with the installation.
```
git clone https://github.com/FairCrypto/sol-xen.git && \
cd sol-xen && \
git checkout delta && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash && \
source ~/.bashrc && \
nvm install --lts && \
Expand All @@ -90,8 +92,8 @@ npm install dotenv && \
npm install -g dotenv && \
read -p "Enter your Ethereum address: " ethereum_address && \
read -p "Enter the number of runs: " num_runs && \
read -p "Enter the fee: " fee && \
node ./client/miner.js mine --address "$ethereum_address" -fee "$fee" -r "$num_runs"
read -p "Enter the fee: " f && \
node ./client/miner.js mine --address "$ethereum_address" -f "$f" -r "$num_runs"
```
Full options list

Expand Down