{"_id":"@airswap/peer-factory","_rev":"3-77159eba12231b50a6133ce371c61829","name":"@airswap/peer-factory","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@airswap/peer-factory","version":"0.1.0","description":"Deploys Peer contracts for use in the Swap Protocol","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/airswap/airswap-protocols.git"},"scripts":{"clean":"rm -rf ./build","compile":"truffle compile","coverage":"solidity-coverage","ganache":"ganache-cli -p 8545 --gasLimit 0xfffffffffff --time '2017-05-10T00:00:00+00:00'","hint":"yarn solhint \"./contracts/**/*.sol\"","lint":"yarn eslint \"./test/**/*.js\"","test":"truffle test"},"devDependencies":{"@airswap/order-utils":"0.3.0","@airswap/test-utils":"0.1.0"},"dependencies":{"@airswap/peer":"0.3.0","openzeppelin-solidity":"^v2.2","solidity-coverage":"^0.6.3"},"bugs":{"url":"https://github.com/airswap/airswap-protocols/issues"},"homepage":"https://github.com/airswap/airswap-protocols#readme","_id":"@airswap/peer-factory@0.1.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-wP0a/BZT9/RXDWQlp/0TDXg14s4m0AeuFoJlzf2oF73Q9Zd41LfhTNXNx2HsfxcEY12RMDtKmNGo1hu+cESRbw==","shasum":"33a4942f2bc9bd58734dc8cd87a58e1084fccf22","tarball":"https://registry.npmjs.org/@airswap/peer-factory/-/peer-factory-0.1.0.tgz","fileCount":10,"unpackedSize":10513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaDbJCRA9TVsSAnZWagAAPYoQAIX13rPeDMtGYw7W3Pc3\nGvNTe7h1sU0zvxlk/1V1YfxLrk2x6jmlWg+McYgKkhljS0GSB3VpP6RE6OEw\nxx7TYL700+4f1ZyUjoWtOcQUVCxpI1xdAaqUNHpbkiOmaMoq9h7dipizM1kI\nlR3yWn6XVfd9JFCEtz2EcUV68QZtEtqVDt5aqdT1B0O5Ld9Cn4wIWrREn1wk\ntRfHjp9iO2oLpVkamo5X1vGP8l/DW7HbZuhSXbU8zkS5cBxWTRKVmLsxzAh8\nNzth4CGW4o4P26P362dLRPKKLCOrbRUuuL0KAPMGJxQc9kMfY4OOu3NKnuJA\nDwzL32mLSzOHTwkKLveIwnVnDZJ41WfO1nTnRlzIgtUvH/gbnGrWpFbvqA1N\nFLjCGAkkLAX87+i6fS2X8QePC3yAzkP7tou0rvs4PLo4cFmsYcbsTbN1ZDcV\nbDf+IvpISCWhJvyUf8HeYLiSPXO3sUId74Wo2BXLeBxmbpbkf9in5ML8yxSX\nNT353Gwkdx5OoziVkb5syoEPnFntN5DrASA4DJaAESyysjJ7mdn5/tRnXf25\nYWxSabDqZ/5NykyrQ3xvCQCZ8E9FJy6AcHpAbMuUewyKkr7bAcOr/gRQiKKR\naRh4oEzDmSUt+3ZS2r8jC1oDggCsErfJBX0O+jJU6DIiuLuszXQt/6OPtJ2H\nAGJA\r\n=Be0r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhhE3i5fPGjQ6tY1XCWK4QNG0B4APQGE5Doxh2IDmVegIgNz40FoYHSdDP8Dp0cOBRGnWwlgB1rZzvxnYJZD7pBPg="}]},"maintainers":[{"name":"airswap","email":"opensource@airswap.io"}],"_npmUser":{"name":"airswap","email":"opensource@airswap.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/peer-factory_0.1.0_1567110856354_0.3172777032621721"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-29T20:34:16.354Z","0.1.0":"2019-08-29T20:34:16.518Z","modified":"2022-04-04T12:23:22.045Z"},"maintainers":[{"email":"npm@npmjs.com","name":"npm"}],"description":"Deploys Peer contracts for use in the Swap Protocol","homepage":"https://github.com/airswap/airswap-protocols#readme","repository":{"type":"git","url":"git+https://github.com/airswap/airswap-protocols.git"},"bugs":{"url":"https://github.com/airswap/airswap-protocols/issues"},"license":"Apache-2.0","readme":"# PeerFactory\n\n**:warning: This package is under active development. Do not use in production.**\n\n[AirSwap](https://www.airswap.io/) is a peer-to-peer trading network for Ethereum tokens. This package contains source code and tests for a basic `PeerFactory` contract that deploys `Peer` contracts.\n\n:bulb: **Note**: `solidity-coverage` does not cooperate with `view` functions. To run test coverage, remove the `view` keywords from functions in `PeerFactory.sol`.\n\n[![Discord](https://img.shields.io/discord/590643190281928738.svg)](https://discord.gg/ecQbV7H)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![CircleCI](https://circleci.com/gh/airswap/airswap-protocols.svg?style=svg&circle-token=73bd6668f836ce4306dbf6ca32109ddbb5b7e1fe)](https://circleci.com/gh/airswap/airswap-protocols)\n![Twitter Follow](https://img.shields.io/twitter/follow/airswap?style=social)\n\n## Resources\n\n- Docs → https://airswap.gitbook.io/\n- Website → https://www.airswap.io/\n- Blog → https://medium.com/fluidity\n- Support → https://support.airswap.io/\n\n## Commands\n\n| Command         | Description                                   |\n| :-------------- | :-------------------------------------------- |\n| `yarn`          | Install dependencies                          |\n| `yarn clean`    | Delete the contract `build` folder            |\n| `yarn compile`  | Compile all contracts to `build` folder       |\n| `yarn coverage` | Run solidity-coverage to report test coverage |\n| `yarn ganache`  | Run an instance of `ganache-cli` for tests    |\n| `yarn hint`     | Run a syntax linter for all Solidity code     |\n| `yarn lint`     | Run a syntax linter for all JavaScript code   |\n| `yarn test`     | Run all contract tests in `test` folder       |\n\n## Running Tests\n\nRun an instance of `ganache-cli` before running tests.\n\n```\nyarn ganache\n```\n","readmeFilename":"README.md"}