0.0.3 • Published 4 months ago

@apostroxyz/metamask-snap v0.0.3

Weekly downloads
-
License
(MIT-0 OR Apache-...
Repository
github
Last release
4 months ago

Apostro offers a straightforward way to check the credit ratings of lending protocols, helping you make informed investment decisions. It's a practical tool for anyone looking to understand and manage portfolio risks with ease. Whether you're a beginner or an experienced investor, Apostro guides you in identifying potential risks, ensuring smarter and safer investments.

This repository contains Apostro Snap code and a frontend that connects to Snap.

MetaMask Snaps is a system that allows anyone to safely expand the capabilities of MetaMask. A snap is a program that we run in an isolated environment that can customize the wallet experience. For more details, see the MetaMask documentation.

Development

Prerequisites

  • ⚠️ Snaps is pre-release software. To interact with Snaps, you will need to install MetaMask Flask.
  • Node.js 18.16.* or later
  • Yarn version 3

Set up the development environment:

yarn install && yarn start

Snap server: http://localhost:8080/

UI: http://localhost:8000/

Connection to @apostroxyz/metamask-snap

If you want to connect the frontend to the npm package @apostroxyz/metamask-snap, you should uncomment SNAP_ORIGIN variable in the ./packages/site/.env.development file

Linting

Run yarn lint to run the linter, or run yarn lint:fix to run the linter and fix any automatically fixable issues.

Notes

  • Scripts are disabled by default for security reasons. If you need to use NPM packages with scripts, you can run yarn allow-scripts auto, and enable the script in the lavamoat.allowScripts section of package.json. See the documentation for @lavamoat/allow-scripts for more information.
0.0.3

4 months ago

0.0.2

5 months ago

0.0.1

5 months ago

0.0.1-alpha.1

5 months ago

0.0.1-alpha.0

5 months ago