https://github.com/smartcontractkit/chainlink-aptos
https://github.com/smartcontractkit/chainlink-aptos
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/smartcontractkit/chainlink-aptos
- Owner: smartcontractkit
- License: other
- Created: 2025-02-28T11:49:07.000Z (11 months ago)
- Default Branch: develop
- Last Pushed: 2025-06-25T15:21:11.000Z (7 months ago)
- Last Synced: 2025-06-25T16:38:00.581Z (7 months ago)
- Language: Move
- Size: 4.63 MB
- Stars: 6
- Watchers: 25
- Forks: 6
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aptos
Local development and tests how to
### Local development
#### Pre requisites
- Geth
1. Navigate to `integration tests`
2. Run `go run main.go build`. This will build core locally and expose it as `chainlink-aptos:latest`
- You can optionally set the `--dir` flag to overwrite the core directory and skip cloning it
- Check `.example.env` for the requirements. You need `CORE_REPO` and `CORE_REF` exported or in `.env`
3. Run `go run main.go deploy`
- This will deploy everything locally and explose the ports so you can access the nodes and logs
- You need the env vars from `.example.env` with the information and images
### Integration tests
1. `cp .example.env .env`
2. `cd integration-tests/smoke`
3. `go test`
### Custom images on PRs
If you want to test the CI with a custom core image you need to specify in the PR body either the commit sha or branch name in the following format `core_ref:;` e.g `core_ref:develop;`.
_Note:_ Develop does not work until the core aptos-init branch is merged