Is there any kind of a constructor like function, which will run at the time of deployment in move programming language?
is there constructor function in move programming language?
118 views Asked by MikhilMC At
1
There are 1 answers
Related Questions in APTOS
- Can I reverse-resolve the public key from an address or signature?
- How can I create the `framework.mrb` file to generate my own genesis file?
- Guide for constructing the private blockchain network using Aptos
- Block-STM - Why do we need this condition "when a transaction aborts, all higher transactions are scheduled for re-validation."
- how to pass arguments when submitting an aptos transaction
- How to verify a signature by Aptos Typescript SDK on backend
- Multiple coins transfer via aptos smart contract
- How to allow all to use mint function of aptos coin
- Unable to compile move
- Get transaction hash from raw transaction in aptos network
- Read different resources from multiple addresses
- In Aptos how do you you call initialize a constructor when deploying the contract with Aptos CLI
- Aptos: Get address from privateKey
- Aptos-sdk | How to decode a hexString into a human readable string
- How to calculate the Voting Power of any validator address?
Related Questions in MOVE-LANG
- Read different resources from multiple addresses
- How to fix the error "error[E03002]: unbound module" when I run "sui move test" in the terminal?
- How can I update my sui CLI to solve Client/Server api version mismatch" error?
- Is there a more elegant way to print some text then debug::print(&utf8(b"some text printed out")); in Sui move?
- Failed to publish the Move module(s), reason: [warning] Multiple source verification errors found
- How do I call functions in Move?
- How can I call on chain module without it's source code?
- Launch tests in Move language
- How to handle ASCII error in move language
- Could not infer this type. Try adding an annotation
- is there constructor function in move programming language?
- Aptos move compilation error: Duplicate definition for module
- Move Language: How to interact with move vm cache
- Given a key, how do I read the value from a iterable table via the API?
- How to create multi agent transactions in Aptos blockchain?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You might be looking for
init_module. This function runs just when you publish your module.An example:
From aptos-move/move-examples/moon_coin/sources/MoonCoin.move in aptos-core.
You can learn more about it here: https://aptos.dev/move/move-on-aptos/modules-on-aptos/.