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

My example submission #1

Open
thetwosents opened this issue Dec 31, 2021 · 1 comment
Open

My example submission #1

thetwosents opened this issue Dec 31, 2021 · 1 comment

Comments

@thetwosents
Copy link
Owner

thetwosents commented Dec 31, 2021

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.

{
    "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"
    }    
}
@thetwosents
Copy link
Owner Author

If you have any questions, just record a loom and add it to the document using the Record a Loom button in your Github.

image

Repository owner deleted a comment from synchrovision Feb 6, 2024
Repository owner deleted a comment from Przemocny Feb 19, 2024
@github-staff github-staff deleted a comment from vokaplok Sep 17, 2024
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

2 participants
@thetwosents and others