{"_id":"@binance-oracle/binance-oracle-starter","_rev":"2-0e4417d1cc1eb847c7ab717e3fa4bb3c","name":"@binance-oracle/binance-oracle-starter","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@binance-oracle/binance-oracle-starter","version":"1.0.0","description":"Starter project for Binance Oracle containing solidity interfaces and sample code","main":"hardhat.config.js","directories":{"test":"test"},"scripts":{"compile":"hardhat compile","test":"hardhat test","deploy:testnet":"hardhat run scripts/deployMocks.ts --network testnet","deploy:mainnet":"hardhat run scripts/deployMocks.ts --network mainnet"},"repository":{"type":"git","url":"git+https://github.com/binance-cloud/binance-oracle.git"},"author":{"name":"Sri Krishna Mannem"},"license":"MIT","bugs":{"url":"https://github.com/binance-cloud/binance-oracle/issues"},"homepage":"https://github.com/binance-cloud/binance-oracle#readme","devDependencies":{"@nomicfoundation/hardhat-toolbox":"^2.0.0","hardhat":"^2.12.0","dotenv":"^16.0.1"},"gitHead":"69bb4c9a5fe2f8246d8ab17fbde21224eaee9d4e","_id":"@binance-oracle/binance-oracle-starter@1.0.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-buGiqJTjEPYNoWhn1Qax1Ffx3+5iZvKBrVbYFlYZUnodazmyMknNE9f0nq8JwK35nU3yfc6hESjeW9GRfVi4WA==","shasum":"02b7d89a5cf0da5a4252b467c8932f1a540ed97d","tarball":"https://registry.npmjs.org/@binance-oracle/binance-oracle-starter/-/binance-oracle-starter-1.0.0.tgz","fileCount":20,"unpackedSize":26960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD35ugvaT7z4QoeS1kmGEdCzXxOx9wjmf9GgBvjWDRG4gIgfZzgLZRPPyGZyR3OWVhB/lxMeG1ikRBJEUogfz/2/YA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTbSCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0ow//XdjxSmjK7wITWgYdV3rLkxxJYnijqc7ZIX8/FJkq4swOGx75\r\njPpBBFcGyb5MNazj2pl4Z7UPUU8oSmP2OjD93EIxZqGX/y8+1FFosrb3U95j\r\n6MG3OGRJ5EwsJsC8I5aSz/89JITdT+soKJm+4yQ732FyDJiyVhUJ8AXIevLc\r\n4xALTtx8xuuZs1d20bK7ZjEne5oVEgAGg6ATV+JHtCe03+LT+cF2C9q3rW4a\r\nctsDdBsH2x2upL9PYNxM1mjntssDkbJQ0smIZF4+LHKGebtLcauStArT5ISw\r\ndub8DRciyQbi/SlRFvd17r62ksdpuEcwDv6jbfAoBW+LK6EktkHuPgOXZOVO\r\nnBQAIphcNIXHLqOgEYoudj+psHpu+YH629Zuw4Xn9Vy6ReBrBJjeYba934Jz\r\nP+K8bf816kDCmazoQwgsG2X1kIf135d61wE6BBqlK5MGk2TMb1OEOFYnEpvU\r\nzNbHOUdw7A/tkRq35mU7PtoOQcHrz/Q+m0ZfyjD2yZvGzcQgH3KSEoC+wrjO\r\nAwky+C1qfIB6ILOgAQiLaTRcDklfrhUNEHpekB6CN+Lktl0I15AiyiqSf0qv\r\np+i6gfWbbiwhPyhH2s2Z2DgWDaCYXwp08Y4FckR/JHbXSSIzshYqzLIRcw4j\r\noNHWU4e85kHiQr9cMW4M23pBILPIJG+ivGc=\r\n=d7JJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"srimannem","email":"sri.mannem@binance.com"},"maintainers":[{"name":"srimannem","email":"sri.mannem@binance.com"},{"name":"drjackchan","email":"jackccy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binance-oracle-starter_1.0.0_1666036865659_0.9921860023104172"},"_hasShrinkwrap":false},"1.0.1":{"name":"@binance-oracle/binance-oracle-starter","version":"1.0.1","description":"Starter project for Binance Oracle containing solidity interfaces and sample code","main":"hardhat.config.js","directories":{"test":"test"},"scripts":{"compile":"hardhat compile","test":"hardhat test","deploy:testnet":"hardhat run scripts/deployMocks.ts --network testnet","deploy:mainnet":"hardhat run scripts/deployMocks.ts --network mainnet"},"repository":{"type":"git","url":"git+https://github.com/binance-cloud/binance-oracle.git"},"author":{"name":"Sri Krishna Mannem"},"license":"MIT","bugs":{"url":"https://github.com/binance-cloud/binance-oracle/issues"},"homepage":"https://github.com/binance-cloud/binance-oracle#readme","devDependencies":{"@nomicfoundation/hardhat-toolbox":"^2.0.0","hardhat":"^2.12.0","dotenv":"^16.0.1"},"gitHead":"04d7f3b986a2dc51f73fcdb9391caea575f140e4","_id":"@binance-oracle/binance-oracle-starter@1.0.1","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-SJ036p3xIeu+d1027PBiM37mE000Hg9Glv+wBHfB/+egTX+8Cg0haT/obWLep1/9THp/TFClMyLlmJIMbO8OxQ==","shasum":"f61968e36d8cf97980cc384341139c8d30f90e4a","tarball":"https://registry.npmjs.org/@binance-oracle/binance-oracle-starter/-/binance-oracle-starter-1.0.1.tgz","fileCount":20,"unpackedSize":27033,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvt+cvOKa6V9N74Adn2yf1ilwEg9RSl70AH83P6fpNuAIhAKcNsWOsioPQwMKpCq5QDc0aKnFfEgnEYVf5i6kcEiJ4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTbfyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLLxAAgBD6iijOLyELtrnB5TSVnTsiYewP0nzZ4cWPHOTqza20u8+d\r\n7wuOyElYiiiPcHuCNFFzHMJUOUP5hz+PIevBr8oSYXxiQ7A3uMiOdg7m2rdl\r\nb8blZFj4b84z+cYgBTr1VK7a/fdPvVvkoXm3FMg0kKoMswUB8+CkShW0Qezx\r\nptG8pccK5gWbaB3dAbforhtUj+GpwhK2i3Ue5itWmwhexCDt1yXRsltfLARR\r\nQhOCytV6p2GImk7oT4lvMxAqES8t+90mh1/A+P54IKE/QKKvfXGZW/iYfHJ/\r\nbDQjW2EwKYdJkIgaAa21F/KUdrupjD7NdHvep/VmiGPc0qyfL4bfai0elckj\r\nzgGhzBKJFyw5owDsT4r1X/e2084XfSiF1BCkALEwT/dDHHnIQnKHF5q3bStI\r\nzeJSA7wp25HYN4E6Wt8irlwn9vb+7YNzvck3BKdgn1Z6wsoFhbx47j2FBnCI\r\nBRS4o2sJMfZVwg28v/qEEbOuWMOQrxX1p6yrVNkTOO0m8tE53WJdyCqbcsDg\r\n/U3oooMwhMZaz7vjqdMfu8lb/0Zfe5m4+A2rscwOEypWlydXM56AKM034PH0\r\ncDS9ri1MuBBPNyiREm8vz/TDNVjxpvywmRqGr3qyFNUPm3gjiaplStXRICr3\r\n0bUpjJdFS6zAkGj08q2uiVBupgr/VnlOSHM=\r\n=glVM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"srimannem","email":"sri.mannem@binance.com"},"maintainers":[{"name":"srimannem","email":"sri.mannem@binance.com"},{"name":"drjackchan","email":"jackccy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binance-oracle-starter_1.0.1_1666037746645_0.2216774767183758"},"_hasShrinkwrap":false},"1.0.2":{"name":"@binance-oracle/binance-oracle-starter","version":"1.0.2","description":"Starter project for Binance Oracle containing solidity interfaces and sample code","main":"hardhat.config.js","directories":{"test":"test"},"scripts":{"compile":"hardhat compile","test":"hardhat test","deploy:testnet":"hardhat run scripts/deployMocks.ts --network testnet","deploy:mainnet":"hardhat run scripts/deployMocks.ts --network mainnet"},"repository":{"type":"git","url":"git+https://github.com/binance-cloud/binance-oracle.git"},"author":{"name":"Sri Krishna Mannem"},"license":"MIT","bugs":{"url":"https://github.com/binance-cloud/binance-oracle/issues"},"homepage":"https://github.com/binance-cloud/binance-oracle#readme","devDependencies":{"@nomicfoundation/hardhat-toolbox":"^2.0.0","hardhat":"^2.12.0","dotenv":"^16.0.1"},"gitHead":"f7105ca930b815a77065a4a56a848db2c2ac3ed0","_id":"@binance-oracle/binance-oracle-starter@1.0.2","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-lS5YstuSQmCoafggJlJMjZRRSfqdd2EgqSdMeZYSqEMEuuvF71NvVzdErROAZQovlcG7Z9Jn97NaFcycWU1Eig==","shasum":"7e82a42853cf5834667a9fe5b59ee9dc8a832f93","tarball":"https://registry.npmjs.org/@binance-oracle/binance-oracle-starter/-/binance-oracle-starter-1.0.2.tgz","fileCount":22,"unpackedSize":28984,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+7qLdKLuJJhm6fuVM6uXppCVz5qlYws2OFE7RcwOQAAiEA0uwt6M/WkWLtZG+bgDocbOH3s9v7b1z1nHI7CPJjIY4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUPXBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFlg/8Do5IdIimoVr5EyMiqLpq1Ufa35+3A8DR03o2CIu5IilufYg2\r\n53xUgleFq2raNuKzwHT32jA8WOPVsrW+XdP9tIic468CateFSBEOqNnS9b0P\r\nIUlNYVsZ4FwfzMpNlY4JqGS0hkJFrCAq1SgtW26vqnQ9aGDKtJEWFEaOiLTG\r\nXp1aoC+zRxxX6yyrBkKV+LV/b5lNPpTh319O1ZLE9HTmgfALL7fOsJx6N2E/\r\nnCYF62+PPbpbplCwVyV6ixU9AWF1x49YjEjocCtP/G2fB/eFFI6WQJq2zQ+4\r\nbNNmkfnYcQKVKt0w9RzIEt00Xqx2w4CEVOQ28jx2XywQ6ocLKIqq2Oc1o965\r\nC+tVUu0lCTTCldNBZB013fqv3rVrwOEdwKVs4k0K4bMors8JJ3vJMsIGY9np\r\nQerNz4Y3OQ3gneIV2GSlYeckDlc4MyqUD/FnBfHRg3nBsOBzVen6MKMKac0A\r\n6/mXvxLKkjf3IAQ2QlbhnU+WJHsqAKJOgXbwommJXaHXuAneBHiEUXb2mqW0\r\nbpndGtvuRyifnH6SD9E7oRKoHekKzKQc09i2z3ezfna1Iyl9WLO5PUb5tKU9\r\nylNR/dClQcj/XYfL+eEwOXss6Em99zErtoNYRwz/mdvMufYmb56l8GJHNcDO\r\nBCYpgIJNcIAv8dz7LV53u3K8ZaReEH3TuDA=\r\n=LgG3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"srimannem","email":"sri.mannem@binance.com"},"maintainers":[{"name":"srimannem","email":"sri.mannem@binance.com"},{"name":"drjackchan","email":"jackccy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binance-oracle-starter_1.0.2_1666250177431_0.18985509798898326"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-17T20:01:05.612Z","1.0.0":"2022-10-17T20:01:06.004Z","modified":"2022-10-20T07:16:17.712Z","1.0.1":"2022-10-17T20:15:46.851Z","1.0.2":"2022-10-20T07:16:17.613Z"},"maintainers":[{"name":"srimannem","email":"sri.mannem@binance.com"},{"name":"drjackchan","email":"jackccy@gmail.com"}],"description":"Starter project for Binance Oracle containing solidity interfaces and sample code","homepage":"https://github.com/binance-cloud/binance-oracle#readme","repository":{"type":"git","url":"git+https://github.com/binance-cloud/binance-oracle.git"},"author":{"name":"Sri Krishna Mannem"},"bugs":{"url":"https://github.com/binance-cloud/binance-oracle/issues"},"license":"MIT","readme":"![build](https://github.com/binance-cloud/binance-oracle/actions/workflows/build.yml/badge.svg?branch=main)\n![npm (scoped)](https://img.shields.io/npm/v/@binance-oracle/binance-oracle-starter)\n![npm](https://img.shields.io/npm/dw/@binance-oracle/binance-oracle-starter)\n![website](https://img.shields.io/website?down_color=red&down_message=offline&up_color=green&up_message=online&url=https%3A%2F%2Foracle.binance.com%2F)\n\n# Binance-Oracle\nBinance Oracle lets smart contracts query the price of assets on BSC. For detailed documentation, please visit [docs](https://oracle.binance.com/docs).\n\n## Installation\nIf you like to import the Binance-Oracle contracts into your project, you can do so by running the following command:\n```shell\nnpm install --save-dev @binance-oracle/binance-oracle-starter\n```\n## Import contracts to solidity\n\nAfter installation, for instance if you like to import the 'FeedRegistryInterface' contract, you can do so as follows:\n\n```solidity \nimport \"@binance-oracle/binance-oracle-starter/contracts/interfaces/FeedRegistryInterface.sol\";\n```\n\n\n## Run standalone tests\n\n```shell\ngit clone https://github.com/binance-cloud/binance-oracle.git\ncd binance-oracle\ncp .env.example .env\nnpm install\nnpm run test\n```\n\n## Deploy mock consumer contracts to Testnet/ Mainnet\n\nFirst make sure, you copy .env.example to .env in the root directory of the project. \nThe .env file should be populated with the private keys and few other credentials of the environment you like to deploy to.\nThen run either of the scripts below to deploy to Testnet or Mainnet\n\n```shell\nnpm run deploy:testnet\nnpm run deploy:mainnet\n```\n\n\n\n","readmeFilename":"README.md"}