GithubHelp home page GithubHelp logo

ore-cli-windows's Introduction

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.

ore-cli-windows's People

Contributors

bankkroll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.