- You have some NFTs that are really, really valuable. You don’t want to lose these NFTs, even if the rest of your account is compromised, including your owner key.
- Today, you might put your NFTs in a separate EOA and lock the private key in a bank vault.
- But then you can’t use the NFTs to get into exclusive events!
- The Cold Storage plugin will let you secure your NFTs just as hard, but as part of your main modular account!
- Installing the Cold Storage Plugin
- The owner specifies a highly secure storage key when installing the plugin
- Locking an NFT
- The owner can lock NFTs (all ERC721s, collections, or tokens) and place them in cold storage
- Transferring NFT as the Owner
- Transferring a locked NFT is blocked
- Transferring a NFT that isn’t locked is fine
- Transferring a Locked NFT with Storage Key
- The storage key has permission to transfer locked NFTs
- The storage key also has permissions to unlock NFTs and change the storage key
- Uninstalling the Plugin
- The plugin blocks uninstalls when there locked NFTs
git clone [email protected]:OMGWINNING/cold-storage-plugin.git
cd cold-storage-plugin
yarn install
yarn run dev
to load the site at http://localhost:3000
After you run init, your .env
file should look like this
NODE_ENV=development
# https://dashboard.alchemy.com/apps
ALCHEMY_API_KEY=<YOUR_ALCHEMY_API_KEY>
# you can also use Access Keys of your account
# https://dashboard.alchemy.com/settings/access-keys
ALCHEMY_ACCESS_KEY=<YOUR_ALCHEMY_ACCESS_KEY>
# https://dashboard.alchemy.com/gas-manager
NEXT_PUBLIC_ALCHEMY_GAS_MANAGER_POLICY_ID=<YOUR_ALCHEMY_GAS_MANAGER_POLICY_ID>
NEXT_TELEMETRY_DISABLED=1