Skip to content

Conversation

@0xjba
Copy link
Collaborator

@0xjba 0xjba commented Sep 4, 2024

No description provided.

@0xjba 0xjba requested a review from CaisManai September 5, 2024 08:44
---
# Anonymous Suggestion Box

The Anon Suggestion Box demonstrates TEN's encryption capabilities in a practical scenario. Users submit encrypted suggestions, ensuring true privacy and anonymity. This showcases how TEN solves the challenge of maintaining confidentiality in transparent blockchain environments.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the word 'secrecy' instead of 'privacy' here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And 'hypothetical' instead of 'practical'

require(block.timestamp < auctionEndTime, "Auction ended");
bids[msg.sender] += msg.value;

if (msg.value > highestBid) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're doing extra computation here when we're the highest bidder, would it be possible to work out when you're the highest bidder? Just keep bidding until you notice gas increases

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this calculation could be saved until the end and performed by whoever closes the bidding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants