create account

Playing Around with Idena by lukestokes

View this thread on hive.blog
· @lukestokes ·
$9.45
Playing Around with Idena
I've been on a few panels discussing digital identity and the need for both radical transparency **and** absolute encrypted privacy. The future of our existence, in many ways, is digital and already here. Humans truly interacting together digitally requires a proof of humanity mechanism that gives you one and only one entry to the system (to avoid Sybil attacks).

Last night (on my birthday, no less), I was reading this paper: <a href="https://arxiv.org/pdf/2008.05300.pdf">Who Watches the Watchmen? A Review of Subjective Approaches for Sybil-resistance in Proof of Personhood Protocols</a>. 

Here's a summary of some key points:

"Decentralized Identity Trilemma”: sybil resistance, self-sovereignty and privacy-preservation

Key Features:
- Decentralization
- Privacy preservation
- Scalability

Applications:

- UBI
- Peer-to-Peer Governance
- Public Goods Funding
- Quadratic Voting and Quadratic Funding
- Social Media
- Airdrops
- Decentralized Oracles
- Peer-to-peer economy

A Taxonomy of Approaches:

1. Reverse Turing Tests
1. Pseudonym Parties
1. Web of Trust
1. Intersectional Identity
   1. sociality, intersectionality and redundancy
1. Token Curated Registry
1. Decentralized Autonomous Organizations

As I started reading the paper, <a href="https://twitter.com/lukestokes/status/1345556839212179456">I immediately thought about how DAOs could be used</a> to prove identity, and then later on I saw this:

<blockquote>
DAOs are highly likely to entail human decision-making in their functioning. Thus, their activities may be thought of as 'human entropy', observable on-chain, serving as a meaningful substrate for different aspects of Proof of Personhood solutions.
</blockquote>

Then it got into some examples:

1. Idena Network
1. HumanityDAO (no longer running)
1. Kleros
1. Upala
1. BrightID
1. Duntier
1. Equality Protocol

I've played around with BrightID before (which has some similarities to http://pseudonympairs.tech/ and some say borrowed from it), am really interested in some new solutions like https://www.keychain.org/ or Cardano's https://www.atalaprism.io/ but the one that caught my attention last night was Idena.

# Idena

https://idena.io/

<a href="https://idena.io/">![image.png](https://files.peakd.com/file/peakd-hive/lukestokes/tKbOLbLs-image.png)</a>

I was immediately intrigued by their process for proving humanity with "flips". you can see a video of how it works here (2x the speed to get through it faster):

https://www.youtube.com/watch?v=UYEc3Ku3AC0

<div class="pull-right"><img src="https://files.peakd.com/file/peakd-hive/lukestokes/hbFMEUSo-image.png" /></div>

You have to have an invite code to be added to the network (which you can get from the Telegram or Discord), but ideally get it from someone trustworthy as it seems there is a way to cancel an account before it's fully verified. To get onboard, download and sync up a full node wallet (which I did last night) and use your invite code. As luck would have it, the next validation event was this morning at 9:30am AST!

So I went through the whole ritual, and it only took me about ten minutes. I sort of <a href="https://twitter.com/lukestokes/status/1345723201947652098">live tweeted it</a> as I went. You can see the <a href="https://scan.idena.io/identity/0x87edadba28c6ed511e530ff31e0e0fe6089d1842#validations">proof my validation here</a>.  I've got a calendar item set for the next validation event, and I've already constructed three new flips (which is actually kind of fun). :)

For various reasons (see my other posts on this topic), I think something like a <a href="https://peakd.com/basicincome/@lukestokes/outside-the-tribal-meme-space-ubi-for-non-socialists">Universal Basic Income</a> or <a href="https://bytemaster.medium.com/universal-resource-inheritance-505e7ca4d048">Universal Resource Inheritance</a> is coming, and it requires Sybil attack resistance. This is why digital identity and proof of individual humanity is so important and why it needs to be done autonomously via a blockchain. I don't want violent governments or corrupt central bankers running these programs.

Idena solves this in an interesting way. But instead of saying, "Hi, my digital name is 0x87edadba28c6ed511e530ff31e0e0fe6089d1842" we can use a much more friendly FIO Address like luke@stokes.

I mapped my Idna public address to my FIO Address which you can see as number 19 <a href="https://fio.bloks.io/address/luke@stokes">on the blockchain here</a>: 

![image.png](https://files.peakd.com/file/peakd-hive/lukestokes/9PuWu6zf-image.png)

Now keep in mind, I chose to expose my Idna identity and connect it to my real world identity. You don't have to do this, and it's not recommended if you live in a country where privacy is critical to your safety. Personally, I choose to live radically transparently, but so far I have the privilege to do so. If you do not, use an anonymous FIO Address.

This got me thinking, how do I prove, from the Idena side, that the private key for 0x87edadba28c6ed511e530ff31e0e0fe6089d1842 is the person who also controls the FIO Address luke@stokes?

With some help from the community, I found a rather convoluted way to do it, but it gave me ideas of what might be possible. Thanks to `RealMahmoud#7286` in the Discord, I was pointed to his tools here: https://realmahmoud.github.io/IdenaDevTools/ and the RPC tool here: http://rpc.idena.io/

The basic idea was to put a message on chain that says "My Verified FIO Address is luke@stokes". After various approaches, it seemed the simplest way was to send a transaction with this in the payload. Here's how we did that:

1. Using IdenaDevTools (or any string to hex converter), convert the message into hex, which gives us: `0x4d792056657269666965642046494f2041646472657373206973206c756b654073746f6b6573` for the message `My Verified FIO Address is luke@stokes`.
2. Get your RPC private key so you can connect directly with your running local node. On my mac, that's in ~/Library/Application Support/Idena/node/datadir/api.key We'll call this "apikey12345" for this example.
3. Have your Idna private key handy. We'll call his "myprivatekey123" for this example.
4. Use curl or a similar tool to fire off this transaction to the network, but use your actual api key and private key and replace the "X" after nonce with a number:
   ```
   curl -X POST -H 'content-type:application/json;' http://localhost:9119 --data @- << EOF
   {
       "method": "dna_sendTransaction",
       "id":16,
       "params": [
       {
         "txType": 0,
         "from": "0x87edadba28c6ed511e530ff31e0e0fe6089d1842",
         "to": "0x87edadba28c6ed511e530ff31e0e0fe6089d1842",
         "amount": 0.01,
         "maxFee": 0.01,
         "tips": 0,
         "nonce": X,
         "epoch": 61,
         "payload": "0x4d792056657269666965642046494f2041646472657373206973206c756b654073746f6b6573",
         "key": "myprivatekey123"
       }
       ],
       "key": "apikey12345"
   }
   EOF
   ```
5. If you get an error about the nonce, just increase the number. You may also have to adjust the epoch number to fit the epoch you're currently in which you can find from the block explorer.
6. If you did things correctly, you'll get a result like so:
      ```{"jsonrpc":"2.0","id":16,"result":"0xed1bd440c33e6f7e0d84808daa39f22d92b9394b8a4d550f0123a413dfa624f2"}```
   which you can verify on the block explorer like so: https://scan.idena.io/transaction/0xed1bd440c33e6f7e0d84808daa39f22d92b9394b8a4d550f0123a413dfa624f2
7. Now you can take the raw transaction there: 0x0a540805103d221487edadba28c6ed511e530ff31e0e0fe6089d18422a072386f26fc1000032072386f26fc1000042264d792056657269666965642046494f2041646472657373206973206c756b654073746f6b657312413b43dee68a486f472d28df256e6bc728cbbb36b90c7654471131bd34c3d8c6f413c3175d94d019062bc54b273e3edd22c872b186f8b90b40cedaa2b158fd4d3300 and put it into the "Decode a RawTx" part of IdenaDevTools to get the details, including the payload which is 4d792056657269666965642046494f2041646472657373206973206c756b654073746f6b6573 and can be converted from hex to the string My Verified FIO Address is luke@stokes

Geeky, nerdy, and all that, sure, but it's an exciting step towards provable digital humanity. The first emails were sent via complicated SMTP commands and now we use nice interfaces like Gmail. Eventually, managing your digital identity and blockchain assets will be simple and intuitive and you can build reputation on your provable online identity that you control, not some government or corporation.

This is an example of the future, and Idena is an exciting tool. It's like a brick which can either build a house or break a window. We have to be very, very careful with this technology because if it gets into the wrong hands, we'll see totalitarian nightmares that make China's social credit system seem Libertarian. Blockchain data is forever. If you put yourself out there on chain, you are there forever.

Also, before you ask, I have not (as of the time of this writing) purchased any IDNA tokens. I do not yet see how the token itself will be valuable if most people will just sell them each month after earning them.

What do you think of digital identity solutions? Do you think they are important?
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 255 others
properties (23)
authorlukestokes
permlinkplaying-around-with-idena
categoryblockchain
json_metadata{"app":"peakd/2020.12.3","format":"markdown","tags":["blockchain","idena","identity","cryptocurrency","idna"],"users":["lukestokes","stokes.","stokes"],"links":["https://arxiv.org/pdf/2008.05300.pdf","https://twitter.com/lukestokes/status/1345556839212179456","http://pseudonympairs.tech/","https://www.keychain.org/","https://www.atalaprism.io/","https://idena.io/","https://idena.io/","https://twitter.com/lukestokes/status/1345723201947652098","https://scan.idena.io/identity/0x87edadba28c6ed511e530ff31e0e0fe6089d1842#validations","/basicincome/@lukestokes/outside-the-tribal-meme-space-ubi-for-non-socialists"],"image":["https://files.peakd.com/file/peakd-hive/lukestokes/tKbOLbLs-image.png","https://files.peakd.com/file/peakd-hive/lukestokes/hbFMEUSo-image.png","https://files.peakd.com/file/peakd-hive/lukestokes/9PuWu6zf-image.png"]}
created2021-01-03 18:39:57
last_update2021-01-03 18:39:57
depth0
children8
last_payout2021-01-10 18:39:57
cashout_time1969-12-31 23:59:59
total_payout_value5.250 HBD
curator_payout_value4.198 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9,253
author_reputation459,313,561,530,747
root_title"Playing Around with Idena"
beneficiaries
0.
accountpeakd
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,203,829
net_rshares49,625,806,333,598
author_curate_reward""
vote details (319)
@jacobtothe ·
I am skeptical of any and all ID schemes. It smacks of authoritarian "papers please, comrade" in a sphere built to be free from such things.

UBI is a scam from the start. Governments creating or redistributing money doesn't create wealth, it concentrates power in the hands of government thugs. Trying to make such a process honest is a fool's errand.
properties (22)
authorjacobtothe
permlinkre-lukestokes-qmditn
categoryblockchain
json_metadata{"tags":["blockchain"],"app":"peakd/2020.12.3"}
created2021-01-03 19:44:15
last_update2021-01-03 19:44:15
depth1
children6
last_payout2021-01-10 19:44:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length352
author_reputation218,652,000,387,556
root_title"Playing Around with Idena"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,204,503
net_rshares0
@lukestokes ·
Thanks for stating your opinion, but do you have a better plan for how humanity will deal with 40%-60% of all jobs going away due to automation and super intelligent AI? This won't be like the past because just about _every_ job position will be vulnerable.

Some previous writings on the topic:
* <a href="https://peakd.com/economics/@lukestokes/does-the-world-need-a-universal-basic-income-could-steem-power-it">Does the World Need a Universal Basic Income? Could Steem Power It?</a>
* <a href="https://peakd.com/artificial-intelligence/@lukestokes/the-morality-of-artificial-intelligence">The Morality of Artificial Intelligence</a>
* <a href="https://peakd.com/basicincome/@lukestokes/outside-the-tribal-meme-space-ubi-for-non-socialists">Outside the Tribal Meme Space: UBI for Non-Socialists</a>

The entire point is this _will be created_ no matter what. The key is ensuring we do it before governments using decentralized, self-sovereign blockchain solutions we control.

properties (22)
authorlukestokes
permlinkre-jacobtothe-qmdjbt
categoryblockchain
json_metadata{"tags":["blockchain"],"app":"peakd/2020.12.3"}
created2021-01-03 19:55:09
last_update2021-01-03 19:55:09
depth2
children5
last_payout2021-01-10 19:55:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length979
author_reputation459,313,561,530,747
root_title"Playing Around with Idena"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,204,627
net_rshares0
@jacobtothe ·
People have been proclaiming mass systemic unemployment due to technological advancement since the dawn of the industrial age. I hasn't happened. Labor is the most scarce of all factors of production, and tools multiply labor instead if replacing it. Labor is then free for new previously-unimagined ventures. There will most certainly be disruptions in the economy, but I haven't seen anything that seriously changes the trend.

If it weren't for the burdens imposed by taxation and cronyism, we would ne far wealthier than we are now. Technology isn't the threat, it is the people who promise to save us fron technology while monopolizing it for their own benefit.
properties (22)
authorjacobtothe
permlinkre-lukestokes-qmdk9s
categoryblockchain
json_metadata{"tags":["blockchain"],"app":"peakd/2020.12.3"}
created2021-01-03 20:15:33
last_update2021-01-03 20:15:33
depth3
children4
last_payout2021-01-10 20:15:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length666
author_reputation218,652,000,387,556
root_title"Playing Around with Idena"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,204,890
net_rshares0
@poshbot ·
https://twitter.com/lukestokes/status/1345804074248265730
properties (22)
authorposhbot
permlinkre-playing-around-with-idena-20210103t184805z
categoryblockchain
json_metadata"{"app": "beem/0.24.8"}"
created2021-01-03 18:48:03
last_update2021-01-03 18:48:03
depth1
children0
last_payout2021-01-10 18:48:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation3,277,216,042,894
root_title"Playing Around with Idena"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,203,907
net_rshares0