graphprotocol / research

Research, proposals, papers, and specs
48 stars 9 forks source link

Update District0x mapping example to use AssemblyScript/WASM #35

Closed Zerim closed 6 years ago

Zerim commented 6 years ago

Resolves #31

We may want to add more to the mappings API design as we encounter more use cases or discover more limitations of AssemblyScript/WASM but I think this covers us for the current research spike.

This includes a mapping written in AssemblyScript, as well as an accompanying Data Source Definition.

Note that there are significant limitations with AssemblyScript that influenced some of the API design shown here.