An open API service indexing awesome lists of open source software.

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

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
```