projectsophon / darkforest-local Goto Github PK
View Code? Open in Web Editor NEWRun your own local game of Dark Forest
Run your own local game of Dark Forest
I successfully can run a game locally.
However, in production I can create a lobby, but I always get Failed init proof check
when finding a home planet.
Here is my deployed site
And, here is an example of a transaction that failed .
I did recompile the circuits like the documents recommended. However, I am a little confused on how my frontend even knows what smart contracts to use. I deployed the smart contracts, but how does the client know to use those smart contracts versus smart contracts other's deployed?
Add resolutions
field at the end of package.json:
"resolutions": { "ts-node": "^8.10.2", "concat-stream": "https://github.com/max-mapper/concat-stream" }
Using patch-package
, we might be able to implement a smoother workflow for adjusting packages/client/eth without requiring a full-fork of every submodule.
This is the same technique that MarrowDAO used for their round, except they only forked the client and generated the patch against node_modules directly. Since patch-package
is supposed to be aware of workspaces, it might be a good development experience in this project (e.g. you could edit the typescript files and then regenerate the JS afterwards).
The DF monorepo has changed and this needs to be updated to build the repos correctly.
I see an "error connecting to blockchain" alert when I try to access my website that is hosting DF
This is the reason given in logs:
{
"reason": "could not detect network",
"code": "NETWORK_ERROR",
"event": "noNetwork"
}
please advise, I am running in gitpod.io
When I want to deploy one test round on xdai for me,
I use yarn workspace eth hardhat:prod deploy
to deploy contracts but fail.
Then i set the gas Price in eth/hardhat.config.ts and deploy contracts successfully.
// The xdai config, but it isn't added to networks unless we have a DEPLOYER_MNEMONIC
const xdai = {
// Using our archive node for admin task running
url: 'https://rpc-df.xdaichain.com/',
accounts: {
mnemonic: DEPLOYER_MNEMONIC,
},
chainId: 100,
gasPrice: 5000000000,
};
Line 5 in 57a66b6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.