Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
/ nano-pow Public archive

Lightweight Proof of Work Server for Nano Currency.

Notifications You must be signed in to change notification settings

fwd/nano-pow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line

Nano PoW Server

line

RPC server for Nano PoW Worker. MIT License. In alpha-0.5 stage. Which means it does not work at all, yet. Give it a star, and come back in a week or two. Early docs below.

line

❯ Install

curl -L "https://fwd.github.io/nano-pow/install.sh" | sh

❯ Usage

curl -g -d '{ "hash": "E4094A9..." }' '[::1]:7080'
axios.post('http://localhost:7080', { 
    hash: 'HASH'
}).then((res) => {
    // console.log(res.data)
})

Response (JSON):

{
    "difficulty": "fffffffd316c7962",
    "multiplier": "2.8500801896655417",
    "work": "14b651936a358ddc"
}

❯ Optional: Sell PoW to Nano.to

Email: support[at]nano.to for more information.

line

Contributing

Give a ⭐️ if this project helped you!

Contributions, issues and feature requests are welcome at issues page.

License

MIT License

Copyright @nano2dev.

❯ Stargazers

Stargazers over time

About

Lightweight Proof of Work Server for Nano Currency.

Topics

Resources

Stars

Watchers

Forks