3

After building a chain from Substrate node template there are some initial native token balances in the predefined accounts. Can I mint the native token on a smart contract level using the root account possibly using ink! smart contract framework?

1 Answer 1

1

To deploy the smart contract on substrate chain you need to integrate contract pallet and then with the help of contract you will be able to deploy the Ink smart contract on substrate chain. https://substrate-developer-hub.github.io/substrate-how-to-guides/docs/pallet-design/add-contracts-pallet/

6
  • I already added a contract pallet...my question was more of a How do I mint a new native token from the smart contract level?
    – Tahlil
    Oct 16, 2023 at 2:11
  • You need to write the smart contract and then you can deploy the contract by this pallet. to build the contract you can follow this reference: docs.substrate.io/tutorials/smart-contracts/…
    – Pankaj
    Oct 16, 2023 at 5:40
  • I do not want to mint a custom token from the smart contract, I want to mint native coin/token from the smart contract.
    – Tahlil
    Oct 16, 2023 at 6:06
  • Ok for native token you need to do it with the help of balances or assets pallet
    – Pankaj
    Oct 17, 2023 at 4:38
  • But is it even possible from the smart contract side?
    – Tahlil
    Oct 17, 2023 at 4:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.