Move module for Aptos Landing dApp.
The dApp is live at berzanxyz.github.io.
An interface for Aptos Landing dApp resides in aptos-landing-interface
.
Events and tests are not implemented as this project is very basic.
You can run the command below to clone the repo.
git clone https://github.com/berzanxyz/aptos-landing-contract.git
You can use Dev Containers
to setup a development environment.
Run the command below to initialize an Aptos account.
It will create .aptos/config.yaml
file.
aptos init
Copy the address for account
in .aptos/config.yaml
file.
In Move.toml
file, change aptos_landing_contract
under [addresses]
to the address you copied.
Run the command below to publish the module on Aptos Devnet.
aptos move publish
You can run the command below to setup a page for yourself.
aptos move run --function-id <address-you-copied>::landing::setup_page --args '<name>' '<website>' '<twitter>' '<facebook>' '<instagram>' '<youtube>' '<tiktok>'
Don't forget to include the types for each argument like string:foobar
.
You can run the command below to see the resources.
aptos account list