Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 800 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 800 Bytes

truebit mint and retire calculator

Overview

A simple calculator for truebit os (truebit.io) token minting and retiring operations. This is inspired by lpmythbuster's implementation.

Getting Started

Prerequisites

  • Go installed on your system
  • .env file configured

Running the Application

  1. Configure the environment variables in .env file

  2. Start the server:

    go run cmd/server/main.go

  3. Wait for the "Server starting on localhost:XXXX" message

Using the Calculator

You can access the calculator in two ways:

  1. Via cURL:

    curl -H "Accept: application/json" http://localhost:XXXX/truebit | jq

  2. Via Web Browser:

    Simply navigate to http://localhost:XXXX/truebit in your preferred browser