Bitcoin Forum
June 23, 2024, 12:58:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Local / Alternatif Kripto-Paralar / 4A Coin İnceleme on: May 16, 2018, 12:22:03 PM




4a Coin: Web tabanlı kriptopara
ağı

Yol Haritası
Avantajlı Ön Satış Başlangıç                                 : 14 Mayıs 2018
Avantajlı Ön Satış Bitiş                                        : 26 Haziran 2018
Borsalarda Listelenmesi                                       : Haziran 2018
Testnet Aşaması.                                                 : Ağustos 2018
Local Cüzdanlar ve App                                        : 2018 İlk Çeyrek
Mainnet Tarihi                                                     : 2019 İlk Çeyrek
ERC-20 Tokenlerin 4A Coin Blockchain'e geçmesi    : 2019 İkinci çeyrek



Sosyal Medya Hesapları :

Twitter.     : https://twitter.com/4acoin
Facebook  : https://www.facebook.com/groups/4acoin/
Telegram  : https://t.me/coin4a
Web Site  : http://4acoin.org
GitHub     : https://github.com/4acoin/4acoin



Özet~
Bitcoin, ethereum ve litecoin gibi birinci nesil kritoparalar, para basma işini GPU ve CPU gibi makinelerin güçlerine göre dağıttıklarından dolayı gerçek zamanlı olan ve aslında anında işleyebilecekleri ödemeleri hafıza havuzu (mempool)’da biriktirip
belirledikleri zorluk değerine uygun hash özetini bulana kadar nonce adında bir rakamı rassal veya sürekli artacak şekilde değiştirip tekrar tekrar deneyerek madencilik yapıyorlar. Bu çözüm, bir dijital parayı değer saklama aracı olarak kullanmak isterseniz dahice.
Fakat bu dijital paraları kahve ücretini ödemek veya internetten bir ürün satın almak üzere kullanılmaya kalktığınızda hem bu madencilere komisyon ödemek, hemde uzun süre beklemek zorunda kalmak bir dezavantaj olarak göze çarpıyor.
Paypal veya Western Union gibi büyük ödeme çözümlerinin gücü bildiğiniz üzere serverlarından ve yazılımlarından geçiyor.
Bizde web servisi olarak çalışan, merkezi olmayan, blockchain ile korunan bir uçtan uca bağlı (p2p) kripto para üzerine çalışmaya başladık. Böyle bir durumda sistemin ayakata kalabilmesi ve güvenliğin sağlanması için server maliyeti ödemek yerine sistemde node olan server’lar madencilik yapmak yerine sadece server oldukları için 44 saat boyunca online kalmak şartıyla ödeme alabilecekleri bir sistem kurduk. İnsanlar boşuna uğraşmak yerine gerçekten işe yarar bir hizmet verdikleri için bunun karşılığını alıyorlar.
Server olarak kaldıkları sürece ödüllendirildiklerinden dolayı insanların serverlarına bu sistemi kurmaları için bir neden doğmuş oluyor.
İnsanlar uçtan uca bir ödeme gönderdiğinde serverlar bu ödemenin zaman, gönderdici, alıcı, miktar, bir önceki işlemin özeti ve gerçektende göndericinin gönderdiğini belirten bir dijital imzanında içinde bulunduğu verileri zorluk gözetmeksizin sadece sonu 4A ile bitecek şekilde özetini bularak (Tüm sistemlerin ortak bir noktada buluşması ve ödemeleri doğrulayabilmesi için blockchain mimarisinin bir gerekliliği olduğu için bu özeti buluyorlar.) veritabanlarına eklerler. Herhangi bir şekilde blocksize, mining gibi kavramlar söz konusu olmadığı için kayıt işlemi anında gerçekleşir. Aynı saniye içinde 100 adet işlem gerçekleştiği taktirde oluşabilecek karmaşayı engellemek için instagram ve mozilla gibi şirketlerinde kullandığı celery project adında bir görev kuyruğu yönetim kütüphanesinden yararlanırız.
Güvenlik~
Eğer siteye girdiğinizde fark ettiyseniz visa’dan daha güvenli dedim.
Bu bir çokları için iddialı bir cümle olarak gözükebilir fakat bir internet sitesinden bir ürün aldığınızda aslında ne yaptığınızı iyi biliyorsanız aldığınız risklerin farkındasınızdır.

 Risk & Sorun~
private_key ~
Ödeme formunda bulunan kısma kredi kartı, cvv gibi bilgileri yazdığınız zaman ağda bulunan kötü niyetli kişiler bu formlardan gönderdiğiniz verileri okuyabilirler. Sırf bu yüzden ödeme çözümleri sizden sitenize SSL sertifikası eklemenizi isterler. bu SSL sertifikaları aslında kriptoloji kullanarak verilerinizi saklar ve alıcıya ulaşana kadar korurlar. Peki satıcı kötü niyeliyse ne olacak?
Çözüm~
4acoin Elliptic Curve Digital Signature Algorithm (ECDSA) dijital şifreleme algoritmasını kullanarak ödemelerinizi şifreleyerek ağa dijital şifrenizi vermek yerine ödemeyi yapmak istediğinizi teyit ettiğiniz bir imza gönderir. Bu aslında satoshi nakamoto’nun fikri ve bitcoin’de
p2pkh olarak geçiyor. Böylece aslında 4acoini kredi kartına benzetirsek kimse sizin kredi kartı bilgilerinizi hiç bir zaman görmemiş oluyor. Ayrıca SSL belgesinede artık ihtiyaç yok çünkü ağınızı dinleyebilen kötü niyetli bir kullanıcı’nın ödeme imzanızı görmesi hiç bir şeyi değiştirmez ki bu zaten her yerde açık olarak paylaşılır. Böylece ilk olarak güvenlik ve SSL gibi sertifika sorunlarından kurtulmuş olduk bile.
Komisyon Çözümü~
Yerel bir ödeme çözümünden faydalandığınız zaman %5 ile % 20 arasında satışlarınız üzerinden çalıştığınız firmalara komisyon ödemek zorunda kalırsınız. 4A Coin’de kullandığınız coinleri zaten node’lar ürettiği için sizden komisyon istemezler bu sayede ne transactionlar için
nede herhangi başka bir nedenle komisyon ödemezsiniz.
Cüzdanlar~
wallet_id ~ 4A01eaedb37fc09fdb94c6d632adf9f63d
cbc949239a333559f5dd8b0b5cf3d32923c2cab3 7c2bde9c8042a3dafe59a6b9
Cüzdanınız aslında bir ecdsa anahtar çiftidir. En başta bu iş için RSA’i kullandık fakat RSA’de keylerin çok fazla uzun olması ve gerekesiz yer kaplaması yüzünden ecdsa’ya geçiş yapmak zorunda kaldık.
Kullanıcılar’ın Public keyleri, private key’leri ve public keylerinin işlenmesi ile oluşmuş wallet adresleri bulunur. Public key sistemde kullanıcılar tarafından gözükmez. Onun yerine public keyin işlenmesi ile oluşan bir özetin kısa versiyonunu cüzdan olarak görürler.
def generate_wallet_from_pkey(public_key): binmnmn = public_key.encode('utf-8')
first_step = 34 - len(settings.CURRENCY) wallet_id = hashlib.sha256(binmnmn).hexdigest() wallet_id = wallet_id[-first_step:]
wallet_id = "".join((settings.CURRENCY, wallet_id)) return wallet_id
Bu fonksiyon basitçe verilen public keyin sha256 özetinden bir cüzdan yaratır. Public keyler dijital imzaların onayı için gereklidir bu yüzden işlemlerde public keyi saklamak gerekir.
Ödemeler~
Bir kullanıcı ödeme yaptığında, ödeme zamanı (epoch formatında & GMT), gönderici adresi, alıcı adresi, bir önceki işlemin özeti ve gönderilen miktar bir sözlüğe aktarılır. Bu sözlük farklı bilgisayarlarda farklı şekilde dizilebilir, bunu engellemek için bu sözlüğün içeriğinin a’dan z’ye düzenli bir şekilde ve herkeste aynı sonucu verecek şekilde dizilmesi gerekir.
data = collections.OrderedDict(sorted(data.items()))
Yukarıdaki kod ile global bir şekilde doğru çalışabilen stabil bir sözlük yaratabiliyoruz.
Son olarak bu sözlüğün özetini alarak veritabanına kayıt edip bunu kayıt ettiğimizi diğer serverlara broadcast yani yayın yapıyoruz.

 Peer to Peer~
Sistemin p2p olmasını sağlamak için tcp portundan ve web socket teknolojisinden yararlanırız. Scriptin çalışması için python3 kullanmak gerekir. Çünkü realtime işlemleri sağlayabilmek için twister matrix kütüphanesini ile Autobahn python kütüphanelerini kullanırız. Global olarak kullandığımız port 9000. porttur.
Realtime işlemlerde 3 farklı broadcasting tipi bulunur birincisi “hey merhaba ben yeni bir node’um lütfen beni ağınıza ekleyin” diğeri ise “hey merhaba ben yeni bir işlemim lütfen beni doğrulayın” şeklindedir. Bu server tarafında ayrıştırılarak gerekli işlemler yapılır. 3. broadcasting tipi proof of cloud kısmında açıklanacaktır.
Madencilik~
Toplamda 300.000.000 Premined olmak üzere toplamda 450.000.000 adet 4a Coin üretilecektir. 150 milyon adeti Proof of Cloud
olarak adlandırılan yöntem ile kazılacaktır.
Proof of Cloud~
Proof of cloud yada POC madencilik yerine server olarak süreye dayalı bir kazanç yöntemi anlamına gelir. Her bir node 44 saat online kalarak 44 saatin sonunda “hey merhaba ben 44 saattir online’ım son işlemlerimi inceleyerek online olup olmadığımı yani veritabanımı kontrol edin.” diye bir mesaj gönderir. eğer son 44 saattir işlemleri onayladığını kanıtlarsa ödülü almaya hak kazanacaktır.
Celery & Redis~
Sistemde belirli işlemlerin belirli saatlerde tekrar etmesi için görevleri otomatik olarak kontrol etmeye yarayan bir kütüphane olan Celery’i kullanırız. Celery çalışmak için redis’e ihtiyaç duyar. REDİS saf sürüm olarak Linux üzerine yazılmış açık kaynaklı
NoSQL(NoSQL : Şemasal olarak “ilişkisel olmayan” verileri depolayan veritabanı sistemlerine verilen addır.NoSQL tam anlamıyla “SQL Kullanılmıyor” değil “Sadece SQL Kullanılmıyor” anlamına gelen “not-only- SQL” anlamında kullanılıyor.) yazılımıdır.
Sistemin ayakta kalması~
Sistemin yüksek yükleri kaldırabilmesi ve dayanıklılığını sağlamak için Python WSGI HTTP Server olan Gunicorn 'Green Unicorn’ ve Nginx kullanırız; Nginx; yüksek eş zamanlı çalışma kabiliyeti, yüksek performans ve düşük hafıza kullanımına odaklanılarak tasarlanmış bir Web sunucusudur. Aynı zamanda ters vekil sunucusu, yük dengeleyici ve HTTP ön belleği olarak da kullanılabilir.
Tüm bu sistemleri sürekli ayakta tutabilmek için aslında supervisord kullanıyorduk fakat supervisord python3 ile çalışmadığı için mozilla vakfının geliştirdiği circusd kullanmaya başladık ve supervisiord’dan daha fazala memnun kaldık. Kurulumu ve kullanımı çok daha kolay yalnız çalışmak için tornado framework’e ihtiyaç duyuyor ve tornado’nun 4.5.3 sürümüyle doğru çalışıyor. Zaten requirements.txt ‘de otomatik olarak bu versiyon kuruluyor fakat bu detayı bilmeniz önemli.
2  Alternate cryptocurrencies / Altcoin Discussion / 4A Coin on: May 04, 2018, 03:08:47 PM


RoadMap
ICO Start                                                        : 14 May 2018
ICO Finish                                                       : 26 June 2018
Process of getting listed on the stock exchange  : June 2018
Testnet release date                                         : August 2018
Local Wallets                                                   : 2018 Last Quarter
Mainnet Release Date                                       : 2019 First Quarter
Transfer of ERC-20 Tokens to 4A Coin Blockchain: 2019 Second Quarter



Social Media Accounts:

Twitter.     : https://twitter.com/4acoin
Facebook  : https://www.facebook.com/groups/4acoin/
Telegram  : https://t.me/coin4a
Web Site  : http://4acoin.org
GitHub     : https://github.com/4acoin/4acoin

Whitepaper :
4A Coin: A web-based cryptocurrency
Summary~
Because the first generation cryptocurrencies such as Bitcoin, Ethereum and Litecoin distribute the money issuing task according to the power of machines such as GPU and CPU,
they accumulate the payments in the mempool and they mine by changing the nonce number randomly or by continuously increasing it and trying repeatedly until they find a hash summary that matches the difficulty they specify, instead of processing the payments made in real-time instantly. This solution is ingenious if you want to use digital currency as a value storage tool.
But when you try to use these digital currencies to pay for coffee or purchase a product online, it stands out as a disadvantage since you have to pay commissions to those miners and have to wait too long.
As you know, the power of large payment solutions, such as Paypal or Western Union, comes from their servers and software.
We also started working on a non- centralized, blockchain-protected end-to- end (P2P) cryptocurrency that works as a web service. In such a case, for the system to survive and ensure security, instead of paying for the server cost, we set up a system where servers, that are nodes in the system, can get paid, provided they just stay online for 44 hours instead of mining. People get paid for a useful service they provide instead of wasting their time.
There will be a reason for people to install this system on their servers because they are rewarded as long as they remain as servers.
When people send an end-to-end payment, the servers, by finding a summary of this payment (They find this summary in order for all systems to meet at a common point and validate payments, and because it is a necessity of the blockchain architecture), ending with 4A, including the time, the sender, the receiver, amount, summary of the previous transaction and the data contained in a digital signature indicating that the sender is actually sending it, without any difficulty and they add it to their databases. Because there are no such concepts as block size or mining involved in any way, the registration process is completed instantly. We use a task queue management library called Celery Project, which is used by companies such as Instagram and Mozilla to prevent complication that may occur if 100 transactions take place within the same second.
Security~
If you noticed when you entered the site, I told you that it was safer than Visa.
This may seem an ambitious sentence for many, but if you actually know what you're doing when you buy a product online, you are aware of the risks involved.
network.
Risk & Problem~
private_key ~
When you type information in the payment form, such as credit card, CVV, and so on, malicious people on the web can read the data you send through these forms. Just because of this, payment solutions require you to add an SSL certificates to your site. These SSL certificates actually save your data using cryptography and protect it until it reaches the recipient. Well, what if the seller has bad intentions?
Solution~
4A Coin encrypts your payments using the Elliptic Curve Digital Signature Algorithm (ECDSA) and sends a signature confirming that you want to pay instead of giving your digital password to the network. This is actually the idea of Satoshi Nakamoto and it is
known as P2PKH in Bitcoin. So if we actually compare 4A Coin to a credit card, then no one will ever see your credit card details. In addition, SSL certificate is no longer needed because a malicious user who can tap into your network seeing your payment signature won't change anything, besides it is already publicly shared everywhere. Thus, we have already gotten rid of certificate issues like security and SSL in the first place.
Commission Solution~
When you benefit from a local payment solution, you will have to pay a commission to the companies you work with, between 5% and 20% of your sales. The coins you use in 4A Coin are already generated by the nodes, so they do not ask for a commission.
Thanks to this, you do not pay commissions for transactions nor for any other reason.
Wallets ~
wallet_id ~ 4A01eaedb37fc09fdb94c6d632adf9f63d
cbc949239a333559f5dd8b0b5cf3d32923c2cab3 7c2bde9c8042a3dafe59a6b9
Your wallet is actually an ECDSA key pair. At first, we used RSA for this, but we had to switch to ECDAS because the keys were too long in the RSA and were taking too much space.
Users have public keys, private keys, and wallet addresses created by processing public keys. Public key is not visible to users on the system. Instead, they will see a short version of a summary generated by public key processing as their wallet.
def generate_wallet_from_pkey(public_key): binmnmn = public_key.encode('utf-8')
first_step = 34 - len(settings.CURRENCY) wallet_id = hashlib.sha256(binmnmn).hexdigest() wallet_id = wallet_id[-first_step:]
wallet_id = "".join((settings.CURRENCY, wallet_id)) return wallet_id
This function simply creates a wallet from the simply given public key's SHA-256 summary. Public keys are required for the approval of digital signatures, so it is necessary to keep the public key in transactions.
Payments~
When a user makes a payment, the payment time (in epoch format & GMT), the sender's address, the recipient's address, the summary of the previous transaction and the amount sent are transferred to a dictionary. This dictionary can be sorted differently on different computers, and to prevent this, the contents of this dictionary must be organized in a way that is ordered from A to Z, and will give the same result in everyone.
data = collections.OrderedDict(sorted(data.items()))
With the above code, we can create a stable dictionary that can work globally.
Finally, we take a summary of this dictionary and record it in our database, and broadcast it to other servers that we have recorded it.
Peer to Peer~
We use the TCP port and web socket technology to ensure that the system is P2P. For the script to work, you need to use Python3. Because, we use the Twister Matrix Library and the Autobahn Python libraries to provide real time transactions. The port we use globally is the 9000th port.
There are 3 different types of broadcasting in real time processes: The first one is “Hi, I'm a new node, please add me to your network” and the other one is “Hi, I'm a new process, please verify me”. This is parsed on the server side and necessary actions are taken. The third broadcasting type will be explained in the proof of cloud section.
Mining ~
A total of 450 million of 4A Coins will be issued with 300.000.000 Pre-mined. 150 million coins will be mined by a method
called Proof of Cloud.
Proof of Cloud~
Proof of Cloud or POC refers to a method of earning based on time as a server instead of mining. Each node, by staying online for 44 hours, will send a message as "I have been online for 44 hours, so check my database to see if I have been online by reviewing my recent transactions." If it proves that you have approved transactions for the last 44 hours, you will be eligible to receive the reward.
Celery & Redis~
We use Celery, a library that automatically controls tasks so that certain processes can be repeated at certain times in the system. Celery needs Redis to work. Redis is an open source NoSQL
(NoSQL is the name given to database systems that store “non-relational” data schematically. NoSQL is literally being used in the sense of "not-only- SQL", which means "only SQL is not used".) software written on Linux as the pure version.
Keeping the system up and running~
We use Gunicorn 'Green Unicorn' and Nginx, the Python WSI HTTP Server, to ensure that the system can handle high load and maintain its endurance; Nginx is a Web server designed to focus on high concurrency, high performance and low memory usage. It can also be used as a reverse proxy server, load balancer, and HTTP cache.
We were actually using Supervisord to keep all these systems up and running, but since Supervisord did not work with Python3 we started using Circusd developed by the Mozilla Foundation and we were more satisfied with it than Supervisiord. It is much easier to install and use, requires Tornado framework to work on its own, and works correctly with the 4.5.3 version of Tornado. This version is already installed automatically in requirements.txt, but it is important that you know this detail.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!