Open lly835 opened 5 days ago
同步了一天没打几个出现这问题
同步了一天没打几个出现这问题
+1,现在没一个成的,全是这个问题
stash 了后跑了git pull, 现在出这个:
{"result":null,"error":{"code":-26,"message":"non-mandatory-script-verify-flag (Script failed an OP_EQUALVERIFY operation)"},"id":"cat-cli"}
开个帖子,记录踩坑和解决方案!
1. 如何避免mint 0.01 CAT
方案:改mint的代码
if (amount !== 500n) { console.error(amount); return; } const mintTxIdOrErr = await (0, ft_open_minter_1.openMint)(this.configService, this.walletService, this.spendService, feeRate, feeUtxos, token, 2, minter, amount);
哥这个要添加在哪里呀
代码路径在哪里?
能在tracker侧修改吗?
代码路径在哪里?
cat-token-box/packages/cli/src/commands/mint/mint.command.ts
添加在文件那个位置?
开个帖子,记录踩坑和解决方案!
1. 如何避免mint 0.01 CAT
方案:改mint的代码
if (amount !== 500n) { console.error(amount); return; } const mintTxIdOrErr = await (0, ft_open_minter_1.openMint)(this.configService, this.walletService, this.spendService, feeRate, feeUtxos, token, 2, minter, amount);
哥这个要添加在哪里呀 packages/cli/dist/commands/mint/mint.command.js
好慢啊,有解决办法吗
开个帖子,记录踩坑和解决方案!
1. 如何避免mint 0.01 CAT
方案:直接改build后的mint的代码,路径 packages/cli/dist/commands/mint/mint.command.js