Skip to content

Instantly share code, notes, and snippets.

View artignatyev's full-sized avatar
Surreal is the new real

artiom artignatyev

Surreal is the new real
View GitHub Profile
#!/bin/bash
set -e
CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/tessdata/ "$1" stdout -l eng | xml esc)
hex=$((cat <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
@Dobrokhvalov
Dobrokhvalov / InviteLink.sol
Last active January 22, 2019 10:44
InviteLink module for ERC-1077

Ens Login iFrame draft proposal

Abstract

Iframe benefits

  • Better security: wallet provider code is loaded in a sandbox environment, can't read dapp's localstorage/cookies and can't track dapp location
  • Formalized specs: a wallet provider needs to provide a js code that can respond to the eip-1474 messages