Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ethers from main #118

Merged
merged 2 commits into from
May 7, 2022
Merged

Remove ethers from main #118

merged 2 commits into from
May 7, 2022

Conversation

stobiewan
Copy link
Collaborator

This is the ethers removal component of #114 . CID functionality is untouched.

The provider is now an object which is compatible with an ethers contract for use in dmap.js, there's a few reasons for this. It means dmap.js can still work when used without the UI for stand alone usage or in tests, keeps this PR small, and makes merging with the other ethers branch easy by not touching dmap.js.

UI now works if at least one of window.ethereum, or the node at ethNode (configured for cors like --http.corsdomain '*') can respond with ethereum mainnet results.

@nmushegian nmushegian merged commit 4ca00ee into finalize May 7, 2022
@stobiewan stobiewan deleted the remove-ethers-from-main branch May 8, 2022 22:27
nmushegian added a commit that referenced this pull request May 16, 2022
* rearrange for mock deploys

* buildweb

* buildweb

* clean

* finalize

* clean

* force gh pages build

* clean

* Create CNAME

* gardening

* gardening

* style

* fix command

* demo

* Move cid (#112)

* fix CID utils for lock location
move CID utils to app
lib uses release pack

* update output

Co-authored-by: stobiewan <[email protected]>

* clean

* trace walk

* dont overwrite dmap with mock dmap

* Remove ethers from main (#118)

* use RPC calls in place of ethers in main.js

* add address to dmap facade

Co-authored-by: stobiewan <[email protected]>

* Remove Ethers Dependencies (#117)

* very rough utils file; replace BigNumber, toHexString, and hexZeroPad in dmap.js

* no typescript; replace BigNumber, toHexString, hexZeroPad

* replace keccak256 with base js-sha3 wrapper for strings

* remove dependency on ethers abi encoder

* homegrown calldata for funcs with bytes32 args; no more ethers for dmap

* clean up utils file

* consolidate

* consolidate

* fix tests for combined utils (#119)

Co-authored-by: stobiewan <[email protected]>

* cut ipfs http client (#120)

Co-authored-by: stobiewan <[email protected]>

* use infura if no node and no window.ethereum (#121)

Co-authored-by: stobiewan <[email protected]>

* cut buffer and first half of dependencies (#122)

Co-authored-by: stobiewan <[email protected]>

* readme

* clean walk output

* include address in page

Co-authored-by: stobiewan <[email protected]>
Co-authored-by: stobiewan <[email protected]>
Co-authored-by: dmfxyz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants