How to send custom Transaction Scripts?

Hello! The docs say that Each Libra transaction includes a Move transaction script.

How can I attach a custom (compiled) Move script to a transaction and execute it on the testnet?

Hello and thanks for the question!

The initial testnet is configured to accept a fixed set of transaction scripts (though this may change in the future).

However, you can run custom scripts on a local node. This post should help you get started; feel free to write back if you have other questions!

1 Like

Thanks @sam for your help, I will try that! As someone asked in the other thread, would you mind explaining how to rebuild the VM with the type=Open param? As in, where should I set that? I tried as a flag to cargo build or in the .toml config file but it did not work. Thanks!

1 Like