-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dk-mvt-localnet-docs
- Loading branch information
Showing
13 changed files
with
523 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
sidebar_position: 1 | ||
title: Poktroll | ||
id: home-doc | ||
slug: / | ||
--- | ||
|
||
<div align="center"> | ||
<a href="https://www.pokt.network"> | ||
<img src="https://user-images.githubusercontent.com/2219004/151564884-212c0e40-3bfa-412e-a341-edb54b5f1498.jpeg" alt="Pocket Network logo" width="340"/> | ||
</a> | ||
</div> | ||
|
||
<div> | ||
<a href="https://discord.gg/pokt"><img src="https://img.shields.io/discord/553741558869131266"/></a> | ||
<a href="https://github.com/pokt-network/poktroll/releases"><img src="https://img.shields.io/github/release-pre/pokt-network/pocket.svg"/></a> | ||
<a href="https://github.com/pokt-network/poktroll/pulse"><img src="https://img.shields.io/github/contributors/pokt-network/pocket.svg"/></a> | ||
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg"/></a> | ||
<a href="https://github.com/pokt-network/poktroll/pulse"><img src="https://img.shields.io/github/last-commit/pokt-network/pocket.svg"/></a> | ||
<a href="https://github.com/pokt-network/poktroll/pulls"><img src="https://img.shields.io/github/issues-pr/pokt-network/pocket.svg"/></a> | ||
<a href="https://github.com/pokt-network/poktroll/releases"><img src="https://img.shields.io/badge/platform-linux%20%7C%20macos-pink.svg"/></a> | ||
<a href="https://github.com/pokt-network/poktroll/issues"><img src="https://img.shields.io/github/issues/pokt-network/pocket.svg"/></a> | ||
<a href="https://github.com/pokt-network/poktroll/issues"><img src="https://img.shields.io/github/issues-closed/pokt-network/pocket.svg"/></a> | ||
<a href="https://godoc.org/github.com/pokt-network/pocket"><img src="https://img.shields.io/badge/godoc-reference-blue.svg"/></a> | ||
<a href="https://goreportcard.com/report/github.com/pokt-network/pocket"><img src="https://goreportcard.com/badge/github.com/pokt-network/pocket"/></a> | ||
<a href="https://golang.org"><img src="https://img.shields.io/badge/golang-v1.20-green.svg"/></a> | ||
<a href="https://github.com/tools/godep" ><img src="https://img.shields.io/badge/godep-dependency-71a3d9.svg"/></a> | ||
</div> | ||
|
||
# poktroll <!-- omit in toc --> | ||
|
||
**poktroll** is built using the [Cosmos SDK](https://docs.cosmos.network) and | ||
[CometBFT](https://cometbft.com/), created with [Ignite CLI](https://ignite.com/cli) | ||
for the Shannon upgrade of the [Pocket Network](https://pokt.network) blockchain. | ||
|
||
- [Learn about Pocket Network](#learn-about-pocket-network) | ||
- [Developer Documentation](#developer-documentation) | ||
- [Roadmap](#roadmap) | ||
- [Quickstart](#quickstart) | ||
- [Godoc](#godoc) | ||
- [Have questions? Ask An PNYC](#have-questions-ask-an-pnyc) | ||
- [License](#license) | ||
|
||
## Learn about Pocket Network | ||
|
||
User friendly documentation of the Shannon upgrade is still a WIP, but there are | ||
a handful of (potentially outdated) resources you can reference in the meantime | ||
to build a better understanding of Pocket Network: | ||
|
||
- [Pocket Network official documentation](https://docs.pokt.network) | ||
- [[Live] Pocket Network Morse; aka v0](https://github.com/pokt-network/pocket-core) | ||
- [[Outdated] Pocket Network Protocol](https://github.com/pokt-network/pocket-network-protocol) | ||
- [[Deprecated]Pocket Network V1](https://github.com/pokt-network/pocket) | ||
|
||
## Developer Documentation | ||
|
||
The developer documentation is available at [dev.poktroll.com](https://dev.poktroll.com). | ||
|
||
## Roadmap | ||
|
||
You can view the Shannon Roadmap on [Github](https://github.com/orgs/pokt-network/projects/144?query=is%3Aopen+sort%3Aupdated-desc) | ||
|
||
## Quickstart | ||
|
||
The best way to get involved is by following the [quickstart instructions](<[./develop/developer_guide/quickstart.md](https://dev.poktroll.com/develop/developer_guide/quickstart)>). | ||
|
||
## Godoc | ||
|
||
The Godoc for the source code in this can be found at [pkg.go.dev/github.com/pokt-network/poktroll](https://pkg.go.dev/github.com/pokt-network/poktroll). | ||
|
||
## Have questions? Ask An PNYC | ||
|
||
You can use [PNYX](https://pnyxai.com/), an AI-powered search engine that has been | ||
trained and indexed on the Pocket Network documentation, community calls, forums | ||
and much more! | ||
|
||
--- | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License; see the [LICENSE](https://github.com/pokt-network/poktroll/blob/main/LICENSE) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Feature: Stake Supplier Namespace | ||
|
||
Scenario: User can stake a Supplier | ||
Given the user has the pocketd binary installed | ||
And the "supplier" for account "supplier2" is not staked | ||
# Stake with 1 uPOKT more than the current stake used in genesis to make | ||
# the transaction succeed. | ||
And the account "supplier2" has a balance greater than "1000070" uPOKT | ||
When the user stakes a "supplier" with "1000070" uPOKT for "anvil" service from the account "supplier2" | ||
Then the user should be able to see standard output containing "txhash:" | ||
And the user should be able to see standard output containing "code: 0" | ||
And the pocketd binary should exit without error | ||
# TODO_TECHDEBT(@Olshansk, @red-0ne): Replace these time-based waits with event listening waits | ||
And the user should wait for "5" seconds | ||
And the "supplier" for account "supplier2" is staked with "1000070" uPOKT | ||
And the account balance of "supplier2" should be "1000070" uPOKT "less" than before | ||
|
||
Scenario: User can unstake a Supplier | ||
Given the user has the pocketd binary installed | ||
And the "supplier" for account "supplier2" is staked with "1000070" uPOKT | ||
And an account exists for "supplier2" | ||
When the user unstakes a "supplier" from the account "supplier2" | ||
Then the user should be able to see standard output containing "txhash:" | ||
And the user should be able to see standard output containing "code: 0" | ||
And the pocketd binary should exit without error | ||
And the user should wait for "5" seconds | ||
And the "supplier" for account "supplier2" is not staked | ||
And the account balance of "supplier2" should be "1000070" uPOKT "more" than before |
Oops, something went wrong.