oasisprotocol / sapphire-paratime

Oasis Sapphire - the confidential EVM-compatible ParaTime for the Oasis Network
https://oasisprotocol.org/sapphire
Apache License 2.0
39 stars 27 forks source link

Update React tutorial #283

Open aefhm opened 8 months ago

aefhm commented 8 months ago
SUMMARY

We received some requests for a demo or example with React. We have a minimal example here. Let's test/confirm and then highlight it in our documentation.

Note. I think https://github.com/oasisprotocol/demo-oasisswag is the only demo we have that utilizes React, but unfortunately does not wrap Ethers or other ETH calls.

ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
matevz commented 2 months ago

FYI the hardhat-boilerplate example used in the Browser chapter is not being maintained by upstream for a while now: https://github.com/NomicFoundation/hardhat-boilerplate

It seems feasible, if we ported https://github.com/oasisprotocol/demo-starter frontend to a modern web3 React stack and se it in the Browser chapter instead. At hackathons, people generally prefer React to other frameworks.

rube-de commented 2 months ago

current readme of the hardhat-boilerplate also misses the building of the sapphire packages since it's in the monorepo. (see on-chain signer readme)