/NFTree_v2

Primary LanguageTypeScript

NFTree

Send tree like graph structure that could represent evolution of NFT.

This is a version 2.0, rewritten, fixed and adjusted to work with Optimism 1.0. It originates from not working version for Optimism 1.0 that I was building with a great team during ETH Global hackathon.

-> get all dependencies

yarn install

-> compile contracts and generate typechain artifacts

yarn compile

-> run test case

yarn test

-> run test with local blockchain

yarn ts-node ./scripts/testCrossCheckComsL1toL2.ts

TODO: does not work the other way freezes on "Waiting for message to be relayed to L1..." - also happens in Optimism tutorial (not my error)

Issue reported on github

yarn ts-node ./scripts/testCrossCheckComsL2toL1.ts