https://github.com/apriorit/alcohol-auction-aptos
An example of how the Aptos blockchain can be used to build a blockchain-based solution for an alcohol manufacturing company
https://github.com/apriorit/alcohol-auction-aptos
Last synced: 2 months ago
JSON representation
An example of how the Aptos blockchain can be used to build a blockchain-based solution for an alcohol manufacturing company
- Host: GitHub
- URL: https://github.com/apriorit/alcohol-auction-aptos
- Owner: apriorit
- License: bsd-3-clause
- Created: 2023-04-21T10:52:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-21T11:00:57.000Z (about 3 years ago)
- Last Synced: 2025-01-18T21:31:49.725Z (over 1 year ago)
- Language: Move
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alcohol auction
## Prerequisites
[Prepare your Aptos Dev Environment](https://aptos.dev/guides/getting-started/)
## Running tests
```sh
aptos move test --named-addresses alcohol_auction=0xff,source_addr=0xab
```
You can use any addresses instead of 0xff and 0xab.
If you also want to see test coverage, use the following command:
```sh
aptos move test --named-addresses alcohol_auction=0xff,source_addr=0xab --coverage
```
## Deploying contracts
Before running the following command, you should run the `aptos init --profile default` command and follow the instructions.
```sh
aptos move create-resource-account-and-publish-package --seed 0 --address-name alcohol_auction --named-addresses source_addr=default
```
## License
[Apriorit](http://www.apriorit.com/) released [alcohol-auction-aptos](https://github.com/apriorit/alcohol-auction-aptos) under the OSI-approved 3-clause BSD license. You can freely use it in your commercial or opensource software.