Fix session validator report service tests.
SubVT (Substrate Validator Toolkit) data access library for Swift.
Please visit the top-level Subvt repository for project information.
Sources/SubVTData/Resources/data-env-example.json
data-env.json
swift test
swift build
let package = Package( // ... dependencies: [ // ... .package( url: "https://github.com/helikon-labs/subvt-data-swift.git", .upToNextMinor(from: "0.3.1") ) ], targets: [ .target( name = "YourTarget", dependencies: [ // ... .product(name: "SubVTData", package: "subvt-data-swift"), // ... ], // ... ) ] )
Please refer to the tests for information about how to use the report and application REST services, and network status, active/inactive validator list and validator details RPC pub/sub services.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
SubVT Data Access for Swift
SubVT (Substrate Validator Toolkit) data access library for Swift.
Please visit the top-level Subvt repository for project information.
Build & Test
Sources/SubVTData/Resources/data-env-example.jsontodata-env.json, and edit the file contents with the service host and port details.swift testin the root folder to test.swift buildin the root folder to build.Installation
Swift Package Manager
Usage
Please refer to the tests for information about how to use the report and application REST services, and network status, active/inactive validator list and validator details RPC pub/sub services.