Giter Club home page Giter Club logo

Comments (6)

tiero avatar tiero commented on May 28, 2024

Not related to the actual issue, I will open another issue if not the right place for discussion.

I don't like to replicate the eth "gas war" in general for crowdsales.

Something like this: a personal cap for each contributor in the first 24h, If all people contribute the maximum available the sale will reach the hard cap (if exists) having a fair and equal distribution of tokens among contributors. After 24h, the personal cap will go away and whales can come in ahah

from spec.

afilini avatar afilini commented on May 28, 2024

It's pretty hard to detect "the same contributor", because it's trivial to change your address in Bitcoin..

from spec.

fedsten avatar fedsten commented on May 28, 2024

Maybe I am missing something, but isn't the order that a miner gives to the transactions in the block sufficient for sorting purposes?

from spec.

afilini avatar afilini commented on May 28, 2024

Yes, the order inside of a block could be a way. I was wondering if there was a better way, maybe by looking at fees directly (even though it would probably be the same as the "miner" order) or maybe by looking at something completely different..

from spec.

fedsten avatar fedsten commented on May 28, 2024

If the order has to be time-based, I don't see any other deterministic sorting solutions. A different approach could be for auction style crowdsales (which is not what is proposed in the contract example), where the ordering is based on the proposed price per token. However, I wouldn't incentivise the idea of on-chain auctions. Since they involve a lot of transaction replacement they should always be conducted over LN or other payment channel protocols.

In general, I believe that the standard crowdsale should have a time-base sorting using the miner tx order, alternative schemes (e.g. auctions, big contributors first, utxo consolidators first, proof of off-chain rank, etc) can be implemented later with other contracts.

from spec.

afilini avatar afilini commented on May 28, 2024

I agree, I think we can close the issue now..

from spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.