diff --git a/examples/generators/production_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 b/examples/generators/production_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 index 9ab7336..7d4017a 100644 --- a/examples/generators/production_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 +++ b/examples/generators/production_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 @@ -14,11 +14,11 @@ def deploy( app_spec: algokit_utils.ApplicationSpecification, deployer: algokit_utils.Account, ) -> None: - from smart_contracts.artifacts.hello_world.client import ( - HelloWorldClient, + from smart_contracts.artifacts.{{ contract_name }}.client import ( + {{ contract_name.split('_')|map('capitalize')|join }}Client, ) - app_client = HelloWorldClient( + app_client = {{ contract_name.split('_')|map('capitalize')|join }}Client( algod_client, creator=deployer, indexer_client=indexer_client, diff --git a/examples/generators/production_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py b/examples/generators/production_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py index 9ab7336..3b14a80 100644 --- a/examples/generators/production_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py +++ b/examples/generators/production_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py @@ -14,11 +14,11 @@ def deploy( app_spec: algokit_utils.ApplicationSpecification, deployer: algokit_utils.Account, ) -> None: - from smart_contracts.artifacts.hello_world.client import ( - HelloWorldClient, + from smart_contracts.artifacts.cool_contract.client import ( + CoolContractClient, ) - app_client = HelloWorldClient( + app_client = CoolContractClient( algod_client, creator=deployer, indexer_client=indexer_client, diff --git a/examples/generators/production_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 b/examples/generators/production_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 index c8b69ba..e8c272e 100644 --- a/examples/generators/production_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 +++ b/examples/generators/production_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 @@ -1,9 +1,9 @@ import * as algokit from '@algorandfoundation/algokit-utils' -import { HelloWorldClient } from '../artifacts/hello_world/client' +import { {{ contract_name.split('_')|map('capitalize')|join }}Client } from '../artifacts/{{ contract_name }}/client' // Below is a showcase of various deployment options you can use in TypeScript Client export async function deploy() { - console.log('=== Deploying HelloWorld ===') + console.log('=== Deploying {{ contract_name.split('_')|map('capitalize')|join }} ===') const algod = algokit.getAlgoClient() const indexer = algokit.getAlgoIndexerClient() @@ -16,7 +16,7 @@ export async function deploy() { }, algod, ) - const appClient = new HelloWorldClient( + const appClient = new {{ contract_name.split('_')|map('capitalize')|join }}Client( { resolveBy: 'creatorAndName', findExistingUsing: indexer, diff --git a/examples/generators/production_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts b/examples/generators/production_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts index c8b69ba..2c5fbdf 100644 --- a/examples/generators/production_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts +++ b/examples/generators/production_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts @@ -1,9 +1,9 @@ import * as algokit from '@algorandfoundation/algokit-utils' -import { HelloWorldClient } from '../artifacts/hello_world/client' +import { CoolContractClient } from '../artifacts/cool_contract/client' // Below is a showcase of various deployment options you can use in TypeScript Client export async function deploy() { - console.log('=== Deploying HelloWorld ===') + console.log('=== Deploying CoolContract ===') const algod = algokit.getAlgoClient() const indexer = algokit.getAlgoIndexerClient() @@ -16,7 +16,7 @@ export async function deploy() { }, algod, ) - const appClient = new HelloWorldClient( + const appClient = new CoolContractClient( { resolveBy: 'creatorAndName', findExistingUsing: indexer, diff --git a/examples/generators/starter_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 b/examples/generators/starter_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 index 9ab7336..7d4017a 100644 --- a/examples/generators/starter_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 +++ b/examples/generators/starter_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2 @@ -14,11 +14,11 @@ def deploy( app_spec: algokit_utils.ApplicationSpecification, deployer: algokit_utils.Account, ) -> None: - from smart_contracts.artifacts.hello_world.client import ( - HelloWorldClient, + from smart_contracts.artifacts.{{ contract_name }}.client import ( + {{ contract_name.split('_')|map('capitalize')|join }}Client, ) - app_client = HelloWorldClient( + app_client = {{ contract_name.split('_')|map('capitalize')|join }}Client( algod_client, creator=deployer, indexer_client=indexer_client, diff --git a/examples/generators/starter_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py b/examples/generators/starter_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py index 9ab7336..3b14a80 100644 --- a/examples/generators/starter_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py +++ b/examples/generators/starter_python_smart_contract_python/smart_contracts/cool_contract/deploy_config.py @@ -14,11 +14,11 @@ def deploy( app_spec: algokit_utils.ApplicationSpecification, deployer: algokit_utils.Account, ) -> None: - from smart_contracts.artifacts.hello_world.client import ( - HelloWorldClient, + from smart_contracts.artifacts.cool_contract.client import ( + CoolContractClient, ) - app_client = HelloWorldClient( + app_client = CoolContractClient( algod_client, creator=deployer, indexer_client=indexer_client, diff --git a/examples/generators/starter_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 b/examples/generators/starter_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 index c8b69ba..e8c272e 100644 --- a/examples/generators/starter_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 +++ b/examples/generators/starter_python_smart_contract_typescript/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy-config.ts.j2 @@ -1,9 +1,9 @@ import * as algokit from '@algorandfoundation/algokit-utils' -import { HelloWorldClient } from '../artifacts/hello_world/client' +import { {{ contract_name.split('_')|map('capitalize')|join }}Client } from '../artifacts/{{ contract_name }}/client' // Below is a showcase of various deployment options you can use in TypeScript Client export async function deploy() { - console.log('=== Deploying HelloWorld ===') + console.log('=== Deploying {{ contract_name.split('_')|map('capitalize')|join }} ===') const algod = algokit.getAlgoClient() const indexer = algokit.getAlgoIndexerClient() @@ -16,7 +16,7 @@ export async function deploy() { }, algod, ) - const appClient = new HelloWorldClient( + const appClient = new {{ contract_name.split('_')|map('capitalize')|join }}Client( { resolveBy: 'creatorAndName', findExistingUsing: indexer, diff --git a/examples/generators/starter_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts b/examples/generators/starter_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts index c8b69ba..2c5fbdf 100644 --- a/examples/generators/starter_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts +++ b/examples/generators/starter_python_smart_contract_typescript/smart_contracts/cool_contract/deploy-config.ts @@ -1,9 +1,9 @@ import * as algokit from '@algorandfoundation/algokit-utils' -import { HelloWorldClient } from '../artifacts/hello_world/client' +import { CoolContractClient } from '../artifacts/cool_contract/client' // Below is a showcase of various deployment options you can use in TypeScript Client export async function deploy() { - console.log('=== Deploying HelloWorld ===') + console.log('=== Deploying CoolContract ===') const algod = algokit.getAlgoClient() const indexer = algokit.getAlgoIndexerClient() @@ -16,7 +16,7 @@ export async function deploy() { }, algod, ) - const appClient = new HelloWorldClient( + const appClient = new CoolContractClient( { resolveBy: 'creatorAndName', findExistingUsing: indexer, diff --git a/template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'python' %}deploy_config.py.j2{% endif %}.jinja b/template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'python' %}deploy_config.py.j2{% endif %} similarity index 100% rename from template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'python' %}deploy_config.py.j2{% endif %}.jinja rename to template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'python' %}deploy_config.py.j2{% endif %} diff --git a/template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'typescript' %}deploy-config.ts.j2{% endif %}.jinja b/template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'typescript' %}deploy-config.ts.j2{% endif %} similarity index 100% rename from template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'typescript' %}deploy-config.ts.j2{% endif %}.jinja rename to template_content/.algokit/generators/create_contract/smart_contracts/{% raw %}{{ contract_name }}{% endraw %}/{% if deployment_language == 'typescript' %}deploy-config.ts.j2{% endif %}