Realtime feed of ERC721 transfers
Building Notes
As a quick hack for handling secrets (like API keys), I just put them in a file that is excluded from git.
- Under the
NFTFeed
folder, create a file calledSecrets.swift
- In that file put this:
struct Secrets {
let infuraProjectId = "<Your Infura Project ID Key>"
}
- Then build normally
Helpful Links
https://www.pauric.blog/How-to-Query-and-Monitor-Ethereum-Contract-Events-with-Web3/