walletSDK.TokenStandard().CreateTransfer()

When call this function, there an error
rpc error: code = NotFound desc = TEMPLATES_OR_INTERFACES_NOT_FOUND(11,a78b9e56): Templates do not exist: [3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1:Splice.Amulet.AmuletRules:AmuletRules].
But I already created AmuletRules use this template.

Below is my localnet setup.

git clone https://github.com/digital-asset/cn-quickstart.git
cd cn-quickstart/quickstart
make setup
make build
make start

then it start several containers. I use 4901,4902 port to interact. Such as create user, mint amulet, get balance, send tx.

When I want to transfer some Amulet to another party, it not work. And sender call ListHoldingUtxos have utxos.

What does this mean “TEMPLATES_OR_INTERFACES_NOT_FOUND”, the localnet network not exist?

gm @umy997

from what i see here it’s error of package ID is wrong, the splice-amulet package compiled for your localnet has a different package ID than one which is a MainNet/TestNet package ID.

quickstart localnet compiles its own splice-amulet DAR locally. The package ID is deterministic based on the source, so localnet’s ID will differ from production networks.

So get the correct package ID for your localnet and look for the package with module Splice.Amulet and use that package ID instead of the hardcoded one.