Skip to content

PolkaGate/snap

Repository files navigation

PolkaGate Snap

web3 foundation_grants_badge_black

license ci

A MetaMask snap for seamless interaction with the Polkadot ecosystem, a prominent platform for cross-chain communication and scalability. Now you can use your MetaMask wallet to access Polkadot dApps and tokens effortlessly.

Untitled

To integrate this snap into your dApp, you can easily upgrade your existing @polkadot/extension-dapp by replacing it with @polkagate/extension-dapp. It's important to note that once our changes are merged into the official extension-dapp, this manual update will no longer be necessary.

⏬ Polkagate snap is now available on MetaMask Snap Directory for download: https://snaps.metamask.io/snap/npm/polkagate/snap/

Image

Running the Repository

The repository contains a dApp located in the ./packages/dapp directory and the snap code, which can be found in ./packages/snap. To try out the snap, follow these steps in your terminal:

git clone https://github.com/PolkaGate/snap.git
cd snap
yarn install
yarn run start

After executing these commands, you can access a basic decentralized application (dApp) page for testing the snap at http://localhost:8000/. For more advanced dApp visit apps.polkagate.xyz. Note, MetaMask Flask (MetaMask) needs to be installed to interact with the snap and dApp.

Test

To execute the unit tests for the snap, use the following command(s):

yarn install
yarn build
yarn test

Docker

To build and run docker container(s) run:

yarn install
yarn compose

Afterward, you can access user interfaces as follows:

Image

Note: This MetaMask snap operates autonomously and does not rely on other extensions within the Polkadot ecosystem for its functionality.

Polkagate Snap Security Audit Report

https://sayfer.io/audits/metamask-snap-audit-report-for-polkagate-snap/


For more detailed help, please refer to the docs.polkagate.xyz.

About

Polkagate Snap: Polkadot with Metamask

Topics

Resources

License

Apache-2.0, MIT-0 licenses found

Licenses found

Apache-2.0
LICENSE.APACHE2
MIT-0
LICENSE.MIT0

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages