Can't find CreateAccount transaction bytecode

Anybody know how I can get the transaction bytecode of the CreateAccount.mvir I know that a Account is created when a transaction is made to a not existent account or when you mint to a not existent account.

But how I can call the createAccount.mvir directly ? If that is possible.

Thanks in advance!

Diego.-

If you run

./target/debug/compiler language/stdlib/transaction_scripts/create_account.mvir -o create_account.mv

from the root of the libra directory, the bytecode for the create account script will be dumped into create_account.mv.

You can then package this bytecode into a transaction. Unfortunately, the client doesn’t have a special command to do this at the moment (unlike p2p payment and minting).

2 Likes