[Report] Aha Labs: EiRs doing educational support & building dev tools. February 2022

One-liner: Support NCD learners; make tools & resources to ease learning NEAR.

Project Summary

Aha Labs offers professional guidance and insight to the NCD program and develops cutting-edge educational materials and tooling for anyone learning NEAR.

Project Members

Period

February 1-28, 2022

@chadoh’s highlights

  • Document new create-react-app template for NEAR and TypeScript
  • Reviewed applications for NCD
  • Recorded a video to help onboard new NCD Application Reviewers
  • Fix bug in near-api-js preventing easy use with server-side build tools like Gatsby and Next.js, which has still not been reviewed/merged into main NAJ project
  • Update long-lived, Aha Labs-maintained NAJ fork with above change; use it by changing your package.json’s "near-api-js" value to "AhaLabs/near-api-js#1.0.1"
  • Create full-featured Gatsby app with simple & powerful NEAR integration to be used in lessons & tutorials over the coming months
  • Help design & test-drive forthcoming witme-generated TypeScript for a given contract; see src/near/contracts/tenk.ts in the project above

@willemneal’s highlights

  • release wit-bindgen-gen-ts-near and wit-bindgen-core and wit-bindgen-parser to crates.io which generates TS from wit.
  • Made PRs to fix issues with witgen (17, 20)
  • Released witme a tool that combines the two tools above to make generating wit and TS one step
  • Incorporated witme into tenk so that TS docs can be automatically generated from the rust source tenk-nft
  • Used the contract class generated by witme in the tenk project’s scripts to help typecheck contract calls. See deploy script here
  • Started investigation into generating JSON schemas from generated typescript. This will allow validating arguments to contract calls at runtime and creating contract admin pages see witme PR 7
4 Likes