Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECO-2666] Update arena README publish, PnL sections #509

Merged
merged 6 commits into from
Jan 18, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add publish commands
alnoki committed Jan 17, 2025
commit 4799b305b53678fd2c26ca0ae54a3c46322cfe02
28 changes: 28 additions & 0 deletions src/move/emojicoin_arena/README.md
Original file line number Diff line number Diff line change
@@ -84,5 +84,33 @@ pseudo-random substitute implementations are used for the first crank. For a
detailed rationale that explains how this implementation is effectively random
in practice, see [this `emojicoin-dot-fun` pull request comment].

## Publish commands

Set variables:

```sh
EMOJICOIN_ARENA=0xaaa...
EMOJICOIN_DOT_FUN=0xbbb...
INTEGRATOR=0xccc...
PROFILE=my-profile
```

Publish:

```sh
NAMED_ADDRESSES=$(
printf "%s,%s" \
"emojicoin_arena=$EMOJICOIN_ARENA" \
"emojicoin_dot_fun=$EMOJICOIN_DOT_FUN" \
"integrator=$INTEGRATOR" \

)
aptos move publish \
--assume-yes \
--move-2 \
--named-addresses $NAMED_ADDRESSES \
--profile $PROFILE
```

[this `emojicoin-dot-fun` pull request comment]: https://github.com/econia-labs/emojicoin-dot-fun/pull/408#discussion_r1887856202
[`aptos-core` #15436]: https://github.com/aptos-labs/aptos-core/issues/15436