Comments (8)
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.
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.
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.
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.
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.
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.
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.
Ok, gonna go with CRC
for now
from circles-contracts.
Related Issues (20)
- Versions on npm do not reflect git tags in this repository HOT 1
- Add GitHub Actions for tests
- Versions on npm do not reflect git tags in this repository HOT 2
- Write a tutorial on how to test if individual accounts can transfer to org accounts through Contract interactions
- One test fails sometimes only HOT 3
- Update Solidity version
- Circles 2.0 Removing the Deadman's Switch
- Circles 2.0 Removing trust limits and splitting the hub contract
- Circles 2.0 Shorter intervals for increase UBI payout
- Circles 2.0 Migrating trust
- Circles 2.0 Migrating balances
- Test dont pass in macOS
- Circles 1.3.0 Test HOT 1
- Update gitaction to use node 16
- `checkSendLimit` function should return `return max.sub(destBalance);`
- What's with the About section guys? HOT 1
- Update circles-contracts node version HOT 1
- Design pathfinder implementation based oin CiGNo current design HOT 1
- Export balances - error state HOT 1
- Upgrade web3 to v4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circles-contracts.