Writing chialisp smart contracts

I’ve followed some demos/tutorials and it seems to come to

  1. Write code
  2. Build code with cdv tool from chia-dev-tools
  3. Create tree hash of code
  4. Encode the tree hash into a chia xch style address
  5. Send a mojo to the address

But I can’t find any how-to on how to send the built code to the address?

1 Like

Have you asked on Keybase ?

It seems I asked the wrong question. I think you have to send the code every single time you want to run it

Yes, you have to include the puzzle (i.e., puzzle reveal) and solutions into the spend bundle to execute the smart coin puzzle.