https://github.com/pauldowman/pfpfun
My custom profile picture NFT
https://github.com/pauldowman/pfpfun
Last synced: 2 months ago
JSON representation
My custom profile picture NFT
- Host: GitHub
- URL: https://github.com/pauldowman/pfpfun
- Owner: pauldowman
- Created: 2022-05-21T23:26:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T22:15:08.000Z (almost 3 years ago)
- Last Synced: 2025-01-27T06:28:19.742Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## My custom profile picture NFT
This is a trivial ERC721 that I created to ~abuse the NFT profile picture feature~ give myself a custom NFT profile picture on Twitter.
There can only be one and it mints to the deployer in the constructor.
I set the metadata to a URL that I control so I can change it gas-free.
The script `deploy-with-frame.js` uses [Frame wallet](https://frame.sh/) for easy Ledger support when deploying to mainnet.
## Usage
Test:
```
npx hardhat test
```Start local node:
```
npx hardhat node
```Deploy to local node
```
npx hardhat run --network localhost scripts/run.js
```Deploy to rinkeby
```
npx hardhat run --network localhost scripts/run.js
```Deploy with Frame to any network
```
npx hardhat run scripts/deploy-with-frame.js
```