Skip to content

Instantly share code, notes, and snippets.

Brett Sun sohkai

Block or report user

Report or block sohkai

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 instrumented_list.json

Creating a new Survey DAO on mainnet (by hand)

First: you must have a pre-existing Minime token already deployed to mainnet.

Creating a DAO

To create a DAO with the Survey app installed, you can send a transaction to our Survey DAO factory (0xb5ba20a4e9167b640311a0c10d773bb143db5e39), calling newInstance().

If you look at the tx we used to create our (Aragon) DAO:, you can take the input data and change a few areas:

  • Replace 960b236a07cf122663c4303350609a66a7b288c0 (ANT token) with your-minime-token-address
View survey-kit.json
"constant": true,
"inputs": [],
"name": "APM_NODE",
"outputs": [
"name": "",
"type": "bytes32"
View stylus_github.css
.tooltipped::after {
font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important;
body {
font-size: 13px !important;
line-height: 1.4 !important;
View Aragon <> Zeppelin Package

Aragon <> Zeppelin Package Management

  • Aragon Package Manager
    • Constraints on Repos?
      • Currently only one contract address and one content URI available per version in a Repo
        • Changing the contract address is more dangerous than a content URI change, so it's only possible to change it via major versions (checked on chain)
    • Number of deployed repos?
      • 10 < x < 100
    • Does aragonOS use the package manager?
      • Not directly on chain; our upgradability architecture is based on the organization installing their preferred versions vs. relying on the package manager
sohkai /
Last active Jul 18, 2018
Dapp UX Workshop #1

Dapp UX Workshop #1

  • Goals:
    • Investigate aragon-ui and whether the Giveth Dapp could use it in the future
      • The Dapp will be redesigned soon, would be great to collaborate on the redesign
  • aragon-ui
    • Meant to be fully generic UI toolkit, hopefully widely adopted even outside of the blockchain space
      • There will be some ethereum-specific UI components (e.g. addresses, components for optimistic transaction UIs) so the community doesn't have to keep solving the same problems
      • General design strategies and guidelines for both blockchain and non-blockchain specific use cases
sohkai /
Created Aug 9, 2016
Keybase identity

Keybase proof

I hereby claim:

  • I am sohkai on github.
  • I am sohkai ( on keybase.
  • I have a public key whose fingerprint is AA21 0DD3 65CF 1176 1168 D83D 274F EB9E 9F9A 9A14

To claim this, I am signing this object:

sohkai / cvim.rc
Last active May 11, 2016
View cvim.rc
" Scroll settings
unmap e s w " Unmap extra scroll bindings
map ^ scrollToLeft
" Misc settings
unmap r zr gR cr " Unmap reload bindings
unmap ge gd " Unmap downloads and extension pages
" Tab settings
unmap gt K R gT J E " Just use <C-h> and <C-l> to navigate tabs
sohkai / gist:5c8f862b4496b41dc681
Last active Oct 2, 2017
Javascript URL Regex
View gist:5c8f862b4496b41dc681
* Should be used with /i flag as well as the /g flag if looking for multiple matches
* Notes:
* Ignores schemes other than http(s).
* Captures emails as otherwise it would match the `` in ``,
* producing (what I think is) more surprising behaviour than the alternative.
You can’t perform that action at this time.