Skip to content

esplo/crypto-api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paid API by mining Cryptocurrency

This repository contains three programs to illustrate a paid API architecture based on Coinhive.

visit demo

[demo]

  • backend sample -> api-sample
    • This is just an ordinary API... No need to consider mining or payment.
    • go, GAE
  • gateway sample -> gateway
    • A hard worker, which communicates with Coinhive, processes a payment, and calls the backend API.
    • go, GAE
  • client sample -> client-sample
    • This program calls an endpoint on the gateway, and displays what is happening.
    • js, static site (i.e. Firebase Hosting, Github Pages, S3, and so on)

About

Paid API based on Coinhive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published