-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
62 lines (48 loc) · 1.33 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
all: demo
#run the demo script on devnet
.PHONY: demo
demo:
go run ./tasks/demo/main.go
.PHONY: marketplace
marketplace: deploy
go run ./tasks/marketplace/main.go
#this goal deployes all the contracts to emulator
.PHONY: deploy
deploy:
flow project deploy -n emulator
#this goal mints new flow tokens on emulator takes an account(Addres) env and can take an amount(int:100) env
.PHONY:mint
mint:
go run ./tasks/mint/main.go
#this goal transfers funds on testnet required an account(Address) env and can take an amount(int:100) env
.PHONY: transfer
transfer:
go run ./tasks/transfer/main.go
#this goal settles and drop on testnet requires a drop(int) argument
.PHONY: settle
settle:
go run ./tasks/settle_first/main.go
#this goal creates and example drop on testnet, requires drop(string) env that will be used as NFT name suffix
.PHONY: drop
drop:
go run ./tasks/drop/main.go
.PHONY: setup-testnet
setup-testnet:
go run ./tasks/setup_testnet/main.go
#set up the marketplace on testnet
.PHONY: testnet
testnet:
go run ./tasks/testnet/main.go
#this goal deployes all the contracts to emulator
.PHONY: deploy-testnet
deploy-testnet: setup-testnet
flow project deploy -n testnet
.PHONY: get-drop
get-drop:
go run ./tasks/get_drop/main.go
.PHONY: art
art:
go run ./tasks/mint_art/main.go
.PHONY: move
move:
go run ./tasks/move_art/main.go