ton-blockchain / token-contract

Fungible, Non-Fungible, Semi-Fungible Tokens Smart Contracts
Other
297 stars 154 forks source link

"TypeError: api.getContractState is not a function" during deployment of minterController #51

Open aekiratli opened 1 month ago

aekiratli commented 1 month ago
? Choose file to use minterController                                                                                                                                                                   
? Which network do you want to use?
? Which network do you want to use? testnet                                                                                                                                                             
? Which wallet are you using?
? Which wallet are you using? Mnemonic                                                                                                                                                                  
Connected to wallet at address: EQCTal7lerfYIw6...2aTvHGKlLw2G9
? Please enter minter address: 0QCTal7l...HGKlLw4fy
TypeError: api.getContractState is not a function                                                                                                                                                       
    at Object.run (C:\Users\aek\Desktop\token-contract\scripts\minterController.ts:128:41)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async run (C:\Users\aek\Desktop\token-contract\node_modules\@ton\blueprint\dist\cli\run.js:20:5)
    at async main (C:\Users\aek\Desktop\token-contract\node_modules\@ton\blueprint\dist\cli\cli.js:94:5)