Initialize a Package
Create and deploy your first move module.
Last updated
Create and deploy your first move module.
Last updated
This will create your project directory, including a Move.toml
file. This is a manifest file that contains important metadata about your package. This includes the package name, version, dependencies, named addresses, and more.
The SupraFramework
dependency is automatically populated. This framework includes core components that you will interact with during your time on Supra. The framework package includes clearly defined documentation within the /doc
directory for you to review alongside the Move code within the /sources
directory. You can view .
Named addresses allow identifiers such as @exampleAddress
to be used throughout your package, rather than hard coding an address value. When compiled into bytecode, any occurrence of the identifier such as @exampleAddress
will be replaced with the set value below.
For now, add the below named address to your Move.toml
file and set the value to your address. We'll explain why in the next step.