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

Smart Contracts from CryptoZombies tutorial #212

Closed
mich-master opened this issue Sep 6, 2021 · 2 comments
Closed

Smart Contracts from CryptoZombies tutorial #212

mich-master opened this issue Sep 6, 2021 · 2 comments
Assignees

Comments

@mich-master
Copy link
Contributor

mich-master commented Sep 6, 2021

The issue has been changed to be more general and review whole tutorial.
The source is https://cryptozombies.io/en/lesson/6/chapter/9

@Zzzzipper Zzzzipper pinned this issue Sep 6, 2021
@Zzzzipper Zzzzipper unpinned this issue Sep 6, 2021
@mich-master mich-master changed the title Контракт https://github.com/loomnetwork/cryptozombies-lesson-code/blob/master/lesson-1/chapter-13/Contract.sol Smart Contracts from CryptoZombies tutorial Sep 8, 2021
@mich-master
Copy link
Contributor Author

mich-master commented Sep 8, 2021

The deployment of smart contracts passed correctly.
Read and write operations via Remix executed correctly.
Transaction execution from browser client via web3.js library and MetaMask failed.

@mich-master
Copy link
Contributor Author

The problem is MetaMask doesn't inject window.ethereum ( and web3 ) objects into browser runtime if dApp is loaded from local file system.
A user has to load dApp from Web server via HTTP. If a user does so, MetaMask injects objects and a transaction executes correctly.

arkadyone pushed a commit to arkadyone/neon-evm that referenced this issue Nov 25, 2022
afalaleev pushed a commit that referenced this issue Oct 27, 2023
* Add 'write version' to EmulateRequestModel
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

No branches or pull requests

1 participant