File tree Expand file tree Collapse file tree 7 files changed +48
-14
lines changed
production_python_smart_contract_python
production_python_smart_contract_typescript
starter_python_smart_contract_python
starter_python_smart_contract_typescript Expand file tree Collapse file tree 7 files changed +48
-14
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,18 @@ artifacts = 'smart_contracts/artifacts'
16
16
17
17
[project .deploy ]
18
18
command = " poetry run python -m smart_contracts deploy"
19
+
20
+ [project .deploy .testnet ]
19
21
environment_secrets = [
20
22
" DEPLOYER_MNEMONIC" ,
21
23
" DISPENSER_MNEMONIC" ,
22
24
]
23
25
24
- [project .deploy .localnet ]
25
- environment_secrets = []
26
+ [project .deploy .mainnet ]
27
+ environment_secrets = [
28
+ " DEPLOYER_MNEMONIC" ,
29
+ " DISPENSER_MNEMONIC" ,
30
+ ]
26
31
27
32
[project .run ]
28
33
# Commands intented for use locally and in CI
Original file line number Diff line number Diff line change @@ -16,13 +16,18 @@ artifacts = 'smart_contracts/artifacts'
16
16
17
17
[project .deploy ]
18
18
command = " npm run deploy:ci"
19
+
20
+ [project .deploy .testnet ]
19
21
environment_secrets = [
20
22
" DEPLOYER_MNEMONIC" ,
21
23
" DISPENSER_MNEMONIC" ,
22
24
]
23
25
24
- [project .deploy .localnet ]
25
- environment_secrets = []
26
+ [project .deploy .mainnet ]
27
+ environment_secrets = [
28
+ " DEPLOYER_MNEMONIC" ,
29
+ " DISPENSER_MNEMONIC" ,
30
+ ]
26
31
27
32
[project .run ]
28
33
# Commands intented for use locally and in CI
Original file line number Diff line number Diff line change @@ -16,12 +16,16 @@ artifacts = 'smart_contracts/artifacts'
16
16
17
17
[project .deploy ]
18
18
command = " poetry run python -m smart_contracts deploy"
19
+
20
+ [project .deploy .testnet ]
19
21
environment_secrets = [
20
22
" DEPLOYER_MNEMONIC" ,
21
23
]
22
24
23
- [project .deploy .localnet ]
24
- environment_secrets = []
25
+ [project .deploy .mainnet ]
26
+ environment_secrets = [
27
+ " DEPLOYER_MNEMONIC" ,
28
+ ]
25
29
26
30
[project .run ]
27
31
# Commands intented for use locally and in CI
Original file line number Diff line number Diff line change @@ -16,12 +16,16 @@ artifacts = 'smart_contracts/artifacts'
16
16
17
17
[project .deploy ]
18
18
command = " npm run deploy:ci"
19
+
20
+ [project .deploy .testnet ]
19
21
environment_secrets = [
20
22
" DEPLOYER_MNEMONIC" ,
21
23
]
22
24
23
- [project .deploy .localnet ]
24
- environment_secrets = []
25
+ [project .deploy .mainnet ]
26
+ environment_secrets = [
27
+ " DEPLOYER_MNEMONIC" ,
28
+ ]
25
29
26
30
[project .run ]
27
31
# Commands intented for use locally and in CI
Original file line number Diff line number Diff line change @@ -16,13 +16,18 @@ artifacts = 'smart_contracts/artifacts'
16
16
17
17
[project .deploy ]
18
18
command = " poetry run python -m smart_contracts deploy"
19
+
20
+ [project .deploy .testnet ]
19
21
environment_secrets = [
20
22
" DEPLOYER_MNEMONIC" ,
21
23
" DISPENSER_MNEMONIC" ,
22
24
]
23
25
24
- [project .deploy .localnet ]
25
- environment_secrets = []
26
+ [project .deploy .mainnet ]
27
+ environment_secrets = [
28
+ " DEPLOYER_MNEMONIC" ,
29
+ " DISPENSER_MNEMONIC" ,
30
+ ]
26
31
27
32
[project .run ]
28
33
# Commands intented for use locally and in CI
Original file line number Diff line number Diff line change @@ -16,12 +16,16 @@ artifacts = 'smart_contracts/artifacts'
16
16
17
17
[project .deploy ]
18
18
command = " poetry run python -m smart_contracts deploy"
19
+
20
+ [project .deploy .testnet ]
19
21
environment_secrets = [
20
22
" DEPLOYER_MNEMONIC" ,
21
23
]
22
24
23
- [project .deploy .localnet ]
24
- environment_secrets = []
25
+ [project .deploy .mainnet ]
26
+ environment_secrets = [
27
+ " DEPLOYER_MNEMONIC" ,
28
+ ]
25
29
26
30
[project .run ]
27
31
# Commands intented for use locally and in CI
Original file line number Diff line number Diff line change @@ -20,15 +20,22 @@ command = "poetry run python -m smart_contracts deploy"
20
20
{% - elif deployment_language == 'typescript' %}
21
21
command = "npm run deploy:ci"
22
22
{% - endif %}
23
+
24
+ [project.deploy.testnet]
23
25
environment_secrets = [
24
26
"DEPLOYER_MNEMONIC",
25
27
{% - if use_dispenser %}
26
28
"DISPENSER_MNEMONIC",
27
29
{% - endif %}
28
30
]
29
31
30
- [project.deploy.localnet]
31
- environment_secrets = []
32
+ [project.deploy.mainnet]
33
+ environment_secrets = [
34
+ "DEPLOYER_MNEMONIC",
35
+ {% - if use_dispenser %}
36
+ "DISPENSER_MNEMONIC",
37
+ {% - endif %}
38
+ ]
32
39
33
40
[project.run]
34
41
# Commands intented for use locally and in CI
You can’t perform that action at this time.
0 commit comments