https://github.com/berzanorg/aptos-landing-contract
Move module for Aptos Landing dApp.
https://github.com/berzanorg/aptos-landing-contract
aptos dapp move smart-contracts
Last synced: 6 months ago
JSON representation
Move module for Aptos Landing dApp.
- Host: GitHub
- URL: https://github.com/berzanorg/aptos-landing-contract
- Owner: berzanorg
- License: mit
- Created: 2023-10-01T12:30:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T16:45:01.000Z (about 2 years ago)
- Last Synced: 2025-03-12T23:33:18.422Z (7 months ago)
- Topics: aptos, dapp, move, smart-contracts
- Language: Move
- Homepage: https://berzanxyz.github.io/aptos-landing-interface/0x4eb9d24d059db22f0f2a858f128f2e747f5ff7c441c2b95c87559aae1c29c4f7
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aptos-landing-contract
Move module for Aptos Landing dApp.The dApp is live at [berzanxyz.github.io](https://berzanxyz.github.io/aptos-landing-interface/0x4eb9d24d059db22f0f2a858f128f2e747f5ff7c441c2b95c87559aae1c29c4f7).
An interface for Aptos Landing dApp resides in [`aptos-landing-interface`](https://github.com/berzanxyz/aptos-landing-interface).
Events and tests are not implemented as this project is very basic.
## Clone the repo
You can run the command below to clone the repo.
```sh
git clone https://github.com/berzanxyz/aptos-landing-contract.git
```## Setup a development environment
You can use [`Dev Containers`](https://code.visualstudio.com/docs/devcontainers/containers) to setup a development environment.## Initialize an Aptos account
Run the command below to initialize an Aptos account.It will create `.aptos/config.yaml` file.
```sh
aptos init
```## Change the address
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.
## Publish
Run the command below to publish the module on Aptos Devnet.
```sh
aptos move publish
```## Interact
You can run the command below to setup a page for yourself.```sh
aptos move run --function-id ::landing::setup_page --args '' '' '' '' '' '' ''
```Don't forget to include the types for each argument like `string:foobar`.
## See the resources
You can run the command below to see the resources.
```sh
aptos account list
```