-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (28 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
all: compile
.PHONY:compile
compile: clean
yarn compile
.PHONY:test
test:clean
yarn test
.PHONY:clean
clean:
yarn clean
rm -rf cache
.PHONY:remix
remix:
remixd -s ./ -u https://remix.ethereum.org
deploy-testchain: compile
npx hardhat run scripts/testchain-deploy.js --network testchain
registername:
npx hardhat run scripts/registername.js --network testchain
transfername:
npx hardhat run scripts/transfername.js --network testchain
resolvename:
npx hardhat run scripts/resolvename.js --network testchain
flatten:
npx hardhat flatten ./contracts/qyregistrar/BaseRegistrarImplementation.sol > ./flattened/BaseRegistrarImplementation.sol
npx hardhat flatten ./contracts/registry/QNSRegistry.sol > ./flattened/QNSRegistry.sol
npx hardhat flatten ./contracts/resolvers/PublicResolver.sol > ./flattened/PublicResolver.sol
npx hardhat flatten ./contracts/registry/ReverseRegistrar.sol > ./flattened/ReverseRegistrar.sol
npx hardhat flatten ./contracts/qyregistrar/QYRegistrarController.sol > ./flattened/QYRegistrarController.sol