Synthetic nouns are nouns that are generated using the hash of the claimer's address as a seed. There exists one per address.
Snapshot can be used for governance using the synthetic-nouns-with-claimer strategy. The strategy gives an address that still owns the synthetic noun that they minted the ability to vote on Snapshot.
yarn hardhat node
Optionally export ABIs:
yarn hardhat deploy --export ./client/src/deployments.json --network localhost
Use FORK=mainnet to fork mainnet on the localhost network.
Run node
FORK=mainnet yarn hardhat node --no-deploy
yarn hardhat test --network localhost
Run mainnet fork node
FORK=mainnet yarn hardhat node --no-deploy
Copy mainnet deployments to localhost deployments
cd deployments &&
mkdir localhost &&
cp -r ./mainnet/ ./localhost/ &&
cd ..
Run tests
FORK=mainnet yarn hardhat test --network localhost
Start node
FORK=mainnet yarn hardhat node --no-deploy
Copy mainnet deployments to localhost deployments
cd deployments &&
mkdir localhost &&
cp -r ./mainnet/ ./localhost/ &&
cd ..
Update deployments file
yarn hardhat deploy --export ./client/src/deployments.json --network localhost
yarn hardhat deploy
Verify on etherscan
yarn hardhat etherscan-verify --network mainnet
yarn hardhat typechain
- Expose
generateSeedfunction - Address preview should return data URL instead of just b64 encoded svg
- Update @notice of
generateSeedandclaimmethods in smart contract - Use
ERC721Enumerableto get all the tokens owned by an address - Add a mapping to see if a token is still owned by its original minter
- Add a function which lets you claim a token for another address and have it sent to that address