Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piotr-roslaniec/ethwarsaw-2022
https://github.com/piotr-roslaniec/ethwarsaw-2022
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/piotr-roslaniec/ethwarsaw-2022
- Owner: piotr-roslaniec
- License: gpl-3.0
- Archived: true
- Created: 2022-09-02T17:55:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-04T01:29:55.000Z (almost 2 years ago)
- Last Synced: 2024-01-22T23:30:07.451Z (5 months ago)
- Language: TypeScript
- Homepage: https://aleph-zero-snap.netlify.app//?rpc=wss%3A%2F%2Fws.test.azero.dev
- Size: 16.3 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-metamask-snaps - piotr-roslaniec/ethwarsaw-2022 - [Demo](https://aleph-zero-snap.netlify.app), [Article](https://metamask.io/news/developers/aleph-zero-snap-onboarding-web-3-users-to-aleph-zero-network/) (Snaps)
README
# ethwarsaw-2022
## Aleph Zero Snap
![Project Logo](aleph-zero-snap.png)
This repository contains a submission for EthWarsaw 2022 hackathon.
It contains an implementation of a wallet compatible with Aleph Zero protocol. The wallet is implemented using the polkadot.js library and MetaMask snaps plugin system.
Very short [presentation](https://docs.google.com/presentation/d/1pPtF-f4BSGIugyuOD2kFHIo5jazfBHT_QiJupiPOEd4/edit?usp=drive_web&ouid=113877850519058332016).
## Project Structure
The project is structured as follows:
- `azero-snap` - Contains implementation of the wallet "backend"
- `azero-snap/packages/snap` - The actual snap implementation
- `azero-snap/packages/snap-adapter` - User-facing API for the snap
- `polkadot-apps` - Contains implementation of the wallet "frontend". This yarn workspace is the fork of the [`azero.dev` wallet](https://github.com/Cardinal-Cryptography/apps)## Usage
To install, run:
```bash
yarn install
```To run the snap, run:
```bash
yarn build
```To run wallet locally (in development mode), run:
```bash
yarn start
```## Installing MetaMask Flask
In order to use snaps, we need to install [MetaMask Flask](https://metamask.io/flask/) extension:
- Checkout [MetaMask extension](https://github.com/MetaMask/metamask-extension) that support MetaMask Flask: We're currently using tag `v10.14.0-flask.0`
- Copy the .metamaskrc.dist file to .metamaskrc
- Replace the INFURA_PROJECT_ID value with your own personal Infura Project ID.
- Build the extension locally: `yarn setup && yarn dist --build-type flask`
- Load the unpacked extension (see "custom build" instructions)
from [here](https://github.com/MetaMask/metamask-extension/tree/eth-denver-2022#other-docs)