Skip to content

Instantly share code, notes, and snippets.

Fabian Vogelsteller frozeman

Block or report user

Report or block frozeman

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 gist:ce994065a3b048fb258dc8124c8551b3
## Full changelog
- Client binary refactor - asking user for permission before updating Geth (#1383)
- **.gitignore:** add 'npm-debug.log' (#1310)
- **codeclimate:** add config (#1381)
- **codeclimate:** enable GPA rating (#1410)
- **codeclimate:** fix eslint configuration in progress (#1389)

Keybase proof

I hereby claim:

  • I am frozeman on github.
  • I am frozeman ( on keybase.
  • I have a public key whose fingerprint is 3452 1ABF 002E C4CF 9F51 BB5F E51E ADA7 7F1A 4124

To claim this, I am signing this object:

frozeman / bruteforce-presale.js
Last active Mar 28, 2017
Presale wallet file brute force tools. This is to help people who don't exactly remember their passwords
View bruteforce-presale.js
const spawn = require('child_process').spawn;
var bruteForce = function(path, pw, callback) {
var error = false;
// start import process
var nodeProcess = spawn(nodeBinary, ['wallet', 'import', path]);
error = true;
frozeman / addressfixes.js
Last active Apr 2, 2016
Fixes the wallet links in the ethereum wallet
View addressfixes.js
// Open the wallet console: Menu -> Develop -> Toggle console ...
// Run the following script
_.each(Wallets.find().fetch(), function(item){
Wallets.update(item._id, {$set: {address: item.address.toLowerCase()}});
_.each(CustomContracts.find().fetch(), function(item){
CustomContracts.update(item._id, {$set: {address: item.address.toLowerCase()}});
frozeman / contract.js
Last active Feb 17, 2016
New contract object
View contract.js
// un"addresses" contract object
var myContrac2 = new web3.eth.contract(abi)
myContrac2.address = '0x12345678...'; // add address later
// initiate with address
var myContrac = new web3.eth.contract(abi, address)
// deploy contract
eventemitter = new web3.eth.contract(abi).deploy(param1, {data: '0x23456'});
frozeman /
Last active Mar 3, 2018
web3.js API changes

TODO: update web3.js examples ?

  • uses BN instead of BigNumber
  • added websockets and new events for these providers (web3.currentProvider.on 'connect', 'end', 'error', 'timeout')
  • changed web3.eth.sendRawTransaction -> web3.eth.sendSignedTransaction
  • added web3.eth.subscription
    • web3.eth.subscription('logs', {address: '0x12', topics: [], fromBlock: ''}) allows only fromBlock, use web3.eth.getPastLogs for a specifc range of past blocks.
    • subscriptions return events like:
      • for "logs": "error", "log", "deleted/reverted"
      • for syncing: "error", "started", "processing", "ended"
View gist:59da4a8213ff5a6c1bf7
Process: Electron [17945]
Path: /Users/USER/Sites/*/
Identifier: com.ethereum.wallet
Version: 0.3.8 (0.3.8)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Electron [17945]
User ID: 501
Date/Time: 2016-01-07 17:04:31.448 +0100
frozeman /
Last active Apr 24, 2019
Token proposal
frozeman / mistweb3.js
Last active Dec 9, 2018
Mist web3 loading proposal
View mistweb3.js
Basically "web3" comes from Mist,
but "Web3" CAN come from the dapp.
A Dapp has 3 ways to use web3.
2. and 3. would work when in Mist and outside.
// 1. simply use, web3 comes already defined
frozeman / MyToken.js
Last active Mar 9, 2018
MyToken solidity contract
View MyToken.js
This creates a public tradeable fungible token in the Ethereum Blockchain.
Unmodified this will create a cryptoasset with a fixed market cap
wholly owned by the contract creator. You can create any function
to change this contract, like allowing specific rules for the issuance,
destruction and freezing of any assets. This contract is intended for
educational purposes, you are fully responsible for compliance with
present or future regulations of finance, communications and the
You can’t perform that action at this time.