Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating w3bstreaming contract #510

Merged
merged 10 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions contracts/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions contracts/w3bstreaming/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target/
.binpath
19 changes: 12 additions & 7 deletions contracts/w3bstreaming/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@
name = "w3bstreaming"
version.workspace = true
edition.workspace = true
publish.workspace = true
license.workspace = true

[dependencies]
gstd.workspace = true
w3bstreaming-io.workspace = true
w3bstreaming-app = { path = "app" }

[build-dependencies]
w3bstreaming-io.workspace = true
gear-wasm-builder.workspace = true
w3bstreaming-app = { path = "app" }
sails-rs = { workspace = true, features = ["wasm-builder"] }
sails-idl-gen.workspace = true

[dev-dependencies]
gstd = { workspace = true, features = ["debug"] }
gtest.workspace = true
w3bstreaming = { path = ".", features = ["wasm-binary"] }
w3bstreaming-client = { path = "client" }
sails-rs = { workspace = true, features = ["gtest"] }
tokio = { workspace = true, features = ["rt", "macros"] }

[features]
wasm-binary = []
15 changes: 10 additions & 5 deletions contracts/w3bstreaming/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
[![Open in Gitpod](https://img.shields.io/badge/Open_in-Gitpod-white?logo=gitpod)](https://gitpod.io/#FOLDER=w3bstreaming/https://github.com/gear-foundation/dapps)
[![Docs](https://img.shields.io/github/actions/workflow/status/gear-foundation/dapps/contracts.yml?logo=rust&label=docs)](https://dapps.gear.rs/w3bstreaming_io)
# Sails W3bstreaming

# W3bstreaming
A detailed description of the project can be found on the [wiki](https://wiki.vara.network/docs/examples/Infra/w3bstreaming).

W3bstreaming is an example of a decentrilized streaming application based on the WebRTC protocol.
⚙️ **Note**: The project code is developed using the [Sails](https://github.com/gear-tech/sails) framework.

### 🏗️ Building

```sh
cargo b -r -p "w3bstreaming*"
cargo b -r -p "w3bstreaming"
```

### ✅ Testing

```sh
cargo t -r -p "w3bstreaming"
```
8 changes: 8 additions & 0 deletions contracts/w3bstreaming/app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "w3bstreaming-app"
version.workspace = true
edition.workspace = true
license.workspace = true

[dependencies]
sails-rs.workspace = true
Loading
Loading