Skip to content

Commit

Permalink
[ECO-2489] Add emojicoin arena Move prototype (#408)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt <[email protected]>
  • Loading branch information
alnoki and xbtmatt committed Dec 21, 2024
1 parent b5d17a3 commit b7fed5f
Show file tree
Hide file tree
Showing 5 changed files with 1,106 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cfg/cspell-dictionary.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
ADBEEF
adbeef
aland
allowlister
aptn
aptos
aptoslabs
auid
autoscale
barthelemy
bento
Expand Down Expand Up @@ -66,6 +67,7 @@ marino
mayen
melilla
merperson
metadatas
moai
mosquitto
mqtt
Expand Down
18 changes: 18 additions & 0 deletions src/move/emojicoin_arena/Move.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[addresses]
arena = "_"
integrator = "_"

[dependencies.EmojicoinDotFun]
local = "../emojicoin_dot_fun"

[dev-addresses]
arena = "0xaaa"
coin_factory = "0xbbb"
emojicoin_dot_fun = "0xc0de"
integrator = "0xddd"

[package]
authors = ["Econia Labs ([email protected])"]
name = "EmojicoinArena"
upgrade_policy = "compatible"
version = "1.0.0"
11 changes: 11 additions & 0 deletions src/move/emojicoin_arena/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Emojicoin Arena

## A note on pseudo-randomness

Since randomness is not supported in `init_module` per [`aptos-core` #15436],
pseudo-random substitute implementations are used for the first crank. For a
detailed rationale that explains how this is effectively random in practice, see
[this `emojicoin-dot-fun` pull request comment].

[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
Loading

0 comments on commit b7fed5f

Please sign in to comment.