Skip to content

pippinmole/GetChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stargazers Issues MIT License LinkedIn


Logo

GetChain

Monitor your Helium miners' uptime and get notified when they go down!
Explore the docs »

View Demo · Report Bug · Request Feature

About The Project

Logo

This website aggregates blockchain data from these blockchains:

  1. Binance Smart Chain
  2. Ethereum Chain
  3. Goerli
  4. Kovan
  5. Rinkeby
  6. Ropsten

into a single API endpoint and API key, mitigating the need to generate multiple API keys from different providers.

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repository
    https://github.com/pippinmole/GetChain.git
  2. Restore packages
    dotnet restore
    1. Set up user secrets
     dotnet user-secrets init
     dotnet user-secrets set "ApiKeys:BscScanKey" ""
     dotnet user-secrets set "ApiKeys:EtherScanKey" ""
     dotnet user-secrets set "ApiKeys:GoerliKey" ""
     dotnet user-secrets set "ApiKeys:KovanKey" ""
     dotnet user-secrets set "ApiKeys:RinkebyKey" ""
     dotnet user-secrets set "ApiKeys:RopstenKey" ""
     dotnet user-secrets set "ConnectionStrings:DatabaseConnectionString" "<Get this from your MongoDB dashboard>"
     dotnet user-secrets set "Jwt:Issuer" ""
     dotnet user-secrets set "Jwt:Secret" ""
     dotnet user-secrets set "MailSenderOptions:AddressFrom" "<The domain emails will come from>"
     dotnet user-secrets set "MailSenderOptions:Password" "<Get this from your MailGun dashboard>"
     dotnet user-secrets set "MailSenderOptions:Port" "<Get this from your MailGun dashboard>"
     dotnet user-secrets set "MailSenderOptions:SmtpHostAddress" "<Get this from your MailGun dashboard>"
     dotnet user-secrets set "Serilog:Datadog:ApiKey" "<Get this from your DataDog dashboard>"
  3. Build the solution
    dotnet build
  4. Finally, run
    dotnet run

(back to top)

Usage

Once you have executed dotnet run , a website at https://localhost:7086/ will be available. This site allows you to:

  1. Create an account and sign in
  2. Generate multiple API keys
  3. Perform HTTP requests to the API using the API key as authentication

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

E-mail: jonathan.ruffles03@gmail.com

Project Link: https://github.com/pippinmole/GetChain

(back to top)