This file describes configurations and nuances for developing in the neow3j project.
If you would like to use the "latest and greatest" version of newo3j (for development only), then
add the Sonatype Snapshot repository to your build.gradle
:
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
Then you would be able to use the snapshot versions:
implementation 'io.neow3j:contract:3.19.2-SNAPSHOT'
implementation 'io.neow3j:devpack:3.19.2-SNAPSHOT'
If you would like to locally test GitHub Actions workflows, it's not required to make hundreds of (useless) commits. It's better to first use act to debug things.
-
Follow the installation steps.
-
Create a PAT for your GitHub user, for reading container registries (i.e., ghcr.io).
-
Edit your local
~/.actrc
file and add the following lines in the end:
-s CR_PAT_USERNAME=<YOUR_GITHUB_USERNAME>
-s CR_PAT=<YOUR_GITHUB_PAT_TOKEN>
- If you would like to run the
.github/workflows/intergation.yml
, run the following command:
act --detect-event -W .github/workflows/integration.yml
That's it. 🚀
gpg --list-secret-keys info@neow3j.io
gpg --export-secret-keys 7008418AEC2D69578BA07551DCED5430E76D91F5 | base64 > neow3j.key
Go to GitHub, create a new secret named GPG_KEY_ARMOR
and paste
the base64 content of the neow3j.key
file.