Open thetwosents opened 2 years ago
Copy & paste the code into a new issue in this repo and let us know about your project with your own package.json file submission.
{ "name": "bot-armies", "version": "0.0.1", "description": "This is the replication script to clone our starter bots for use in the DAO discord environment. Orchestration is handled by Kubernetes and Docker at it's infrastructure level.", "main": "index.js", "scripts": { "load": "node load.js", // This is the command that will be run when you run `npm run load` "restart": "node restart.js", "start": "node start.js", "stop": "node stop.js", "eject": "node eject.js", "verify": "node verify.js", // This is for verififying the bot-armies.json file before submitting it to the DAO "archive": "node archive.js", "compress": "node compress.js", "deploy": "node deploy.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "web3": "^1.0.0", // This is the web3 library that we will use to interact with the Ethereum blockchain "data": [ { "characters": [ { "name": "Cloud", "id": "1", "actions":[ { "name": "Attack", "id": "1", "description": "Attack the enemy", "cost": "0", "damage": "10", "cooldown": "0", "range": "1", "target": "enemy", "type": "attack", "inputs": [ { "name": "target", "type": "select", "options": [ { "name": "Enemy", "value": "enemy" } ] }, { "name": "blockchain_network", "type": "select", "options": [ { "name": "Mainnet", "value": "mainnet" }, { "name": "Ropsten", "value": "ropsten" }, { "name": "Rinkeby", "value": "rinkeby" }, { "name": "Kovan", "value": "kovan" } ] }, { "name": "contract_address", "type": "text", "placeholder": "0x..." }, { "name": "contract_abi", "type": "text", "placeholder": "[]" }, { "name": "contract_method", "type": "text", "placeholder": "attack" }, { "name": "contract_method_args", "type": "text", "placeholder": "[]" }, { "name": "contract_method_arg_types", "type": "text", "placeholder": "[]" }, { "name": "contract_method_arg_names", "type": "text", "placeholder": "[]" } ] } ] } ] }, { "scenes": [] // Scenes are used to group together characters and actions. }, { "items": [] // Items are }, { "assets": [] } ] }, "devDependencies": { "web3": "^1.0.0" }, "peerDependencies": { "web3": "^1.0.0" }, "keywords": [ "web3" ], "repository": { "type": "git", "url": "git+" }, "bugs": { "url": "!" }, "homepage": "!", "engines": { "node": "12.22.0" } }
If you have any questions, just record a loom and add it to the document using the Record a Loom button in your Github.
To submit your project
Copy & paste the code into a new issue in this repo and let us know about your project with your own package.json file submission.