Skip to content

Instantly share code, notes, and snippets.

View tomonari-t's full-sized avatar

tomonari_takahashi tomonari-t

View GitHub Profile
@voluntas
voluntas / gae_go.rst
Last active March 15, 2019 16:31
GAE/Go コトハジメ

GAE/Go コトハジメ

日時:2017-07-21
作:@voluntas
バージョン:0.6.0
URL:https://voluntas.githu.io/

突っ込みは Twitter @voluntas まで。

devp2p

Components

  • Distributed Peer Table (DPT) / Node Discovery
  • RLPx Transport Protocol
  • Ethereum Wire Protocol (ETH) / Application Layer

RLPx v4

  • v4 is currently the most widely used - (besides LES which uses v5)
  • v5 adoption is coming soon (check felix lange's devcon video below)
  • This summary based on geth implementation (~ 70% of ethereum nodes)
#define __WAIT 0xf1
#define __EXT 0xe0
#define __MAKE(code) code
#define __BREAK(code) 0xf0, code
#define __TYPE(code) __MAKE(code), __BREAK(code), __WAIT
#define __TYPE_EXT(code) __EXT, __MAKE(code), __EXT, __BREAK(code), __WAIT
#define __SCANCODE_SHIFT 0x12
#define __SCANCODE_CTRL 0x14
#define __SCANCODE_ALT 0x11

Ethereumのトークンが可能にするゲーム化された世界観の構築

68747470733a2f2f707261676d612d63757272792e636f6d2f77702f77702d636f6e74656e742f75706c6f6164732f323031382f30372f457468657265756d2e706e67

Ethereumは、今最もDapps開発で利用されているプラットフォームです。Dappsとは分散型アプリケーションの略称で、ブロックチェーン上にアプリケーションを配置する(デプロイする)ことで、中央管理者が不要なシステム構築を可能にしています。例えば、"トークン"と呼ばれる仮想通貨は、Ethereum上のDappsとして作成されているケースが多いです。

なぜEthereum上のDappsで多くの通貨が作成されているのでしょうか。それは、ERCと呼ばれる共通規格が他のプラットフォームに先んじて整備されていることが理由の1つでしょう。

ERCとはEthereum Request for Commentsの略称で、Ethereumに関連する技術仕様の提案書を指します。Ethereumのコミュニティは他のブロックチェーンコミュニティに比べ活発であるため、現在までに多くのERCが議論されています。

let state = [];
let setters = [];
let firstRun = true;
let cursor = 0;
function createSetter(cursor) {
return function setterWithCursor(newVal) {
state[cursor] = newVal;
};
}

明日の下書き


これはなに

  • 高円寺.dev #3 用の資料 https://koenji.connpass.com/event/160886/
  • フロントエンド専門じゃない人向けの、フロントエンドの最先端〜やや未来の話です
  • このレイヤーでは Node.js を使うべき/使うと強いという部分がありますが、他言語を否定しているわけではありません。むしろ他言語でこのアーキテクチャを模倣してほしいという話です。
@with-heart
with-heart / channels.md
Created May 10, 2022 23:29
Dev Guild Channels
  • Channels
    • List
      • 42 channels total
      • Grouped by Discord category
      • Legend
        • 🟢 = keep
        • 🟡 = keep if someone takes ownership
        • 🟠 = keep but move
        • 🔴 = archive
  • ❓ = not sure