Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pryority/mydapps
An All-in-One Ethereum Desktop DApp | 😅 WIP, not very functional yet | Hoping to inspire others
https://github.com/pryority/mydapps
dapp ethereum rust slint slint-ui
Last synced: 17 days ago
JSON representation
An All-in-One Ethereum Desktop DApp | 😅 WIP, not very functional yet | Hoping to inspire others
- Host: GitHub
- URL: https://github.com/pryority/mydapps
- Owner: Pryority
- License: mit
- Created: 2024-01-11T04:00:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-25T21:59:59.000Z (6 months ago)
- Last Synced: 2024-11-10T14:46:31.336Z (3 months ago)
- Topics: dapp, ethereum, rust, slint, slint-ui
- Language: Slint
- Homepage:
- Size: 28.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MyDapps
I am experimenting, learning [Slint](https://github.com/slint-ui/slint/blob/master/tools/lsp/README.md) & Rust, so I wanted to attempt to make an Ethereum-based desktop application (that works in embedded devices...?). Ideally it could interact with Ethereum using a Rust-based light client like [Helios](https://github.com/a16z/helios)
## Usage
1. Install Rust by following the [Rust Getting Started Guide](https://www.rust-lang.org/learn/get-started).
Once this is done, you should have the ```rustc``` compiler and the ```cargo``` build system installed in your path.
2. Run the application```rust
cargo run
```## About Slint Rust Template
This template helps you get started developing a Rust application with [Slint](https://github.com/slint-ui/slint/blob/master/tools/lsp/README.md) as toolkit
for the user interface. It demonstrates the integration between the `.slint` UI markup and
Rust code, how to trigger react to callbacks, get and set properties and use basic widgets.## Make a Slint Rust Template
1. Install Rust by following the [Rust Getting Started Guide](https://www.rust-lang.org/learn/get-started).
Once this is done, you should have the ```rustc``` compiler and the ```cargo``` build system installed in your path.
2. Install [`cargo-generate`](https://github.com/cargo-generate/cargo-generate)```rust
cargo install cargo-generate
```3. Set up a sample project with this template
```rust
cargo generate --git https://github.com/slint-ui/slint-rust-template --name my-project
cd my-project
```4. Build with cargo
```rust
cargo build
```5. Run the application binary
```rust
cargo run
```We recommend using an IDE for development, along with our [LSP-based IDE integration for `.slint` files](https://github.com/slint-ui/slint/blob/master/tools/lsp/README.md). You can also load this project directly in [Visual Studio Code](https://code.visualstudio.com) and install our [Slint extension](https://marketplace.visualstudio.com/items?itemName=Slint.slint).
## Next Steps
We hope that this template helps you get started and you enjoy exploring making user interfaces with Slint. To learn more
about the Slint APIs and the `.slint` markup language check out our [online documentation](https://slint.dev/docs).Don't forget to edit this README to replace it by yours