Hi everyone. I’m learning to deploy canisters for my job. I want to do a replica of minter and ledger canisters.
I was able to deploy both with initial template index.ts:
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?