You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ def deploy(
14
14
app_spec: algokit_utils.ApplicationSpecification,
15
15
deployer: algokit_utils.Account,
16
16
) -> None:
17
-
from smart_contracts.artifacts.hello_world.client import (
18
-
HelloWorldClient,
17
+
from smart_contracts.artifacts.{{ contract_name }}.client import (
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
import * as algokit from '@algorandfoundation/algokit-utils'
2
-
import { HelloWorldClient } from '../artifacts/hello_world/client'
2
+
import { {{ contract_name.split('_')|map('capitalize')|join }}Client } from '../artifacts/{{ contract_name }}/client'
3
3
4
4
// Below is a showcase of various deployment options you can use in TypeScript Client
Copy file name to clipboardExpand all lines: examples/generators/production_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts
Copy file name to clipboardExpand all lines: examples/generators/starter_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ def deploy(
14
14
app_spec: algokit_utils.ApplicationSpecification,
15
15
deployer: algokit_utils.Account,
16
16
) -> None:
17
-
from smart_contracts.artifacts.hello_world.client import (
18
-
HelloWorldClient,
17
+
from smart_contracts.artifacts.{{ contract_name }}.client import (
Copy file name to clipboardExpand all lines: examples/generators/starter_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
import * as algokit from '@algorandfoundation/algokit-utils'
2
-
import { HelloWorldClient } from '../artifacts/hello_world/client'
2
+
import { {{ contract_name.split('_')|map('capitalize')|join }}Client } from '../artifacts/{{ contract_name }}/client'
3
3
4
4
// Below is a showcase of various deployment options you can use in TypeScript Client
Copy file name to clipboardExpand all lines: examples/generators/starter_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts
0 commit comments