Skip to content

stabilityprotocol/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.

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 wiki.

About

Stability Snap: Polkadot with Metamask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.8%
  • HTML 1.8%
  • Shell 1.8%
  • JavaScript 1.3%
  • Dockerfile 1.3%
  • CSS 1.0%