Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

BankkRoll/ore-cli-windows

Repository files navigation

Ore CLI Guide for Windows Users

A command line interface for the Ore program, guided for windows.

This guide had been made to get from from start to mining in a user friendly way all directly in vscode!

Looking for the old guide? Check it out the old guide here -> OLDREADME.md

Table of Contents

Prerequisites

To run this project, you must have the following installed:

Setup and Installation

1. Install Rust:

  • For native Windows development, install Rust via rustup by visiting the official Rust installation page.
  • For a Linux-like development environment on Windows, use Windows Subsystem for Linux (WSL) and then install Rust within it.

2. Build the Ore CLI:

Open VS Code, navigate to the project directory, ex.ore-cli-windows and execute:

cargo build --release

This will build the project into a target folder we will work with.

3. Create keypair file(s):

Caution

DO NOT SHOW OR COMMIT THESE ANYWHERE!!!! KEEP THEM LOCAL

You will need atleast 1 keypair or multiple if scripting with powershell.

Check out the windows-cli attached for help generating or converting!

Using the Ore CLI

Run the following command in Command Prompt, VS Terminal or PowerShell to start mining:

./target/release/ore --keypair <KEYPAIR-FILEPATH> mine

Suggested to pass custom rpc and priority-fee to get better success rate:

./target/release/ore --keypair <KEYPAIR-FILEPATH> --priority-fee <MICROLAMPORTS> --rpc <NETWORK-URL> mine

Live tracker i use to adjust priority-fee -> QuikNode Solana Priority Fee Tracker

Congrats! you should be all set up mining now!

Scripting with PowerShell

Looking to get setup scripting and running multiple instances? Its all been moved to -> windows-cli

Conclusion

This is all possible thanks to the ore-cli -> HardhatChad/ore-cli

If you've found this guide helpful, please consider starring it to show your support!

Feeling generous? Feel free to buy me a Redbull by sending some SOL/ORE to EEXrrWy7JwwjF74FZ9rJGL7sYbsm6QdiyhH4ipwhxpYa all donations all greatly appreciated

Terms and Conditions:

Use of this guide with the Ore CLI is entirely at your own risk. The author of this guide are not liable for any damage to your computer system or loss of data that results from the download of any materials, data, text, images, video, or audio from this guide. Additionally, no responsibility is assumed for any computer issues or financial losses that may result from using the Ore CLI, including but not limited to running multiple instances or downloading dependencies from unverified sources. Always ensure that your downloads are from legitimate and official sources.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published