Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maaaae/nft-ticket-smart-contract


https://github.com/maaaae/nft-ticket-smart-contract

Last synced: 11 days ago
JSON representation

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 --profile

Choose 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 local

Choose 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
```