• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Fantom-foundation/fantom-api-graphql: Fast and secure GraphQL API for aggregated ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Fantom-foundation/fantom-api-graphql

开源软件地址(OpenSource Url):

https://github.com/Fantom-foundation/fantom-api-graphql

开源编程语言(OpenSource Language):

Go 99.3%

开源软件介绍(OpenSource Introduction):

Fantom GraphQL API Server

Go Report Card

GraphQL API server for Fantom powered blockchain network.

Releases

Please check the release tags to get more details and to download previous releases.

Version 0.2.0, pending

This version connects with the Lachesis v.0.7.0-rc1. The SFC contract ABI bundled with the API is version 2.0.2-rc1.

The release brings new fluid delegations and rewards system. Each address is be able to delegate to multiple stakers. Delegation can be locked to certain time, at least 14 days and up to 1 year, to get higher rewards. Please check our website Fantom.Foundation and the Special Fee Contract repository for more details.

Version 0.1.0, released on 8/2020

This is the version you want to be able to connect with Lachesis v.0.6.0-rc2. The SFC contract ABI bundled with this API release is the version 1.1.0-rc1. The release uses Lachesis API v0.6.0 which recognizes single delegation per address and no delegation locking.

Building the source

Building apiserver requires a Go (version 1.13 or later). You can install it using your favourite package manager. Once the dependencies are installed, run

make

The build output is build/apiserver executable.

You don't need to clone the project into $GOPATH, due to use of Go Modules you can use any location.

Running the API server

To run the API Server you need access to a RPC interface of a full Lachesis node. Please follow Lachesis instructions to build and run the node. Alternatively you can obtain access to a remotely running instance of Lachesis.

We recommend using local IPC channel for communication between a Lachesis node and the API Server for performance and security reasons. Please consider security implications of opening Lachesis RPC to outside access, especially if you enable "personal" commands on your node while keeping your account keys in the Lachesis key store.

Persistent data are stored in a MongoDB database. Going through the installation and configuration process of MongoDB is out of scope here, please consult MongoDB manual to install and configure appropriate MongoDB environment for your deployment of the API server.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap