Skip to content

Conversation

@N-010
Copy link
Contributor

@N-010 N-010 commented Nov 30, 2025

Added LOTTO token issuance
Enabled purchasing lottery tickets using tokens
Implemented peer-to-peer LOTTO token exchange
Adds random sorting of players before choosing a winner.

With the new update, we only need to run this command prior to network launch:

dd if=/dev/zero bs=16 count=1 >> contract0016.xxx
Command breakdown:

The original size of the contract: 82,040 bytes
The new size of the contract: 82,056 bytes
The size difference is 82,056 - 82,040 = 16 bytes
Hence, the command will expand the contract to 16 bytes.

N-010 added 30 commits October 9, 2025 20:44
…duling logic; update state management for draw hour and schedule
…innerCounter utility function for better clarity and maintainability
…apacity; enhance test expectations for accuracy
…g and revenue calculation to improve clarity and maintainability
… RL_DEFAULT_SCHEDULE for clarity and maintainability
Remove initialize
# Conflicts:
#	src/contracts/RandomLottery.h
@N-010 N-010 changed the title Issues RLT tokensd Issues RLT token Dec 1, 2025
@N-010 N-010 marked this pull request as draft December 5, 2025 17:58
N-010 added 3 commits December 5, 2025 21:33
Burns tokens after payment
…ed Add/RemoveAllowedToken, added burning of paid LOTTOs when purchasing tickets, and updated tests to accommodate the new logic.
@N-010 N-010 marked this pull request as ready for review December 6, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant