Skip to content

Sayplaydiv/oasis_api_server

 
 

Repository files navigation

Oasis API Server

这里这里这里这里:

user_config_nodes.ini配置 修改sock目录

user_config_sentry.ini配置 修改tls_path目录(在链同步数据的文件中)

节点启动指令需要添加grpc启动服务:./oasis-node --config /data/node/etc/config.yml --datadir /data/node/data/ --worker.sentry.grpc.enabled --worker.sentry.enabled

version Go Report Card LoC

design

The Oasis API Server is a wrap-around of the Oasis Protocol Golang API. This makes it easier to use the protocol's API with any programming language in order to query data from the Oasis nodes. This server is also able to query data from the Oasis nodes' exposed Prometheus endpoint.

The API Server was specifically built as a way for PANIC to be able to retrieve data from the Oasis nodes that it will be monitoring. Apart from retrieving data from the protocol's API, this server can retrieve data from the exposed Prometheus endpoint.

If you would like any endpoint specified in the Oasis docs to be implemented, kindly open an issue and we will consider adding it in a future release. You might also want to have a look at our contribution guidelines, especially if you want to try adding it yourself.

Design and Features

If you want to dive into the design and feature set of the API Server click here.

Ready, Set, Query!

If you are ready to try out the API Server on your Oasis nodes, setup and run the API Server using this guide.

About

API Server to access the Oasis Blockchain.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.0%
  • Python 4.9%
  • Other 0.1%