Giter Club home page Giter Club logo

Comments (8)

ana0 avatar ana0 commented on July 24, 2024 1

We would need some kind of oversight to make sure people didn't make offensive named coins. How easily could this be automated?

Offensive I wouldn't worry about, but we should sanitize for code-injection: https://hackernoon.com/how-one-hacker-stole-thousands-of-dollars-worth-of-cryptocurrency-with-a-classic-code-injection-a3aba5d2bff0

from circles-contracts.

edzillion avatar edzillion commented on July 24, 2024

I have thought about this before:

  • We would need some kind of oversight to make sure people didn't make offensive named coins. How easily could this be automated?
  • There is a gamifying element to this: I am sure there will be people who will collect a coin of each of their friends; they may also want to keep coins given them by famous people etcetera
  • A cool idea that I have pondered in the past: Users can add a string to coins either when they mint them or when they first transfer them. This could serve as a way to add some kind of 'cultural history' to the system. People might just thank the reciever or congratulate them on some life event, or even just write a motivational message or a note for posterity. This would take an order of magnitude more 'monitoring', in whatever form that takes, and there are other issues, but tell me why it's a crazy idea anyway.

from circles-contracts.

ana0 avatar ana0 commented on July 24, 2024

Recycling this issue, because it seems related ..

ERC20 has three standard 'informational' variables - name, symbol, and decimals. These are primarily used by wallets and sites like etherscan for display. Would be great if our tokens are displayed properly in as many uis as possible.

For name, I'm thinking the user should probably be able to set their own name. For decimals, it seems a system-wide (or at least hub-wide) number is the only real path (the community has been coalescing around 18). Jury is out for me on symbol - thinking this could be user set, but also could be a system-wide, like all circles tokens display as CRC or something.

And of course the final question, which is if we go with a system wide symbol, what should it be?

from circles-contracts.

JuliointheStudio avatar JuliointheStudio commented on July 24, 2024

hello! can you give me an example of how symbols look like? I agree that people should be able to set their own name.. the decimal thing I have no clue about but the symbol seems to be important.. :)

from circles-contracts.

edzillion avatar edzillion commented on July 24, 2024

Probably decimal is to set which kind of decimal marker you want. (in US/UK it's . and in EU it tends to be ,)

Symbol is probably an ascii code. I vote for ©

from circles-contracts.

ana0 avatar ana0 commented on July 24, 2024

Decimals is a weird software thing, because the evm doesn't have good support for floating point numbers. Numbers are stored as integers based on their least significant digit. So like, for 20.00 USD, the evm would store 2000 and decimals = 2. For ether, it's 18. Most tokens use 18 too. It's kind of technical thing, not something users need to think about.

Symbol is like a ticker symbol, like 'USD' or 'ETH'.

from circles-contracts.

edzillion avatar edzillion commented on July 24, 2024

Symbol is like a ticker symbol, like 'USD' or 'ETH'.

hmmm. Seems like CRC isn't taken, at least according to wikipedia (which is kinda cool cos it also means Capablanca Random Chess)

https://en.wikipedia.org/wiki/List_of_cryptocurrencies

from circles-contracts.

ana0 avatar ana0 commented on July 24, 2024

Ok, gonna go with CRC for now

from circles-contracts.

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.