Download contracts/lib/erc6551-reference/script/DeployRegistry.s.sol from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 440 Bytes
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/lib/erc6551-reference/script/DeployRegistry.s.sol
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/contracts/lib/erc6551-reference/script/DeployRegistry.s.sol
-
curl -L -o DeployRegistry.s.sol https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/lib/erc6551-reference/script/DeployRegistry.s.sol
440 Bytes
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.13; | |
| import "forge-std/Script.sol"; | |
| import "@openzeppelin/contracts/utils/Create2.sol"; | |
| import "../src/ERC6551Registry.sol"; | |
| contract DeployRegistry is Script { | |
| function run() external { | |
| vm.startBroadcast(); | |
| new ERC6551Registry{ | |
| salt: 0x0000000000000000000000000000000000000000fd8eb4e1dca713016c518e31 | |
| }(); | |
| vm.stopBroadcast(); | |
| } | |
| } | |