# Index.ts for ckBtc canisters deployment

**URL:** <https://forum.dfinity.org/t/index-ts-for-ckbtc-canisters-deployment/34388>\
**Category:** Developers\
**Created:** [August 22, 2024, 4:59pm UTC](https://forum.dfinity.org/t/index-ts-for-ckbtc-canisters-deployment/34388 "2024-08-22T16:59:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franqqe](https://avatars.discourse-cdn.com/v4/letter/f/b5ac83/32.png) [@franqqe](https://forum.dfinity.org/u/franqqe)\
**Post date:** [August 22, 2024, 4:59pm UTC](https://forum.dfinity.org/t/index-ts-for-ckbtc-canisters-deployment/34388/1 "2024-08-22T16:59:17Z")

</div>

Hi everyone. I’m learning to deploy canisters for my job. I want to do a replica of [minter](https://dashboard.internetcomputer.org/canister/mqygn-kiaaa-aaaar-qaadq-cai) and [ledger](https://dashboard.internetcomputer.org/canister/mxzaz-hqaaa-aaaar-qaada-cai) canisters.

I was able to deploy both with initial template index.ts:

```auto
import { Canister, query, text } from 'azle';

export default Canister({
    greet: query([text], text, (name) => {
        return `Hello, ${name}!`;
    })
})

```

and both works perfect.

Now I’m trying to get exactly the same methods than the canisters I mentioned before, but I can only found de .did and type files (in the same url I shared). And when i deploy the canister, the `index.ts` overwrites the .did file.

Anyone knows where can I find this index.ts file for both canisters or how can I deploy it with .did only?

---

<div class="post-metadata">

**Author:** ![jennifertran](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jennifertran/32/11558_2.png) [@jennifertran](https://forum.dfinity.org/u/jennifertran)\
**Post date:** [August 24, 2024, 11:38am UTC](https://forum.dfinity.org/t/index-ts-for-ckbtc-canisters-deployment/34388/2 "2024-08-24T11:38:36Z")

</div>

What does your `dfx.json` look like?

I assume that you have an additional canister that you are deploying that might be listed like this:

```auto
"azle_hello_world": {
            "type": "custom",
            "main": "src/index.ts",
            "candid": "src/index.did",
            "build": "npx azle azle_hello_world",
            "wasm": ".azle/azle_hello_world/azle_hello_world.wasm",
            "gzip": true
}

```

I assume that you do not need this and can remove it from being listed in your `dfx.json` and delete any related files.
