Comments (1)
Hello @Dreadox First of all you should compile and deploy the CarBattle.sol (That is deprecated and we should update it ) in a testnet or on ganache, using remix ide.
To solve CarBattle.sol you should update import from ERC721 from a dif blob of OpenZeppelin because they updated it, you also have to select compiler 0.6.2 on remix idle as mentioned on #1.
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/56de324afea13c4649b00ca8c3a3e3535d532bd4/contracts/token/ERC721/ERC721.sol";
After deploying you should copy contract address and update first line of the file web3setup.js that is inside of assets/js.
at the same file we should update the line 611 that contains if(r != "rinkeby") changing the name to the network in use, or you can just comment //alert("Connect Metamask to Rinkeby Testnet!")
on 612
After that you can host it on IPFS https://ipfs.io or use python if u want.
you have to install python, open cmd on project folder then:
python -m http.server
Hope this can help you, any question let me know.
from crypto-car-battle.
Related Issues (2)
- Hi Friend Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crypto-car-battle.