Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maaaae/nft-ticket-smart-contract
https://github.com/maaaae/nft-ticket-smart-contract
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/maaaae/nft-ticket-smart-contract
- Owner: MAAAAE
- Created: 2024-08-31T15:33:21.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-10T11:41:26.000Z (2 months ago)
- Last Synced: 2024-09-13T15:20:18.645Z (2 months ago)
- Language: Move
- Size: 801 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nft-ticket-smart-contract
## Install Aptos
```sh
brew update
brew install aptos
```## Devnet
### Set Local Net profile
```sh
aptos init --profileChoose network from [devnet, testnet, mainnet, local, custom | defaults to devnet]
devnet
```
- Save address that is returned from the aptos### Deploy Smart Contract to Local Net
Change to your address in Move.toml
```toml
[addresses]
ticket = ""
```Deploy smart contract to local net
```sh
aptos move publish --profile local
```## LOCAL
### Set Local Net profile
```sh
aptos init --profile localChoose network from [devnet, testnet, mainnet, local, custom | defaults to devnet]
local
```
- Save address that is returned from the aptos### Up Local Net
```sh
aptos node run-local-testnet --with-indexer-api
```### Deploy Smart Contract to Local Net
Change to your address in Move.toml
```toml
[addresses]
ticket = ""
```Deploy smart contract to local net
```sh
aptos move publish --profile local
```