{"_id":"@dfares/df-artemis-test","name":"@dfares/df-artemis-test","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.6":{"name":"@dfares/df-artemis-test","version":"0.0.6","description":"Planet-targeted bounty mercenary system for Dark Forest","scripts":{"test":"hardhat test","compile":"hardhat compile","coverage":"hardhat coverage","lint":"prettier --list-different 'contracts/**/*.sol'","prettier:contract":"prettier --write \"contracts/**/*.sol\"","hardhat:node":"hardhat node --hostname 0.0.0.0","hardhat:dev":"hardhat --network localhost","deploy:dev":"hardhat run scripts/deploy.ts --network localhost","hardhat:prod":"hardhat --network xdai","hardhat:mainnet":"hardhat --network mainnet","hardhat:ropsten":"hardhat --network ropsten","hardhat:redstone":"hardhat --network redstone","hardhat:redstoneTestnet":"hardhat --network redstoneTestnet","deploy:redstoneTestnet":"hardhat --network redstoneTestnet run scripts/deploy.ts","deploy:redstone":"hardhat --network redstone run scripts/deploy.ts","deploy:xdai":"hardhat run scripts/deploy.ts --network xdai","analysis:dev":"hardhat run scripts/analysis.ts --network localhost","analysis:xdai":"hardhat run scripts/analysis.ts --network xdai","analysis:redstone":"hardhat run scripts/analysis.ts --network redstone","export-abi":"hardhat export-abi","clear-abi":"hardhat clear-abi","prettier:plugin":"prettier --write \"plugins/**/*.{js,jsx}\"","start":"df-plugin-dev-server --glob plugins/*.jsx","build":"df-plugin-dev-server bundle --glob plugins/*.jsx --outdir=dest/"},"author":{"name":"DF Archon"},"license":"GPL-3.0","devDependencies":{"@darkforest_eth/constants":"^6.7.29","@darkforest_eth/serde":"^6.7.29","@darkforest_eth/types":"^6.7.29","@ethersproject/abi":"^5.7.0","@ethersproject/providers":"^5.7.0","@nomicfoundation/hardhat-chai-matchers":"^1.0.3","@nomicfoundation/hardhat-network-helpers":"^1.0.4","@nomicfoundation/hardhat-toolbox":"^1.0.2","@nomiclabs/hardhat-ethers":"^2.1.1","@nomiclabs/hardhat-etherscan":"^3.1.0","@openzeppelin/contracts-upgradeable":"^4.8.3","@projectsophon/df-plugin-dev-server":"^1.5.0","@typechain/ethers-v5":"^10.1.0","@typechain/hardhat":"^6.1.2","@types/jest":"^28.1.8","chai":"^4.3.6","color":"^4.2.3","dotenv":"^16.0.1","ethers":"^5.7.0","graphql":"^16.6.0","hardhat":"^2.10.2","hardhat-abi-exporter":"^2.10.0","hardhat-gas-reporter":"^1.0.8","prettier":"^2.7.1","prettier-plugin-solidity":"^1.0.0-beta.24","react":"^18.2.0","react-dom":"^18.2.0","react-router":"^6.3.0","react-router-dom":"^6.3.0","solidity-coverage":"^0.7.21","styled-components":"^5.3.5","ts-node":"^10.9.1","typechain":"^8.1.0","typescript":"^4.7.4","urql":"^3.0.1"},"publishConfig":{"access":"public"},"gitHead":"7a150973191efe858a67f7fdb9737dda23149c93","_id":"@dfares/df-artemis-test@0.0.6","_nodeVersion":"18.16.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-BYseYbc0ibYWk0dJp6C9meR/1irtPLw38uVQHDyA40P+hkAR2zcuDthGjMJofQ7QQt7CUSWJGdvMaE4I3y68wg==","shasum":"06d8c6bb9deb1a48cdfebca432381173407316a7","tarball":"https://registry.npmjs.org/@dfares/df-artemis-test/-/df-artemis-test-0.0.6.tgz","fileCount":4,"unpackedSize":2586548,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAKimuGeTKZ9gm6j+fJ2XUE3mREAh91vuzvYz1lY0CQAAiB+tfBN6FzzakJjyFfHoAMX3vB/hNSiKhDzu/M5AXQjIg=="}]},"_npmUser":{"name":"bitddy","email":"ddy_mainland@163.com"},"directories":{},"maintainers":[{"name":"cherryblue1024","email":"cherryblue1024@gmail.com"},{"name":"bitddy","email":"ddy_mainland@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/df-artemis-test_0.0.6_1720511410007_0.892432835602182"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-09T07:50:09.917Z","0.0.6":"2024-07-09T07:50:10.214Z","modified":"2024-07-09T07:50:10.548Z"},"maintainers":[{"name":"cherryblue1024","email":"cherryblue1024@gmail.com"},{"name":"bitddy","email":"ddy_mainland@163.com"}],"description":"Planet-targeted bounty mercenary system for Dark Forest","author":{"name":"DF Archon"},"license":"GPL-3.0","readme":"\n\n<div align=\"center\">\n\t<img width=\"200\" src=\"https://user-images.githubusercontent.com/25214732/188123637-d020cd5b-2f69-4436-a279-87f3d36312db.PNG\" alt=\"DF GAIA\">\n</div>\n\n<p align=\"center\">\n\t<b>DF ARTEMIS</b>\n</p>\n\n<p align=\"center\">\n  Contributor: <a href=\"https://twitter.com/DfArchon\">@DfArchon</a>\n</p>\n\n# DF ARTEMIS\n\n## 0. Introduction\n\nPlanet-targeted bounty mercenary system for Dark Forest.\n\nFunder publish task(s) for attacking planet(s).\n\nMercenaries attack the planet(s) to get reward.\n\nManager confirm the result and distribute ETH.\n\nuse [SubGraph](https://thegraph.com/en/) to query the history log of arrivals to one planet.\n\n**Funder and Mercenaries need to trust Manager**, \nthe smart contract determine the rules.\n\n中文使用指南： https://www.youtube.com/watch?v=UsrTy-AgXMo\n\n\n## 1. Warning \n\n**The smart contract and plugin have not been audited** .\n\n **use plugin at your own risk .**\n\nThe smart contract has not been rigorously tested. It is possible that your tokens can be lost or stolen by hackers due to bugs that are not easily found in smart contracts.\n\nThe plugin runs in your game environment, has access to all your private information (including private keys),  and can dynamically load data.\n\nBefore using a plugin, it is recommended that you have a complete understanding of the specific plugin content and review it before using it.\n\n\n\n## 2. How To Use\n\nGo into one dark forest lobby,  add a new plugin, and input the below code.\n\n```js\nexport {default} from \"https://cdn.jsdelivr.net/gh/dfarchon/artemis-dest@master/Artemis-v0.0.2.js\"\n```\n\n## 3. How To Develop\n\nRun the command in the repository folder:\n\n```\ndf-plugin-dev-server\n```\n\n Put below content in the Dark Forest UI to load DF ARTEMIS plugin.\n\n```js\nexport { default } from \"http://127.0.0.1:2222/ArtemisPlugin.js?dev\";\n```\n\n## 4. Thanks\n\nIn the process of developing and testing DF ARTEMIS,  we would like to express our heartfelt thanks to all the friends who provided us with help and feedback.\n\nSpecial thanks to **ZKForest Community**, which give me a lot of support.\n\nSpeical thanks to **Project Sophon**, which is the development team of [df-plugin-dev-server](\nhttps://github.com/projectsophon/df-plugin-dev-server).\n\n\nSpecial thanks to [DarkSea](https://github.com/snowtigersoft/darksea-market)'s developer @snowtigersoft, who enthusiastically answered all questions about smart contracts.\n\nSpecial thanks to [ClassicJordon](https://twitter.com/ClassicJordon), who helped to determine the plan for English front-end and organize testing activities.\n\n## 5. Reference link\n\nhttps://github.com/darkforest-eth/eth\n\nhttps://github.com/snowtigersoft/darksea-market\n\nhttps://github.com/dfarchon/DF-GAIA\n\nhttps://github.com/projectsophon/df-plugin-dev-server\n\n\n## License\n\nGNU General Public License v3.0\n\n\n","readmeFilename":"README.md"}