-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make example take envar for who to mint from
- Loading branch information
1 parent
c2ba12e
commit 5cece79
Showing
5 changed files
with
45 additions
and
24 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Mintpool bot example | ||
|
||
A simple, not optimized, example of how to use the rules engine of mintpool to create a bot that | ||
mints premints from a specific creator. | ||
|
||
To run | ||
|
||
``` | ||
export SQLX_OFFLINE=true # if not set, sqlx checks queries against the db, disable that since no db | ||
# if you don't set `CREATOR_ADDRESS` it'll default to jacob.eth | ||
PRIVATE_KEY=<0xverysecret> SECRET=<your node secret> CREATOR_ADDRESS=0xAbC...123 cargo run --release | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters