Skip to content

Instantly share code, notes, and snippets.

{
"name": "IS Collectible #1",
"decimals": 0,
"description": "The long-await initial vid",
"image": "https://i.picsum.photos/id/544/200/300.jpg?hmac=YL3M_fg_84Kqg0EQTvbltmjeGeQetARWPFA5YLn5hS0",
"properties": {
"GEN": "AP",
"LVL": 0,
"QTY": 100,
"EDN": "2AP"
@Schwartz10
Schwartz10 / signObservations.md
Last active December 17, 2019 15:30
A description and relevant links of lotus filecoin WalletSignMessage process

WalletSignMessage gets called.

Here's an example Message type in json:

{
  "To": "t1hvuzpfdycc6z6mjgbiyaiojikd6wk2vwy7muuei",
  "From": "t1jdlfl73voaiblrvn2yfivvn5ifucwwv5f26nfza",
  "Nonce": 0,
 "Value": "1000",
@Schwartz10
Schwartz10 / lotus-explorer.md
Last active December 7, 2019 00:38
Update on lotus-backed block explorer

We have a working version of the block explorer that uses lotus instead of go-filecoin to collect blocks.

Screen Shot 2019-12-06 at 6 47 19 PM


Screen Shot 2019-12-06 at 6 49 22 PM

It will be fully functional after we answer the following questions:

1. How do we use the GetTipSetByHeight jsonrpc method? The method takes a height, and a TipSet - which to us is a bit confusing. Why would we pass a tipset to the method that returns a tipset at the height we're looking for? We tried to manually construct this request with a known (hardcoded) tipset, with no luck.

@Schwartz10
Schwartz10 / experimental_oe.md
Last active November 18, 2019 21:32
Development plan for experimental OE

The idea is to put out an experimental version of Open Enterprise with all the features we've been working on since AGP19.

Features:

  1. profiles
  2. 3box identity resolution
  3. discussions in dot-voting
  4. org profile with quasar
  5. projects app using quasar
  6. org profile indexed on the web (through apiary)
@Schwartz10
Schwartz10 / filecoin-network-stats-bug.md
Last active November 14, 2019 05:01
Bug in filecoin-network-stats description

It's possible this isn't the only problem causing the stats dashboard to get stuck at height 4683, but we're nearly certain it's one of them. You can replicate the logging by pulling this commit.

Chainsaw fetches a block with tipset bafy2bzaceaxd64ic4e36kbkn3apxdbjkknrdar7kozc552pd55aurowy5kocs and block height 4684. One of the messages in this block represents an addAsk method. The param passed to this method (gkSAwtcvQA==) chokes up when it gets decoded https://github.com/openworklabs/filecoin-network-stats/blob/master/backend/src/client/ABI.ts#L68.

Essentially the param passed in the message gets “chunked” into 2 buffers, the second of which appears to be an empty buffer, which goes on to get decoded by the BigIntDecoder https://github.com/openworklabs/filecoin-network-stats/blob/master/backend/src/client/ABI.ts#L22. The BigIntDecoder attempts to decode the empty buffer, but returns “NaN” i

@Schwartz10
Schwartz10 / V0-streamEvent.json
Last active May 14, 2019 01:06
A first take at streams json schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gist.github.com/Schwartz10/15a159e237a47bea4692d13b1cf013ea",
"title": "StreamEvent",
"description": "An event in a stream",
"type": "object",
"properties": {
"type": {
"description": "The type of stream event that occured",
"type": "string"
3Box is a social profiles network for web3. This post links my 3Box profile to my Github account!
✅ did:muport:QmVeu21orsV47p4FTinBF5L9nR7tFbVWp4WQtWhxNbFgVA ✅
Create your profile today to start building social connection and trust online. https://3box.io/

Keybase proof

I hereby claim:

  • I am schwartz10 on github.
  • I am schwartz10 (https://keybase.io/schwartz10) on keybase.
  • I have a public key ASARzC0C08HwCk043igtY4oncq9PVn8SlC9do0lE8DHMlgo

To claim this, I am signing this object: