Skip to content

Instantly share code, notes, and snippets.

View hidehiro98's full-sized avatar
🎯
Focusing

Hidehiro NAGAOKA hidehiro98

🎯
Focusing
View GitHub Profile
@hidehiro98
hidehiro98 / KyberExample.sol
Created September 2, 2018 06:06
Contract example of the KyberNetwork after small modification
// KyberExample.sol 修正後
// https://developer.kyber.network/docs/DappsGuide#contract-example
pragma solidity 0.4.18;
import "./ERC20Interface.sol";
import "./KyberNetworkProxy.sol";
@hidehiro98
hidehiro98 / blockchain.py
Last active September 23, 2020 10:06
ブロックチェーンを作ることで学ぶ 〜ブロックチェーンがどのように動いているのか学ぶ最速の方法は作ってみることだ〜 ref: https://qiita.com/hidehiro98/items/841ece65d896aeaa8a2a
...
@app.route('/nodes/register', methods=['POST'])
def register_node():
values = request.get_json()
nodes = values.get('nodes')
if nodes is None:
return "Error: 有効ではないノードのリストです", 400
@hidehiro98
hidehiro98 / config
Last active June 7, 2017 00:58
macOS Sierraでの秘密鍵のパスフレーズ対応と、SSH keyのEd25519への変更 ref: http://qiita.com/hidehiro98/items/05a2d889bb4da816f479
Host *
AddKeysToAgent yes
UseKeychain yes