Skip to content

Instantly share code, notes, and snippets.

View masonforest's full-sized avatar

Mason Fischer masonforest

View GitHub Profile
var MetaCoin = artifacts.require("./MetaCoin.sol");
contract('MetaCoin', function(accounts) {
it("should put 10000 MetaCoin in the first account", function() {
return MetaCoin.deployed().then(function(instance) {
return instance.getBalance.call(accounts[0]);
}).then(function(balance) {
assert.equal(balance.valueOf(), 10000, "10000 wasn't in the first account");
});
});
0xe7410170f87102df0055eb195163a03b7f2bff4a
0x28Af5461CaD683041bd3666851f2c066277088a5
0x70ec465e6e3408bcba082c0e9a7c5b66728b2035
0x66f87894f74974163f26fe7c811cbf5644f1a00c

Keybase proof

I hereby claim:

  • I am masonforest on github.
  • I am masonforest (https://keybase.io/masonforest) on keybase.
  • I have a public key whose fingerprint is 6C65 197C F223 A0DF 0962 FCFF FD49 8A4E EAE1 DC59

To claim this, I am signing this object:

0x70ec465e6e3408bcBA082c0E9a7C5b66728b2035
0x70ec465e6e3408bcBA082c0E9a7C5b66728b2035
0x70ec465e6e3408bcBA082c0E9a7C5b66728b2035
0xc795bAC3BCba900350bCb6d6DFeC89c274B7382F