{"_id":"@truffle/sawtooth-seth-provider","_rev":"34-2936b5ad48eb371e448151fd87b1ceda","name":"@truffle/sawtooth-seth-provider","dist-tags":{"latest":"0.0.5","ens-events":"0.1.0-ens-events.0","alphaTez":"0.0.8-alphaTez.0"},"versions":{"0.0.5":{"name":"@truffle/sawtooth-seth-provider","version":"0.0.5","author":{"name":"Ben Burns"},"license":"MIT","_id":"@truffle/sawtooth-seth-provider@0.0.5","maintainers":[{"name":"fainashalts","email":"fainashalts@gmail.com"},{"name":"eggplantzzz","email":"pobol234@gmail.com"},{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},{"name":"haltman","email":"harry.j.altman@gmail.com"},{"name":"gnidan","email":"nick@gnidan.org"}],"homepage":"https://trufflesuite.com","bugs":{"url":"https://github.com/benjamincburns/sawtooth-seth-provider/issues"},"dist":{"shasum":"9bd1b6ad0fac1561361ba1781a8bc5d92364aa84","tarball":"https://registry.npmjs.org/@truffle/sawtooth-seth-provider/-/sawtooth-seth-provider-0.0.5.tgz","fileCount":6,"integrity":"sha512-TQawYuLOpt6w+3pS7wWblprROFQf7/M+sCG7f9Y1zR70O16xcEHBlzvQeggrmu7i6yoKJ/kf/R9bQNF3R4Rlew==","signatures":[{"sig":"MEYCIQDteuuqQHkQoLBbm3P/Iw6aAMzWz1c9jLRsURAr9JtSNgIhAJ+b/qyZ996QXrb0NOKiPIZx3bP9wG4WhtFguIr6pZTn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcBc+CRA9TVsSAnZWagAAZlIP/RCkb0nCZiyJBY68kqWO\n21NUjsKbvCn3qaryHNfsA54y1WP/82a3gZKkmg5ZcpP5I1Ri7DPvualZpvdl\nSWagmulWhdwsOTm0bsRLZlaYWekYFHcetFHMl3M1vWM1NzzE/tFeNiLEUgHj\n90wbeMaxh5LWScGsKMVOQq/LRQIPYWU01sHLM4hBZBzJWTRy1DUO3T3S6gQX\nWfBV0ACSzwLX8Zj2vZ9aHEu+MTic0h+evgJ5YjMWWmWtTkreSDGPspqAhLSy\nREZKEbD9Qg3VKHvqKG3cDybLfDjB/WpmSmBzNHQRaj59L9pVq2aTTEqWiCN4\nXwYt7PJ13gbO66mFhTwTKwpSAGeEGAc1AZ0+6KNQfyWiIIslN0BOt4PC94Tk\nPe6Ah1qDEaGmLa5f6PFOA054c/rGStVaf35zi3Eqqfk0MI6vdhkLU7Pm9jnx\nx/78ldr0/o6U4x/0uDnIThLL2h4Gz0nBoVfUwvp8tautD8ZkzVTODO4svBJw\nb16hL1HaipAdqe3NUqor4vd0UuE+X/xu8yBTh7D0V5A1d38dLkC0l6q75sir\nBUhb+03bcHEX3Ajyf652PBk0Vs3cZxHXzX666wVzXPxGKej2YfNHUWDHx/6s\nW5iyq/QioML17UAtxFRpAU3e22JPrVi+2J0q2lo5IZ0w2DR14czDMkl70NMd\nnqbD\r\n=sa38\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8e9210bc449edbd74867cf5b432122eb63100607","_npmUser":{"name":"eggplantzzz","email":"pobol234@gmail.com"},"deprecated":"WARNING: This package is no longer used by Truffle and is not being maintained.","repository":{"url":"https://github.com/trufflesuite/truffle/tree/master/packages/sawtooth-seth-provider","type":"git"},"_npmVersion":"lerna/3.14.1/node@v8.16.0+x64 (darwin)","description":"A web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"debug":"^4.1.0","web3-provider-engine":"14.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sawtooth-seth-provider_0.0.5_1567627070409_0.21785849769180654","host":"s3://npm-registry-packages"}},"0.1.0-ens-events.0":{"name":"@truffle/sawtooth-seth-provider","version":"0.1.0-ens-events.0","author":{"name":"Ben Burns"},"license":"MIT","_id":"@truffle/sawtooth-seth-provider@0.1.0-ens-events.0","maintainers":[{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},{"name":"eggplantzzz","email":"pobol234@gmail.com"},{"name":"fainashalts","email":"fainashalts@gmail.com"},{"name":"gnidan","email":"nick@gnidan.org"},{"name":"haltman","email":"harry.j.altman@gmail.com"},{"name":"seesemichaelj","email":"seesemichaelj@gmail.com"}],"homepage":"https://trufflesuite.com","bugs":{"url":"https://github.com/benjamincburns/sawtooth-seth-provider/issues"},"dist":{"shasum":"d882340a1129d07bbc99dbaf2515538e364ca6b6","tarball":"https://registry.npmjs.org/@truffle/sawtooth-seth-provider/-/sawtooth-seth-provider-0.1.0-ens-events.0.tgz","fileCount":6,"integrity":"sha512-L1W3YmtW6UNWNW3yPYB6DJKo3ICi8mvfhFqrO8gZgAlP07RtW399LA/cQNsDg11jGp1hILipDEGR1rftidqYgQ==","signatures":[{"sig":"MEUCIEp3kzgJJ/6b69FnAQS48pHBPW/SEGuiBEwZahSSms38AiEAiXQo1ByPfJfu+Dg1Ovnjr+fMc/4Os1HhoukRYcj7xGI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjnXGCRA9TVsSAnZWagAAJ3wP+gK80wlBqL7cadbFogM+\nF6cc82sdWP2DJVDutPUwKs1yP3zTeZbIG1XiV5TdOmt3vE2LPhWg+BWi9U+y\n97Ux3yY802nxmIClDd+0MW30IIFykKS/r/vwZaxUK/G5Ddp1kxGuwNbmCIlf\nnAExfHTvqveDM8cCfqeAAbacoo3O2Fxa149yfD93dKK1/30N+kLgyV49bwwg\nE4bNYGF6nSthRS1JoeeI4iBcWBIyt/MZFSpxXogF51M5eNv4zGWhlOyZ3N0N\nFUHxflNplNhwybffn1arVq+gU5vagrUUlbtwUFBABMtrbApFi/ATBhkZCaF3\nlvC6u08E+8P80WZkD2+JWrnwwpABmWzPWOdYFGBv9X8YksXKNx+gKQCY2D5l\nzHmPUBSbenZz4QZdyZhLLvtE5QQ6lVind6FSCKspeGq3kSR8c4ZM3N0fG/dC\nwjD/bghjcemM5Nf0nt5FtZBjs3tprjOfXDvu4GG13szNpAFAaNeAANZUZKbC\nIEC4aG6xZUoHRK23cJt5Ao6MHofhJBC2zmvOVb4TAcAYNUvlcCjt2tDVH3Qf\nRVAKyN6c+OA310awWKi0Fmw+0gJZQi3ixumgfOtQGtKyp05jZTr1DUU5ehVX\nJbyn5eRFg502MHz8c+3gBU5aKG2cXyTcgpTqUmB9wDhsueSMF98SRWNliVB6\nUCKL\r\n=SqUY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# ALPHA - UNPUBLISHED - EXPERIMENTAL USE ONLY\n\nThis module is an early work in progress. For the moment it is totally unsupported and should only be used in an experimental context.\n\n# @truffle/sawtooth-seth-provider\n\nA web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.\n\n## Supported operations\n\nWe intend to add support for all operations listed below, but items with a ❌ are yet to be completed.\n\n - `truffle migrate` ✔️\n - Use with `@truffle/contract` in browser ✔️\n - `truffle test` ✔️ (if running against seth build which includes hyperledger/sawtooth-seth#77)\n - `truffle debug` ❌\n\n## Important differences between Sawtooth Seth and Core Ethereum\n\nIt's important to know that Seth doesn't behave exactly like core Ethereum. An incomplete list of these differences is below.\n\n- No `status` flags on transaction receipt.\n- Transaction receipts contain the transaction's return data.\n- No support for the `REVERT` opcode.\n- Gas price is always `0`.\n- Much larger block and transaction hashes.\n- Sawtooth's underlying data structure is a [Radix Merkle Tree](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/global_state.html#radix-merkle-tree-overview) instead of a Merkle Patricia Tree.\n- Blocks aren't mined in Sawtooth, they're validated by a central [validator network](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/validator_network.html).\n- You must enable the [BlockInfo Transaction Family](https://sawtooth.hyperledger.org/docs/core/releases/1.0/transaction_family_specifications/blockinfo_transaction_family.html) if your contracts reqire the ability to read blockchain metadata (e.g. the previous block's hash).\n\nFor a more comprehensive understanding of Sawtooth's architecture, please see the [Architecture Description](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture.html) section of [Sawtooth's documentation site](https://sawtooth.hyperledger.org/docs/core/releases/1.0/).\n\n\n## Library usage\n\n### Installation\n\n`npm install --save-dev @truffle/sawtooth-seth-provider`\n\n### Truffle configuration\n\nExample `truffle-config.js`:\n\n```javascript\nconst SethProvider = require('@truffle/sawtooth-seth-provider');\n\nmodule.exports = {\n  networks: {\n    seth: {\n      provider: new SethProvider('http://127.0.0.1:3030'),\n      network_id: \"*\" // Match any network id\n    }\n  }\n};\n```\n\n### Usage in the browser with Webpack\n\nWebpack is highly recommended for frontend usage. This README won't cover how to set up webpack for your project, as each project is different. However, when packing `truffle-sawtoot-seth-provider` you may see an error about an inability to resolve the `fs` module. The fs module isn't required for frontend use, so you can safely work around this error message by adding the following to your webpack configuration:\n\n```javascript\nnode: {\n   fs: \"empty\"\n}\n```\n\n### Troubleshooting\n\n#### Printing RPC requests and responses\nThis module makes use of the `debug` module to print RPC requests and responses. The debug module key for this module is `SethProvider`.\n\nTo enable RPC request/response output on the command line, ensure your `DEBUG` environment variable contains `SethProvider:RPC`.\n\nTo enable RPC request/response output in the browser, open your debugging console and run `localStorage.debug = 'SethProvider:RPC'` and refresh the page.\n\nFor more on how to use the `debug` module, see the [Usage section in the debug module's README](https://github.com/visionmedia/debug/blob/master/README.md#usage).\n","gitHead":"0327ff65cb9f9cc5641fdad91e6ed0eea2df9f69","_npmUser":{"name":"eggplantzzz","email":"pobol234@gmail.com"},"repository":{"url":"https://github.com/trufflesuite/truffle/tree/master/packages/sawtooth-seth-provider","type":"git"},"_npmVersion":"lerna/3.16.4/node@v12.11.0+x64 (darwin)","description":"A web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.","directories":{},"_nodeVersion":"12.11.0","dependencies":{"debug":"^4.1.0","web3-provider-engine":"14.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/sawtooth-seth-provider_0.1.0-ens-events.0_1569617349529_0.7078771685812772","host":"s3://npm-registry-packages"}},"0.0.6-alphaTez.0":{"name":"@truffle/sawtooth-seth-provider","version":"0.0.6-alphaTez.0","author":{"name":"Ben Burns"},"license":"MIT","_id":"@truffle/sawtooth-seth-provider@0.0.6-alphaTez.0","maintainers":[{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},{"name":"eggplantzzz","email":"pobol234@gmail.com"},{"name":"fainashalts","email":"fainashalts@gmail.com"},{"name":"gnidan","email":"nick@gnidan.org"},{"name":"haltman","email":"harry.j.altman@gmail.com"},{"name":"seesemichaelj","email":"seesemichaelj@gmail.com"}],"homepage":"https://trufflesuite.com","bugs":{"url":"https://github.com/benjamincburns/sawtooth-seth-provider/issues"},"dist":{"shasum":"7f32409bb18561319ba084b0eef1ba0d5896ca68","tarball":"https://registry.npmjs.org/@truffle/sawtooth-seth-provider/-/sawtooth-seth-provider-0.0.6-alphaTez.0.tgz","fileCount":6,"integrity":"sha512-+NE0lBZp8pNbFlvoUD/16v/SdsUe2kccjkkOhn1laJbJKmCf5TDETyfSHMDM9IO1Nlh3ddgMiDaSJ0R0GJgnvQ==","signatures":[{"sig":"MEYCIQDjgI2OhPlJhRqbqy8w/72hJer8LuoKNoOQSliCItkGzwIhAMNdsS68rp4has+TdCo6ijlG1+FLongucsz2BfdSz7Yx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkECdCRA9TVsSAnZWagAAkMEP/3WlfE4/YaDsuVFDMYw3\nwOdfDqrOYCcmHsoAmJa7W5+9LlYr86LrBNZ1B8HSiKfIqqGvFibht59b8iDq\nEzQcIPldDJGCUzHv03v0YwDig1Gku4Om0F0FxLBMvctLsGugRpQSGgHLpM9l\nCz9M96H+GyN0K10B2ELUh36bzvY/Hbx7k0zYCIkgmVdM7yvvx/JyXK71tYyg\nQRoPZ798XivD7jKcBzleKJp+GcNIISmeOPErTE7BAFABe+bwLsOpwsGXGvoN\nZ11r+FIyq4D+tQBniG1JEVLu4/HNHyIKLL6497xFxt31/3kTCmqTRUhbFUv0\nZdvDFZ1/Zc7bIw5UBcgZouJQ3UlEkSL/+3fx7P0RvSFPYqg5NcgHHbvmINmU\nVaoejh4JW+7Ctzl5fYvTlt+tco2K9BLz6tP6wdqTNhIBOpM9PmieBD1a/tzS\nYrKtrLxMrv1YM/ptCHbU73Q1ielQkeEvfbO/rek2ZtFoI5zarJCjZ/6xGERr\nyARtw/9DIQhHcY/5Bli++Uj0OFIWa/BireqEb5JIIZYjb+HHyapTixj0hyKm\na7s7xxAmx64aZNERm+IkaDT/Rp7T6hmF+j5COB1ReHc6C6Senv8HyfAIv88i\nq8h2V2V0HQf7/uNj01/0F7E35GA+X7+E9pK9Fl4n8VS6CoR5uKKUqIKQYnX7\nTrJc\r\n=nbCr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# ALPHA - UNPUBLISHED - EXPERIMENTAL USE ONLY\n\nThis module is an early work in progress. For the moment it is totally unsupported and should only be used in an experimental context.\n\n# @truffle/sawtooth-seth-provider\n\nA web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.\n\n## Supported operations\n\nWe intend to add support for all operations listed below, but items with a ❌ are yet to be completed.\n\n - `truffle migrate` ✔️\n - Use with `@truffle/contract` in browser ✔️\n - `truffle test` ✔️ (if running against seth build which includes hyperledger/sawtooth-seth#77)\n - `truffle debug` ❌\n\n## Important differences between Sawtooth Seth and Core Ethereum\n\nIt's important to know that Seth doesn't behave exactly like core Ethereum. An incomplete list of these differences is below.\n\n- No `status` flags on transaction receipt.\n- Transaction receipts contain the transaction's return data.\n- No support for the `REVERT` opcode.\n- Gas price is always `0`.\n- Much larger block and transaction hashes.\n- Sawtooth's underlying data structure is a [Radix Merkle Tree](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/global_state.html#radix-merkle-tree-overview) instead of a Merkle Patricia Tree.\n- Blocks aren't mined in Sawtooth, they're validated by a central [validator network](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/validator_network.html).\n- You must enable the [BlockInfo Transaction Family](https://sawtooth.hyperledger.org/docs/core/releases/1.0/transaction_family_specifications/blockinfo_transaction_family.html) if your contracts reqire the ability to read blockchain metadata (e.g. the previous block's hash).\n\nFor a more comprehensive understanding of Sawtooth's architecture, please see the [Architecture Description](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture.html) section of [Sawtooth's documentation site](https://sawtooth.hyperledger.org/docs/core/releases/1.0/).\n\n\n## Library usage\n\n### Installation\n\n`npm install --save-dev @truffle/sawtooth-seth-provider`\n\n### Truffle configuration\n\nExample `truffle-config.js`:\n\n```javascript\nconst SethProvider = require('@truffle/sawtooth-seth-provider');\n\nmodule.exports = {\n  networks: {\n    seth: {\n      provider: new SethProvider('http://127.0.0.1:3030'),\n      network_id: \"*\" // Match any network id\n    }\n  }\n};\n```\n\n### Usage in the browser with Webpack\n\nWebpack is highly recommended for frontend usage. This README won't cover how to set up webpack for your project, as each project is different. However, when packing `truffle-sawtoot-seth-provider` you may see an error about an inability to resolve the `fs` module. The fs module isn't required for frontend use, so you can safely work around this error message by adding the following to your webpack configuration:\n\n```javascript\nnode: {\n   fs: \"empty\"\n}\n```\n\n### Troubleshooting\n\n#### Printing RPC requests and responses\nThis module makes use of the `debug` module to print RPC requests and responses. The debug module key for this module is `SethProvider`.\n\nTo enable RPC request/response output on the command line, ensure your `DEBUG` environment variable contains `SethProvider:RPC`.\n\nTo enable RPC request/response output in the browser, open your debugging console and run `localStorage.debug = 'SethProvider:RPC'` and refresh the page.\n\nFor more on how to use the `debug` module, see the [Usage section in the debug module's README](https://github.com/visionmedia/debug/blob/master/README.md#usage).\n","gitHead":"6b8472aae37a5cd7bff9541816c51f10182e6e8d","_npmUser":{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},"repository":{"url":"https://github.com/trufflesuite/truffle/tree/master/packages/sawtooth-seth-provider","type":"git"},"_npmVersion":"lerna/3.16.4/node@v12.9.0+x64 (darwin)","description":"A web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.","directories":{},"_nodeVersion":"12.9.0","dependencies":{"debug":"^4.1.0","web3-provider-engine":"14.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/sawtooth-seth-provider_0.0.6-alphaTez.0_1569734813118_0.8946141269081349","host":"s3://npm-registry-packages"}},"0.0.7-alphaTez.0":{"name":"@truffle/sawtooth-seth-provider","version":"0.0.7-alphaTez.0","author":{"name":"Ben Burns"},"license":"MIT","_id":"@truffle/sawtooth-seth-provider@0.0.7-alphaTez.0","maintainers":[{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},{"name":"eggplantzzz","email":"pobol234@gmail.com"},{"name":"fainashalts","email":"fainashalts@gmail.com"},{"name":"gnidan","email":"nick@gnidan.org"},{"name":"haltman","email":"harry.j.altman@gmail.com"},{"name":"seesemichaelj","email":"seesemichaelj@gmail.com"}],"homepage":"https://trufflesuite.com","bugs":{"url":"https://github.com/benjamincburns/sawtooth-seth-provider/issues"},"dist":{"shasum":"d22251bfd297bbeee850625408d1a32a5fe19da1","tarball":"https://registry.npmjs.org/@truffle/sawtooth-seth-provider/-/sawtooth-seth-provider-0.0.7-alphaTez.0.tgz","fileCount":6,"integrity":"sha512-td4PVzQATJuEP8Elyhtwzzfchtwj1VCn+rxJDgsJC2QZW9uVvlgv65SCsaf9D72LieZi+e28Tu5arU8FvRH4fQ==","signatures":[{"sig":"MEUCIQCwHV2JK5NygL8BlXMioO1sl2v7q4wbc0uZ7LoS9rrL0QIgEv4q+d4XDcv0x195jKa2aptviD+dRFuuQ4v1G1zoYRY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdniQkCRA9TVsSAnZWagAAKhkQAIgb7Bbta0jwoBqujEmR\nFnCFWobKAu3TtfW5zYUYuaxqyB7SJLR3VtOTocvMEGQTXj8xyQJg7qVtm+nH\nafdOmXuBn4pmU1E7UtZTZg1KVpe0s0ICCFAEb3V7ZNSr/ILlt1gu0te29OIF\nWjP2xOUfHGcsUXMe+NfzUyUYSMEt2/TimeeuBw5p/aWdq8+F5+j8n952/z8U\nSiPSnHJ1jNXDDhHUAa7NOsgaSaDHwsymKb7pWyqwcf/SzT3GYNM9ORVVilzj\nzB6NGt0lnx3QpvebFl1UkJAz9bjnmathmfGzUlacfj8mELUWYdvh1+0DtoGT\naeFQncalDKFRZG+BwsRUK7dHKOYTUodaQImNQ6N3pSNJ5kV76N3XiufLr/od\nEl2JMZmJGqtX9taBnksJgnj3LD0m6KNJw2JMueLvxBQ5AoPLnWPeodDQa8kX\n9UboIk5O5cCnPKXLp+nEqbY9GVs1d0DpdPFvrKLcrs0RiTygQLYIp47KTk/Q\nIA4HxB/EJcKEOjCey6wZKnueWght/RBAMjZlG+LGvFOlObbH3o0/81LNUKAw\naqfDoJUTUPpTU5EOlVVPwCYqjeulJN16Y/YxkgJ5zg630PibrUF8rN8qrXxK\nGpXHqbG8rp+8GaiW8Qda0/3X5WnEQgU/DY85f7ZU/1SOBpfJT4N+EMB1T/Sr\niO0e\r\n=+KKE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# ALPHA - UNPUBLISHED - EXPERIMENTAL USE ONLY\n\nThis module is an early work in progress. For the moment it is totally unsupported and should only be used in an experimental context.\n\n# @truffle/sawtooth-seth-provider\n\nA web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.\n\n## Supported operations\n\nWe intend to add support for all operations listed below, but items with a ❌ are yet to be completed.\n\n - `truffle migrate` ✔️\n - Use with `@truffle/contract` in browser ✔️\n - `truffle test` ✔️ (if running against seth build which includes hyperledger/sawtooth-seth#77)\n - `truffle debug` ❌\n\n## Important differences between Sawtooth Seth and Core Ethereum\n\nIt's important to know that Seth doesn't behave exactly like core Ethereum. An incomplete list of these differences is below.\n\n- No `status` flags on transaction receipt.\n- Transaction receipts contain the transaction's return data.\n- No support for the `REVERT` opcode.\n- Gas price is always `0`.\n- Much larger block and transaction hashes.\n- Sawtooth's underlying data structure is a [Radix Merkle Tree](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/global_state.html#radix-merkle-tree-overview) instead of a Merkle Patricia Tree.\n- Blocks aren't mined in Sawtooth, they're validated by a central [validator network](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/validator_network.html).\n- You must enable the [BlockInfo Transaction Family](https://sawtooth.hyperledger.org/docs/core/releases/1.0/transaction_family_specifications/blockinfo_transaction_family.html) if your contracts reqire the ability to read blockchain metadata (e.g. the previous block's hash).\n\nFor a more comprehensive understanding of Sawtooth's architecture, please see the [Architecture Description](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture.html) section of [Sawtooth's documentation site](https://sawtooth.hyperledger.org/docs/core/releases/1.0/).\n\n\n## Library usage\n\n### Installation\n\n`npm install --save-dev @truffle/sawtooth-seth-provider`\n\n### Truffle configuration\n\nExample `truffle-config.js`:\n\n```javascript\nconst SethProvider = require('@truffle/sawtooth-seth-provider');\n\nmodule.exports = {\n  networks: {\n    seth: {\n      provider: new SethProvider('http://127.0.0.1:3030'),\n      network_id: \"*\" // Match any network id\n    }\n  }\n};\n```\n\n### Usage in the browser with Webpack\n\nWebpack is highly recommended for frontend usage. This README won't cover how to set up webpack for your project, as each project is different. However, when packing `truffle-sawtoot-seth-provider` you may see an error about an inability to resolve the `fs` module. The fs module isn't required for frontend use, so you can safely work around this error message by adding the following to your webpack configuration:\n\n```javascript\nnode: {\n   fs: \"empty\"\n}\n```\n\n### Troubleshooting\n\n#### Printing RPC requests and responses\nThis module makes use of the `debug` module to print RPC requests and responses. The debug module key for this module is `SethProvider`.\n\nTo enable RPC request/response output on the command line, ensure your `DEBUG` environment variable contains `SethProvider:RPC`.\n\nTo enable RPC request/response output in the browser, open your debugging console and run `localStorage.debug = 'SethProvider:RPC'` and refresh the page.\n\nFor more on how to use the `debug` module, see the [Usage section in the debug module's README](https://github.com/visionmedia/debug/blob/master/README.md#usage).\n","gitHead":"0bb676b33e20d2d58d13d0a5f203c4dea674c7f2","_npmUser":{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},"repository":{"url":"https://github.com/trufflesuite/truffle/tree/master/packages/sawtooth-seth-provider","type":"git"},"_npmVersion":"lerna/3.16.4/node@v12.9.0+x64 (darwin)","description":"A web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.","directories":{},"_nodeVersion":"12.9.0","dependencies":{"debug":"^4.1.0","web3-provider-engine":"14.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/sawtooth-seth-provider_0.0.7-alphaTez.0_1570645028154_0.5518935583065678","host":"s3://npm-registry-packages"}},"0.0.8-alphaTez.0":{"name":"@truffle/sawtooth-seth-provider","version":"0.0.8-alphaTez.0","author":{"name":"Ben Burns"},"license":"MIT","_id":"@truffle/sawtooth-seth-provider@0.0.8-alphaTez.0","maintainers":[{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},{"name":"eggplantzzz","email":"pobol234@gmail.com"},{"name":"fainashalts","email":"fainashalts@gmail.com"},{"name":"gnidan","email":"nick@gnidan.org"},{"name":"haltman","email":"harry.j.altman@gmail.com"},{"name":"seesemichaelj","email":"seesemichaelj@gmail.com"}],"homepage":"https://trufflesuite.com","bugs":{"url":"https://github.com/benjamincburns/sawtooth-seth-provider/issues"},"dist":{"shasum":"c2ec19151885ec400c73a5aaa70521f725fd8480","tarball":"https://registry.npmjs.org/@truffle/sawtooth-seth-provider/-/sawtooth-seth-provider-0.0.8-alphaTez.0.tgz","fileCount":6,"integrity":"sha512-zjmYqLpJbP7l69VuiJ4vsyegBzsNu3/U4WoLNDIE3PiffFfRHbXaJ7QbIBGogHRS20r8nQyRmNW6SDNMS6ViRQ==","signatures":[{"sig":"MEUCIQD3lJNedU/Jf8cssaHEseQCzaDEuuW/CzuY5sPxfPvkwQIgfk5KT6tGnKMTWsT9vy8ONmWcWqIQZASydO6Jk+qRlWQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoRX3CRA9TVsSAnZWagAApc8P+QFs929NAmeFlMoe2V6t\nECIMt/jcnOzIxCFC802/8cEbKCxoAnwnvZYrhe6zcekYqsIQ2BE+w05WBS45\nqOkW7ziVU1CtY+BgsdpLcnZ6ff7dR2xRwWRMb1m3qLOCiNF7VtjqQE2vZHyn\nJRDf3fjwGbRdi8h2PmspWpljRIiu9BKDJXY8BqVAFG1snPVtly1K2BnZ0Qzd\neICYGuUDtuXSLLCTExml1j6ZF+unrGD7bGnOm4bODtxiapHVQc5lfE7FRXC3\nsfW0718aw8Lk8i8Ac2MVRDKYHJhAICLPPf9QrsHHwf54TOdOx+glP6UPDxeT\nsyl6ibR1ugAgINfKYnwB7+Yg80Lrl8FPVzHjxTOcGLQ9QpXI2nffjaKcHr+C\neKw7S8qADRuOW7tSRSMetvka2T0XqOjx3ldbZfJD5qDARRTVJhXsoEJOfX89\n5Ly7i0CwUuLy0IYs9lPTv0QKgJxEiGTYdf2+NSmpWWQsAilips33/MerS7Is\nfBD6vLOGWE/xBYmT0SvpB+KFUGfRX5wEqQeYNx3kQaFon7wcViCbFlix2qct\nzjaE8RKYh4MzRnVvKAPPaHCAYxnenDgswunLqMqqqofRBFOzTSz9nbiyxEEm\nbyATOSf1uJh49Fu4LuH3WS8jPFfCwqdSSnw+NYeprW6EFtXLAboAklId5shE\noI3m\r\n=vzKY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# ALPHA - UNPUBLISHED - EXPERIMENTAL USE ONLY\n\nThis module is an early work in progress. For the moment it is totally unsupported and should only be used in an experimental context.\n\n# @truffle/sawtooth-seth-provider\n\nA web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.\n\n## Supported operations\n\nWe intend to add support for all operations listed below, but items with a ❌ are yet to be completed.\n\n - `truffle migrate` ✔️\n - Use with `@truffle/contract` in browser ✔️\n - `truffle test` ✔️ (if running against seth build which includes hyperledger/sawtooth-seth#77)\n - `truffle debug` ❌\n\n## Important differences between Sawtooth Seth and Core Ethereum\n\nIt's important to know that Seth doesn't behave exactly like core Ethereum. An incomplete list of these differences is below.\n\n- No `status` flags on transaction receipt.\n- Transaction receipts contain the transaction's return data.\n- No support for the `REVERT` opcode.\n- Gas price is always `0`.\n- Much larger block and transaction hashes.\n- Sawtooth's underlying data structure is a [Radix Merkle Tree](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/global_state.html#radix-merkle-tree-overview) instead of a Merkle Patricia Tree.\n- Blocks aren't mined in Sawtooth, they're validated by a central [validator network](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture/validator_network.html).\n- You must enable the [BlockInfo Transaction Family](https://sawtooth.hyperledger.org/docs/core/releases/1.0/transaction_family_specifications/blockinfo_transaction_family.html) if your contracts reqire the ability to read blockchain metadata (e.g. the previous block's hash).\n\nFor a more comprehensive understanding of Sawtooth's architecture, please see the [Architecture Description](https://sawtooth.hyperledger.org/docs/core/releases/1.0/architecture.html) section of [Sawtooth's documentation site](https://sawtooth.hyperledger.org/docs/core/releases/1.0/).\n\n\n## Library usage\n\n### Installation\n\n`npm install --save-dev @truffle/sawtooth-seth-provider`\n\n### Truffle configuration\n\nExample `truffle-config.js`:\n\n```javascript\nconst SethProvider = require('@truffle/sawtooth-seth-provider');\n\nmodule.exports = {\n  networks: {\n    seth: {\n      provider: new SethProvider('http://127.0.0.1:3030'),\n      network_id: \"*\" // Match any network id\n    }\n  }\n};\n```\n\n### Usage in the browser with Webpack\n\nWebpack is highly recommended for frontend usage. This README won't cover how to set up webpack for your project, as each project is different. However, when packing `truffle-sawtoot-seth-provider` you may see an error about an inability to resolve the `fs` module. The fs module isn't required for frontend use, so you can safely work around this error message by adding the following to your webpack configuration:\n\n```javascript\nnode: {\n   fs: \"empty\"\n}\n```\n\n### Troubleshooting\n\n#### Printing RPC requests and responses\nThis module makes use of the `debug` module to print RPC requests and responses. The debug module key for this module is `SethProvider`.\n\nTo enable RPC request/response output on the command line, ensure your `DEBUG` environment variable contains `SethProvider:RPC`.\n\nTo enable RPC request/response output in the browser, open your debugging console and run `localStorage.debug = 'SethProvider:RPC'` and refresh the page.\n\nFor more on how to use the `debug` module, see the [Usage section in the debug module's README](https://github.com/visionmedia/debug/blob/master/README.md#usage).\n","gitHead":"68ac72a42cff943110c8fc8673b251f5d651bc61","_npmUser":{"name":"cruzmolina","email":"cruz.adam.molina@gmail.com"},"repository":{"url":"https://github.com/trufflesuite/truffle/tree/master/packages/sawtooth-seth-provider","type":"git"},"_npmVersion":"lerna/3.16.4/node@v12.9.0+x64 (darwin)","description":"A web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.","directories":{},"_nodeVersion":"12.9.0","dependencies":{"debug":"^4.1.0","web3-provider-engine":"14.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/sawtooth-seth-provider_0.0.8-alphaTez.0_1570838006434_0.5145035523933228","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-04T19:57:50.134Z","modified":"2026-04-29T21:46:24.339Z","0.0.5":"2019-09-04T19:57:50.542Z","0.1.0-ens-events.0":"2019-09-27T20:49:09.666Z","0.0.6-alphaTez.0":"2019-09-29T05:26:53.334Z","0.0.7-alphaTez.0":"2019-10-09T18:17:08.332Z","0.0.8-alphaTez.0":"2019-10-11T23:53:26.532Z"},"bugs":{"url":"https://github.com/benjamincburns/sawtooth-seth-provider/issues"},"author":{"name":"Ben Burns"},"license":"MIT","homepage":"https://trufflesuite.com","repository":{"url":"https://github.com/trufflesuite/truffle/tree/master/packages/sawtooth-seth-provider","type":"git"},"description":"A web3 provider which makes it possible to connect Truffle with Sawtooth Seth blockchains.","maintainers":[{"email":"it@consensys.net","name":"rizedr"}],"readme":"","readmeFilename":""}