monomadic / yew-ethereum

Template for creating frontends with yew and metamask-compatible ethereum clients.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yew-Ethereum Template

This is a yew frontend template useful both for demonstrating and bootstrapping a project utilising 100% rust, talking to web3 via compatible EIP1993 clients such as metamask.

Installation

Cargo

rustup default nightly

# First, install cargo dependencies (if you don't have them).
cargo install trunk
cargo install cargo-generate

# Then generate a new project with this template.
cargo generate monomadic/yew-ethereum-template

# Then start the trunk server.
trunk serve

Nix

nix develop
trunk serve

Recreating This Template

If you don't want to use cargo generate, here are the basic steps to reproduce this project.

Resources

About

Template for creating frontends with yew and metamask-compatible ethereum clients.


Languages

Language:Nix 75.1%Language:Rust 20.7%Language:HTML 4.2%