{"_id":"@baldyash/experimental","_rev":"1-f108f9460bfd1d59c8f064341315a030","name":"@baldyash/experimental","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"author":{"name":"Fathom"},"dependencies":{"@baldyash/web":"0.1.0","ethersfathom":"0.1.0","scrypt-js":"3.0.1"},"description":"Experimental libraries for ethers. These should not be considered stable.","ethereum":"donations.ethers.eth","keywords":["Ethereum","ethers"],"license":"MIT","main":"./lib/index.js","module":"./lib.esm/index.js","name":"@baldyash/experimental","publishConfig":{"access":"public"},"repository":{"directory":"packages/experimental","type":"git","url":"git://github.com/Into-the-Fathom/ethers.js.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"sideEffects":false,"tarballHash":"0x2e22ad88dbfc8169dacbf2628add0eb539a5077b67bffac8b70877dbde8657f3","types":"./lib/index.d.ts","version":"0.1.0","gitHead":"88ea6202fefaebf65b5a17e7b58abeca00c7f106","bugs":{"url":"https://github.com/Into-the-Fathom/ethers.js/issues"},"homepage":"https://github.com/Into-the-Fathom/ethers.js#readme","_id":"@baldyash/experimental@0.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-A4CEKPoBtTWrbbmRgt7gGa0I/o6w5Vtj/qL4zRFkzifIXc4z8/AEE21DSGmiGn0B1QkzJuHXl9lXYsCLCx47mQ==","shasum":"9a63ce7aad6553a9495bb582f82530d0d1aae0f0","tarball":"https://registry.npmjs.org/@baldyash/experimental/-/experimental-0.1.0.tgz","fileCount":58,"unpackedSize":94045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrrgFWmIdeY0GGEjpGytdwxB2veSLr4bALF5fsjSWhUAiBBw9yI64b65zgg89hCDN0JMyd+47zdpWvzAhcZrTT8aA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIyAZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5DBAAhmEZZTfuzHZnLfqWlYrMaCZhQyLq0Nb1l+Z65hHNQwvxPKef\r\nrPIE4W551GsWYlf46hvj0wC/YInII+2eHiwP+jb4L81SG1M5Q8jyx5XHMTNB\r\nNl5ir4CvFSwGoG/h9MfHEhPXByvML4ufC08f3zAaG3p/QECDFGu/dEaXRKkB\r\nzE4nmY2EF/PmjUD8s8sg3D0W8WyKRZAaJRZCdk/b7FareQsfrbSjGVmXHoXq\r\nP2GMa9YjaTtgdPCew4CN8N20TU3Tn28GIe/OupJpjRltSnwta6+tKI83MRpz\r\nBfTIrubERVaZheB44oue+L9lpvKavoM0tN11QQx/6eWfvNmnHvY26SQpVLJ2\r\n5JqAyDlo9AuJmYNsIMfnrfagEGmXAXWctI6MBoHrJ0legZt+THVuvvQpBr2h\r\nvshWmu7tNj4Bs3xuZai8upeTA6gXyGeSJbFEVAIo7qnox75oeGpGYIPvH2ZY\r\nkCQkFFmFAQHt94NRdffmPRf8j82ovlzsKNRg8O8SE/MzYX+Ln64pt5m36Xq1\r\nRrMZg6fySQEZEf6kbx49FZfTkNhHhGA/C+PcgWmKn9W8ajQCJQXbo5O1g8zl\r\nYrjNVMXQCcGUH5WopeIkMTtknJMmGze1ymtFvJhbXq6Pl4zHpqnyp3ySG3Lf\r\nIlRxaa920uBOFEbP0Q+pptuB28P7PfY9RYQ=\r\n=y8ad\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"baldyash","email":"antongrigorjev2010@gmail.com"},"directories":{},"maintainers":[{"name":"baldyash","email":"antongrigorjev2010@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/experimental_0.1.0_1663246360869_0.15575141811925386"},"_hasShrinkwrap":false},"0.2.0":{"author":{"name":"Fathom"},"dependencies":{"@baldyash/web":"0.2.0","ethersfathom":"0.4.0","scrypt-js":"3.0.1"},"description":"Experimental libraries for ethers. These should not be considered stable.","ethereum":"donations.ethers.eth","keywords":["Ethereum","ethers"],"license":"MIT","main":"./lib/index.js","module":"./lib.esm/index.js","name":"@baldyash/experimental","publishConfig":{"access":"public"},"repository":{"directory":"packages/experimental","type":"git","url":"git://github.com/Into-the-Fathom/ethers.js.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"sideEffects":false,"tarballHash":"0x2e22ad88dbfc8169dacbf2628add0eb539a5077b67bffac8b70877dbde8657f3","types":"./lib/index.d.ts","version":"0.2.0","gitHead":"88ea6202fefaebf65b5a17e7b58abeca00c7f106","bugs":{"url":"https://github.com/Into-the-Fathom/ethers.js/issues"},"homepage":"https://github.com/Into-the-Fathom/ethers.js#readme","_id":"@baldyash/experimental@0.2.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-3s/ui+UbK74ea3lFWjVwMr4TJgJT2T32uQF2X7FWAxAMxPOVkcEPpWQlYqgM6vNXmXBXHCw5NqRz/wcYltBQGw==","shasum":"1790fa470e6963be99cfaba894eb0ffff2ec0d85","tarball":"https://registry.npmjs.org/@baldyash/experimental/-/experimental-0.2.0.tgz","fileCount":58,"unpackedSize":94406,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGoM7MGPXIeiSUZJEII1OVUchwU4YVosdMW2/zigCQzTAiEAo5W05E+0jaDOnoExBcA8W2QWvVAFmUScP3FELCDuD1A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI0L5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8Og/+J0GIo4S+fPcWxJD0GRH9PaqwFVKT51lRNT+tR8Q2/JQqCWsl\r\nesR/PJ1EdknPo1VFIM5Rq+bdihZDX5yoiBMlzxSSZrjZTIigwGC1SPDPWiHY\r\nEn7CpKKJLDkH+8ueI0H2cnRIXxkYhAWVNFQKgMnj3cAKOQmKQixWV2Ed7gFa\r\nFAJpr8wdkIR0Gpl5k3U3DHMTNeRg6EXsRsRoG0CktEa526CRg2A0DGRWuGel\r\n9KRt/ZPcRUgX1TTT7v88/4ix7yC7TNC0iutw5ePIQr+FjpAcIE2oHF6fF32P\r\nl/EYTGCm/HCaK6w1eB4QkRz1gtYuGg3RMVyF1DdpjCsLGwroaTdVMkde5YuE\r\nhmPaoJ3Rc+/Xv569PVddNmtesrzth8/ou/tGYU8CpGfsWRRh68hV7OsXSHoD\r\nlfDsPWx079mHiNxOXQD5J3xXvvjCIp0zckaPT1eV5yil3/Y35K0+NN8gE1X6\r\nZPyfDeWuvU5xhEAKpXupRodbUjx2l10xvUbzpltJhf+TTgVgypVcekfedLIj\r\nYWTvRzY/cqcMfro7H8ket5UOk8RO9fdADgbHa8L3a0UUp8oKrZYpbrjfqhJA\r\nYmLFcnFaMSIjxPBxA8woLuGo0ZMUF2ho/HPxitucURjd/DUIhcyL3WZj5dnK\r\ndvLvwBFVov+H5K5lexLFQnPRtPInmPrKF1c=\r\n=Xtn2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"baldyash","email":"antongrigorjev2010@gmail.com"},"directories":{},"maintainers":[{"name":"baldyash","email":"antongrigorjev2010@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/experimental_0.2.0_1663255289224_0.6595257143861097"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-15T12:52:40.805Z","0.1.0":"2022-09-15T12:52:41.056Z","modified":"2022-09-15T15:21:29.487Z","0.2.0":"2022-09-15T15:21:29.418Z"},"maintainers":[{"name":"baldyash","email":"antongrigorjev2010@gmail.com"}],"description":"Experimental libraries for ethers. These should not be considered stable.","homepage":"https://github.com/Into-the-Fathom/ethers.js#readme","keywords":["Ethereum","ethers"],"repository":{"directory":"packages/experimental","type":"git","url":"git://github.com/Into-the-Fathom/ethers.js.git"},"author":{"name":"Fathom"},"bugs":{"url":"https://github.com/Into-the-Fathom/ethers.js/issues"},"license":"MIT","readme":"Experimental Playground\n=======================\n\nThis package is a collection of quick little ideas, which may be half-baked.\n\nIf you find a particular feature piques your interest, please feel free to open\nan issue on GitHub to discuss it.\n\nAlso, if you have any system that requires an object from this package, make sure\nyou specify the **exact npm version** in your package.json, as backwards compatibility\nis **NOT** guaranteed for this package; APIs may change and classes may disappear.\n\n\nItems\n-----\n\n**BrainWallet**\n\nIn general, a Brain Wallet is not recommended, but it is a feature we offered in v3\nand below. It allows a wallet to be described and recovered using a username and a\npassword. However, anyone who can guess a username and password can steal the funds,\nand the password cannot be changed. But for backwards compatibility and for simple\ntesting, we provide it here.\n\n```javascript\nimport { BrainWallet } from \"@baldyash/experimental/brain-wallet\";\n\n// This is optional, but since a Brain Wallet can take 5-10s to generate,\n// helps keep your users informed\nfunction showProgress(percent) {\n    if (percent === 1) {\n        console.log(\"Done.\");\n    } else {\n        console.log(\"Completed: \" + Math.trunc(100 * percent) + \"%\");\n    }\n}\n\n// Generate a legacy-compatible Brain Wallet\nBrainWallet.generateLegacy(username, password, showProgress).then((wallet) => {\n    console.log(wallet);\n});\n\n// Generate a new-style Brain Wallet, which contains a Mnemonic Phrase too\nBrainWallet.generate(username, password, showProgess).then((wallet) => {\n    console.log(wallet);\n});\n```\n\n**NonceManager**\n\n```javascript\nimport { NonceManager } from \"@baldyash/experimental/nonce-manager\";\n\nlet signer = \"... any way you get a signer ...\";\n\n// The NonceManager Signer will automatically manage the nonce for you\n// so you may blast the network with as many transactions as you would\n// like. Transactions which have not been mined within XXX timeout and\n// will be rebroadcast; keep in mind that unmined transactions remain\n// in memory.\nconst managedSigner = new NonceManager(signer);\n```\n\n**Eip1193Bridge**\n\n```javascript\nimport { Eip1193Bridge } from \"@baldyash/experimental/retry-provider\";\n\nconst signer = \"... any way you get an ethers Signer...\";\nconst provider = \"... any way you get an ethers Provider...\";\n\nconst eip1193Provider = new Eip1193Provider(signer, provider);\n\n```\n\n\nLicense\n-------\n\nMIT License.\n","readmeFilename":"README.md"}