Skip to content

Spacemesh Init App v2 simplifies the setup, generation, and management of Proof of Space data.

Notifications You must be signed in to change notification settings

spacemeshos/sm-init-app-v2

Repository files navigation

Spacemesh Init App

Overview

Spacemesh Init App v2 is a user-friendly application designed to streamline the process of setting up, generating, and managing Proof of Space data. At its core, it integrates the postcli binary, developed in Go by the Spacemesh team, to handle all essential commands and flags seamlessly.

Table of Contents

Installation

Prerequisites

  • Node.js (version 16.x or later)
  • Rust (version 1.56.0 or later)
  • Yarn (version 1.22.10 or later)

Required Binaries

This application requires specific binary files to function properly. These files are not included in the repository and need to be downloaded separately:

  1. Download the required binaries from the official Spacemesh releases:

    • profiler binaries from spacemeshos/post-rs:
      • macOS: profiler
      • linux: profiler
      • Windows: profiler.exe
    • postcli binaries from spacemeshos/post:
      • macOS: libpost.dylib, postcli
      • linux: libpost.so, postcli
      • Windows: post.dll, postcli.exe
  2. Place the downloaded files in their respective directories:

    src-tauri/bin/profiler/
    src-tauri/bin/postcli/
    

Platform-Specific Notes

Windows

  • Download Windows-specific binaries (*.exe)
  • Required Visual C++ Redistributable packages must be installed

macOS and Linux

  • Download platform-specific binaries (double check the architecture)
  • Ensure binary files have execute permissions (chmod +x ./src-tauri/bin/**/*)

Installation Steps

  1. Clone the repository:
git clone https://github.com/spacemeshos/sm-init-app-v2.git
cd sm-init-app-v2
  1. Install dependencies:
yarn install

Usage

Development Mode

yarn dev

Production Build

yarn bundle

Running Tests

yarn test

Important Notes

  1. Hardware Requirements:

    • GPU with sufficient memory for PoS data generation
    • Stable power supply
    • Adequate storage space based on configuration
  2. Generation Process:

    • Generation time varies based on hardware (days to weeks)
    • System should remain powered and stable throughout
    • GPU will operate at full capacity during generation
  3. Post-Generation:

    • Generated PoS data is required for node setup
    • Data must be accessible to your node
    • Backup recommendations provided in documentation

Contributing

See CONTRIBUTING.md for contribution guidelines.

Documentation

Contact

For more information: