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'
1616
1717[project .deploy ]
1818command = " poetry run python -m smart_contracts deploy"
19+
20+ [project .deploy .testnet ]
1921environment_secrets = [
2022 " DEPLOYER_MNEMONIC" ,
2123 " DISPENSER_MNEMONIC" ,
2224]
2325
24- [project .deploy .localnet ]
25- environment_secrets = []
26+ [project .deploy .mainnet ]
27+ environment_secrets = [
28+ " DEPLOYER_MNEMONIC" ,
29+ " DISPENSER_MNEMONIC" ,
30+ ]
2631
2732[project .run ]
2833# 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'
1616
1717[project .deploy ]
1818command = " npm run deploy:ci"
19+
20+ [project .deploy .testnet ]
1921environment_secrets = [
2022 " DEPLOYER_MNEMONIC" ,
2123 " DISPENSER_MNEMONIC" ,
2224]
2325
24- [project .deploy .localnet ]
25- environment_secrets = []
26+ [project .deploy .mainnet ]
27+ environment_secrets = [
28+ " DEPLOYER_MNEMONIC" ,
29+ " DISPENSER_MNEMONIC" ,
30+ ]
2631
2732[project .run ]
2833# 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'
1616
1717[project .deploy ]
1818command = " poetry run python -m smart_contracts deploy"
19+
20+ [project .deploy .testnet ]
1921environment_secrets = [
2022 " DEPLOYER_MNEMONIC" ,
2123]
2224
23- [project .deploy .localnet ]
24- environment_secrets = []
25+ [project .deploy .mainnet ]
26+ environment_secrets = [
27+ " DEPLOYER_MNEMONIC" ,
28+ ]
2529
2630[project .run ]
2731# 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'
1616
1717[project .deploy ]
1818command = " npm run deploy:ci"
19+
20+ [project .deploy .testnet ]
1921environment_secrets = [
2022 " DEPLOYER_MNEMONIC" ,
2123]
2224
23- [project .deploy .localnet ]
24- environment_secrets = []
25+ [project .deploy .mainnet ]
26+ environment_secrets = [
27+ " DEPLOYER_MNEMONIC" ,
28+ ]
2529
2630[project .run ]
2731# 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'
1616
1717[project .deploy ]
1818command = " poetry run python -m smart_contracts deploy"
19+
20+ [project .deploy .testnet ]
1921environment_secrets = [
2022 " DEPLOYER_MNEMONIC" ,
2123 " DISPENSER_MNEMONIC" ,
2224]
2325
24- [project .deploy .localnet ]
25- environment_secrets = []
26+ [project .deploy .mainnet ]
27+ environment_secrets = [
28+ " DEPLOYER_MNEMONIC" ,
29+ " DISPENSER_MNEMONIC" ,
30+ ]
2631
2732[project .run ]
2833# 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'
1616
1717[project .deploy ]
1818command = " poetry run python -m smart_contracts deploy"
19+
20+ [project .deploy .testnet ]
1921environment_secrets = [
2022 " DEPLOYER_MNEMONIC" ,
2123]
2224
23- [project .deploy .localnet ]
24- environment_secrets = []
25+ [project .deploy .mainnet ]
26+ environment_secrets = [
27+ " DEPLOYER_MNEMONIC" ,
28+ ]
2529
2630[project .run ]
2731# 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"
2020{% - elif deployment_language == 'typescript' %}
2121command = "npm run deploy:ci"
2222{% - endif %}
23+
24+ [project.deploy.testnet]
2325environment_secrets = [
2426 "DEPLOYER_MNEMONIC",
2527{% - if use_dispenser %}
2628 "DISPENSER_MNEMONIC",
2729{% - endif %}
2830]
2931
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+ ]
3239
3340[project.run]
3441# Commands intented for use locally and in CI
You can’t perform that action at this time.
0 commit comments