@biconomy/smart-account-keyring-site
v0.2.3
Published
This project was bootstrapped with [Gatsby](https://www.gatsbyjs.com/).
Downloads
3
Keywords
Readme
TypeScript Example Snap Front-end
This project was bootstrapped with Gatsby.
Available Scripts
In the project directory, you can run:
yarn start
Runs the app in the development mode.
Open http://localhost:8000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
yarn build
Builds the app for production to the public
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Environment variables
Gatsby has built-in support for loading environment variables into the browser and Functions. Loading environment variables into Node.js requires a small code snippet.
In development, Gatsby will load environment variables from a file named .env.development
. For builds, it will load from .env.production
.
By default you can use the SNAP_ORIGIN
variable (used in src/config/snap.ts
) to define a production origin for you snap (eg. npm:MyPackageName
). If not defined it will defaults to local:http://localhost:8080
.
A .env
file template is available, to use it rename .env.production.dist
to .env.production
To learn more visit Gatsby documentation
Learn More
You can learn more in the Gatsby documentation.
To learn React, check out the React documentation.