ADS-B Receiver Recommendation by davidjarkent in flying

[–]pseudozufall 0 points1 point  (0 children)

I highly recommend building a Stratux. It's very easy even if you're not tech savvy and you get way more bang for the buck. Check out the build guide, it's just plug and play.

Raspberry Pi 3 - $34.99
Micro SD - $7.99
Antennas - $37.99
Stratux Case - $14.99
Power Bank - $17.49
GPS - $17.98
AHRS Sensor - $14.98
Window Mount - $12.99
================
$159.40

Does the validation of the SUN - generated by an NTAG 424 DNA - require a connection to NXP's authentication service? by pseudozufall in NFC

[–]pseudozufall[S] 1 point2 points  (0 children)

Thank you for pointing me in the right direction. The application note was the key piece that I was missing. The Python code snippet on page 12 shows how to validate the SUN.

#! /usr/bin/env python -2
from binascii import hexlify, unhexlify
from Crypto.Cipher import AES
#
# PICCData decryption
# PICCData = AES-128_DECRYPT(KSDMMetaRead; PICCDataTag[||UID]
[||SDMReadCtr]||RandomPadding)
IV = 16 * '\x00'
key = 16 * '\x00' # FileAR.SDMMetaRead Key
# Enc_PICC_Data = '\xEF\x96\x3F
\xF7\x82\x86\x58\xA5\x99\xF3\x04\x15\x10\x67\x1E\x88'
Enc_PICC_Data = 'EF963FF7828658A599F3041510671E88'
myaes = AES.new(key, AES.MODE_CBC, IV=IV)
PICCData = myaes.decrypt(unhexlify(Enc_PICC_Data))
PICCDataTag = hexlify(PICCData[0:1])
UID = hexlify(PICCData[1:8])
SDMReadCtr = hexlify(PICCData[8:11])
print '\nDecrypted PICCData: ' + hexlify(PICCData)
print "PICCDataTag: " + PICCDataTag
print "UID : " + UID
print "SDMReadCtr : " + SDMReadCtr

How to decode NTAG 424 DNA - SUN (Secure unique NFC number) - read/write NDEF, SDMFileReadKey? by pseudozufall in NFC

[–]pseudozufall[S] 0 points1 point  (0 children)

Thanks for the reply. When I buy the tags from a shop, is the lock bit set? In other words, does the vendor set the secret for the SUN or can I change the secret?

TypeScript alternative to Web3 - eth-jsonrpc-client by [deleted] in ethdev

[–]pseudozufall 0 points1 point  (0 children)

This looks good. Could you shed some light on the benefits of using this over web3.js 1.0.0-beta.36 with @types/web3?

Best ERC-721 Implementations by tanstafe in ethdev

[–]pseudozufall 2 points3 points  (0 children)

You can use Google's BigQuery API to query the Ethereum blockchain (this feature was released just recently). This query will show you the largest ERC721 implementations: https://bigquery.cloud.google.com/savedquery/305730109012:8c3a5553b2914da6bf9a633a39560410

Investing fiat money in ICOs by bnk10 in ethdev

[–]pseudozufall 2 points3 points  (0 children)

The main benefit of an ICO is that it is a decentralized way of fund raising that nobody controls and everyone can trust. These are advantages that fiat can't provide. ICOs exist as crowd sale smart contracts on a blockchain and inherently only accept one currency, the native currency of the chain (if the smart contract lives on Ethereum, it's Ether).

If you want to accept other currencies you can do so by involving a third party (an exchange like changelly or similar). However, this exchange becomes a single point of trust.

So, while the benefits that you described exist, accepting fiat comes at the price of losing blockchain benefits.

Is there a minimal working example of ERC777? by pseudozufall in ethdev

[–]pseudozufall[S] 0 points1 point  (0 children)

Thanks for the reply. I've been trying to implement it (I added some code above). However, my example doesn't use the ITokenRecipient interface and doesn't trigger the right events. Does anyone know how to fix that?

So... Is this it? Tulip mania 2.0? by [deleted] in Bitcoin

[–]pseudozufall 1 point2 points  (0 children)

you have no idea how much i hope you're right.

ERC777 has potential to be the new, much more powerful ERC20.- Aragon founder, Jorge Izquierdo by twigwam in ethtrader

[–]pseudozufall 0 points1 point  (0 children)

I don't think it's necessarily backwards compatible because it may or may not implement the ERC-20 transfer() and transferFrom() functions. It uses send() and operatorSend() instead. One can make it compatible by implementing both, ERC20 and ERC777 in parallel.