Skip to content

Instantly share code, notes, and snippets.

Phyrex Tsai PhyrexTsai

Block or report user

Report or block PhyrexTsai

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View BNS

BNS Enhancement

label hash should type by the string and then the setSubdomainOwner change the string using keccak256 to bytes32

View Install IPFS on

Install IPFS

sudo apt-get update
sudo apt-get install golang-go -y
tar xvfz go-ipfs_v0.4.15_linux-386.tar.gz
sudo mv go-ipfs/ipfs /usr/local/bin/ipfs
View Wanchain JSON PRC

Wanchain JSON RPC Provider

HTTP Provider:


This is an endpoints as your Wanchain client provider, use JSON RPC.


View Portal Network - Integration ENS with

Portal Network - Integration ENS with IPFS

This tutorial is how to post website/application on IPFS and link with ENS domains(.eth).

If you have any question please contact us for help:

View CallTest.js
var Caller = artifacts.require("Caller.sol");
var Callee = artifacts.require("Callee.sol");
var abi = require("ethereumjs-abi");
contract("Caller and Callee", function(accounts) {
it("invoke callee via caller", function() {
var caller;
var callee;
return Caller.deployed().then(function(callerInstance) {
caller = callerInstance;
View Caller.sol
pragma solidity ^0.4.11;
contract Caller {
event Log(address _address, uint256 _value, bytes _data);
function invoke(address _address, uint256 _value, bytes _data) {
if ( {
Log(_address, _value, _data);
View Callee.sol
pragma solidity ^0.4.11;
contract Callee {
uint256 public counter;
function addOne() {
counter = counter + 1;
function addNum(uint256 num) {
You can’t perform that action at this time.