In rust I use:
.into_sub_account_truncating()
Is there a Javascript equivalent?
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.
Sign up to join this communityYou can use this code snippet to derive a sub account. You can test it out at this page.