-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64eccc5
commit 44d821b
Showing
3 changed files
with
23 additions
and
9 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 |
---|---|---|
@@ -1,9 +1,20 @@ | ||
## The **ping-pong** program | ||
|
||
The program workspace includes the following packages: | ||
- `ping-pong` is the package allowing to build WASM binary for the program and IDL file for it. | ||
The package also includes integration tests for the program in the `tests` sub-folder | ||
- `ping-pong-app` is the package containing business logic for the program represented by the `PingPongService` structure. | ||
- `ping-pong-client` is the package containing the client for the program allowing to interact with it from another program, tests, or | ||
off-chain client. | ||
A detailed description of the project can be found on the [wiki](https://wiki.vara.network/docs/examples/Ping). | ||
|
||
⚙️ **Note**: The project code is developed using the [Sails](https://github.com/gear-tech/sails) framework. | ||
|
||
|
||
### 🏗️ Building | ||
|
||
```sh | ||
cargo b -r -p "ping-pong" | ||
``` | ||
|
||
### ✅ Testing | ||
|
||
Run all tests, except `gclient` ones: | ||
```sh | ||
cargo t -r -p "ping-pong" | ||
``` | ||
|