Website • App • Docs • Twitter
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.
⚠️ 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/
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
Run yarn lint
to run the linter, or run yarn lint:fix
to run the linter and
fix any automatically fixable issues.
- 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 thelavamoat.allowScripts
section ofpackage.json
. See the documentation for @lavamoat/allow-scripts for more information.