Generates cards metadata and images.
- Clone this repo:
git clone https://github.com/BigWhaleLabs/farcantasy-metadata
- Create
.env
with the environment variables listed below - Run
yarn
in the root folder - Run
yarn start
And you should be good to go! Feel free to fork and submit pull requests.
Name | Description |
---|---|
PORT |
Port to run server on (defaults to 1337) |
FARCASTER_MNEMONIC |
Mnemonic for a Farcaster account to access data |
ETH_RPC |
Ethereum RPC endpoint |
CONTRACT_ADDRESS |
Address of the Farcantasy contract |
ECDSA_PRIVATE_KEY |
Private key for signing metadata |
Also, please, consider looking at .env.sample
.