Deploy, mint, and burn an ERC-20 token
This lab uses the Fireblocks API and requires an API key and API private key. You'll set your API key in the browser, and there's two ways you can set your API private key:
-
Place your API private key within the repository root at
api.key
. This file will be ignored by Git. or -
Set the
PRIVATE_KEY_B64
environment variable to a base64 encoding of your API private key. You can get a base64 encoding of your private key file with:# Reads api.key and outputs base64 base64 -i api.key
To create an instant development environment, open the app in Gitpod. To run it on your local system, clone the repository, and install the LTS version of Node.js.
# Install nvm if you haven't already
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
# Install Node.js from .nvmrc
nvm use
# Install dependencies
npm install
npm run dev