Giter VIP home page Giter VIP logo

fortuna-explorer's Introduction

fortuna-explorer

Fortuna Explorer is an explorer website for the PoW smart contract based token $TUNA on Cardano.

Configuration

Oura (1.8.3)

[source]
type = "N2C"
address = ["Unix", "/home/relay/cardano-my-node/db/socket"]
magic = "mainnet"
min_depth = 6

[source.intersect]
type = "Point"
value = [101511155, "b019548e41b55ae702fee37d8b9ae716c978712c02bc4862ba13db6602e5af72"]

[source.mapper]
include_transaction_details = true

[cursor]
type = "File"
path = "/home/relay/oura/cursor"

[[filters]]
type = "Selection"

[filters.check]
predicate = "policy_equals"
argument = "279f842c33eed9054b9e3c70cd6a3b32298259c24b78b895cb41d91a"

[sink]
type = "Webhook"
url = "http://127.0.0.1:5001/api/blocks"
timeout = 30000
error_policy = "Exit"

[sink.retry_policy]
max_retries = 5
backoff_unit =  5000
backoff_factor = 2
max_backoff = 100000

Oura Sinks Database

cd oura-sinks
python3.9 ../backend/init_database.py

Nginx (1.24.0)

server {
    listen       8080;
    server_name  localhost;

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }

    location /api {
        proxy_pass http://127.0.0.1:5000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

    location / {
        proxy_pass http://127.0.0.1:3000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}

Run

Oura Sinks

cd oura-sinks
venv/bin/flask run --port 5001 --debug

Backend

cd backend
venv/bin/flask run --port 5000 --debug

Frontend

cd frontend
npm run start

fortuna-explorer's People

Contributors

qcpolstakepool avatar

Stargazers

ash avatar Rinor Hoxha avatar

Watchers

 avatar

fortuna-explorer's Issues

Tokens stats

  1. Circulating supply
  2. Max supply
  3. Minting rate
  4. Price

Epoch Stats

  1. First block
  2. Last block
  3. Leading zeroes
  4. Difficulty
  5. Average block time
  6. Total epoch time
  7. Issued tokens
  8. Blocks

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.