{"_id":"@ganache/filecoin","_rev":"73-0fffdb1c9fc048945a9253b06990a15e","name":"@ganache/filecoin","dist-tags":{"latest":"0.9.2","canary":"0.1.1-canary.1342","internal":"0.1.1-internal.0","alpha":"0.5.3-alpha.0","beta":"0.1.1-beta.2","rc":"0.1.1-rc.0"},"versions":{"0.1.0":{"name":"@ganache/filecoin","version":"0.1.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","types":"lib/index.d.ts","source":"index.ts","directories":{"lib":"lib","test":"tests"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"npm run tsc && npx --node-arg=--max-old-space-size=10000 webpack","docs.build":"rm -rf ./lib/docs ./lib/api.json && npm run docs.typedoc","docs.typedoc":"typedoc --options ./typedoc.json --readme ./README.md --out ../../../docs/typedoc --json ../../../docs/typedoc/api.json src/api.ts","docs.preview":"ws --open --port 3012 --directory ../../../","tsc":"ttsc --build","tsc.declarations":"ttsc --build tsconfig.declarations.json","test":"nyc --reporter lcov npm run mocha","mocha":"cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 10000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecion","filecion","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-client":"48.1.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@babel/plugin-proposal-class-properties":"7.12.13","@babel/plugin-proposal-private-methods":"7.12.13","@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.0.11","@seesemichaelj/uwebsockets.js":"18.15.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"2.4.28","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","babel-loader":"8.2.2","cross-env":"7.0.2","node-loader":"1.0.2","nyc":"15.1.0","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.0","@ganache/options":"0.1.0","@ganache/utils":"0.1.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.0.1","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","seedrandom":"3.0.5","subleveldown":"5.0.1"},"_resolved":"","_integrity":"","_from":"file:ganache-filecoin-0.1.0.tgz","_id":"@ganache/filecoin@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"dist":{"integrity":"sha512-O/t9I57eX5sVAyvAoJ6KbAQdBeZ//bvaLybCV3hPp7cvQBic2XoMdWYjbjwi8ttOgHdgLSpA2SbSLSl+s5n9hQ==","shasum":"dc3bed31380e789f84391187adc2dc39419d4d24","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.0.tgz","fileCount":8,"unpackedSize":4107382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLZ5hCRA9TVsSAnZWagAA7S8P/1/NSEk+1Vvo46DcsZEe\nMn8MDZyXT306W8u/mstcey3sfRHlYp8zefTq3mFkJ89Op3j18Gyb2iLJIQP+\ndSopOutA05/Deb3+bYaQAhauvVge1Mey+N3NRmsdfto4Chnj4VH8LrKJg8i0\nqaF8b9nfrjb8hM4ZnekgvUjEkdl5nuryhk8de5SfwF6iu4ewZLwcIneEy23P\nRJC3fnC9TSt6UyyOr31KqBP0Ib20yi8JRD7/vBEyQoV3r+ImljlrBt8K9Hs1\n8l8JiaVmcrx860IlgKGefa9GJiAsudFdYijZ23930sp68r/CWr3oZkLZB0qH\nyGKeP0r/BfBYAsiQpeCO01/CIG+ETouaAVPhKYXzI8dFcLdLArmaiVh+fGGk\nT4ISktZTd6xwi/kPf8oeG66ACeLzHOyyLYqgiFE5dl4QdU8ObpORrZanCsYL\nob2cUlj+tFUOshHpjQp3LRycdRM9QPVrGPbsvOGJwWDbATPsxiUHH+FzKWbv\n9vhSAcUqH6yPc6OM11D4W5VFy+G7LiqnQ0TQbE8eWXEKYBTdrRuZWQiEhcDx\n6Kl7YC7duPllMJL2UZ8sD+ugqhRoxrC2gLLdIsAzwA8fLx6O1ZoRC1PM0aGI\n81HxlZtZgBdPx+qAuthiAhRMKnUZbu/kharvlgocP7TB/7bBghgHP7But+Qm\n0l/H\r\n=PWYh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz7OQOb9Pv3IiO01ZU1w/Kz1zVmODYTiR7jKqCezLmDAIhAM7oT2VimWVhrAI6ZdicwlT1bmms3KFV29fjSCbXuyOQ"}]},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.0_1613602401376_0.9058436446062219"},"_hasShrinkwrap":false},"0.1.1":{"name":"@ganache/filecoin","version":"0.1.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","types":"lib/index.d.ts","source":"index.ts","directories":{"lib":"lib","test":"tests"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"npx --node-arg=--max-old-space-size=10000 webpack","docs.build":"rm -rf ./lib/docs ./lib/api.json && npm run docs.typedoc","docs.typedoc":"typedoc --options ./typedoc.json --readme ./README.md --out ../../../docs/typedoc --json ../../../docs/typedoc/api.json src/api.ts","docs.preview":"ws --open --port 3012 --directory ../../../","tsc":"ttsc --build","tsc.declarations":"ttsc --build tsconfig.declarations.json","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 10000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecion","filecion","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-client":"48.1.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@babel/plugin-proposal-class-properties":"7.12.13","@babel/plugin-proposal-private-methods":"7.12.13","@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.0.11","@seesemichaelj/uwebsockets.js":"18.15.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"2.4.28","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","babel-loader":"8.2.2","cross-env":"7.0.2","node-loader":"1.0.2","nyc":"15.1.0","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.0","@ganache/options":"0.1.0","@ganache/utils":"0.1.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.0.1","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","seedrandom":"3.0.5","subleveldown":"5.0.1"},"_resolved":"","_integrity":"","_from":"file:ganache-filecoin-0.1.1.tgz","_id":"@ganache/filecoin@0.1.1","_nodeVersion":"10.13.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-gdA5caaP+zg1iPe50xzFP9v7S08RtfFu1M65mqCtW2Zu9KOWZY6+06urymC//zGmCuC/NaCj+8wW0RBxqpUmyg==","shasum":"2ff0d390ef5e4e6925764c47ed84c6dfe113f4c7","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1.tgz","fileCount":8,"unpackedSize":4128431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPU2gCRA9TVsSAnZWagAAljUP/jgfrllpuw0ifHuFyORK\nfa7WpP8bQmq3sqTZVeEs1sZ5213rEcuvhlR3COhIsqMetr23BfAdbpwVXVr/\nVkE8oxPRjTDwudBlONh07k1RqSvhy8Oi5jtIQtSYQa8PYAZcCLI71YdSxnN2\njq3qm5sRjE1mUplyu1ivPS/tLEYp96DO2lXSP5c6aQqkHgpNXXjGKHY5Zu7c\nSD0BRI9AMswnqldmxNm1Q7GolyvrBzL+yR58UZfAUp6jZnDYpkXHFuv+5XtD\nxN5Er4R6vIrupFrJ3iS9yCLdxafWOqKSzxJqbFyCugPIGyQhnRyMR/CoXnQB\nOh/llhdbR96ecNcDIh5A44uYBv/HuGY3bh93XTZFKGRLX00x044RzzS1kl73\nnoB/NkozzDb4vuMqE6U4OeScOr58ZeAasO1+zVmafPsQux6pj5RZGOULz6sw\n/4chiMhFjLCuHoDsR6UPkNMz3mvHQCzMoGS5RDIyYNKFFNtX1Rf7Jj8PAe/H\nB/BEuBH+plZqF4kqhHoiOiRw7v7/2RCGVjGVMrFeZACPCUNheNUQ5pOVbAOc\nL+JOFwCCCdYC/KNqNYz7xzhglL4Bgcv+44j4BFQ70sbYGI3QuBr2V1XRtyF5\nGXe+reWV5Q6TiJTB3SbxnHpdG+nv9x5BswDEzOAfogwRjV4gocWU4d0tcIPY\nW1+6\r\n=Ysdy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGqmWgOSfkNljSShwQIaYs2czLESypVTRLgNx4yFq56MAiEAzbpVW/rvD+Dovt+MLhMBYI/maLe8GxP3KDr6FsNz/T8="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1_1614630303372_0.09980651099698123"},"_hasShrinkwrap":false},"0.1.2":{"name":"@ganache/filecoin","version":"0.1.2","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","types":"lib/index.d.ts","source":"index.ts","directories":{"lib":"lib","test":"tests"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"npx --node-arg=--max-old-space-size=10000 webpack","docs.build":"rm -rf ./lib/docs ./lib/api.json && npm run docs.typedoc","docs.typedoc":"typedoc --options ./typedoc.json --readme ./README.md --out ../../../docs/typedoc --json ../../../docs/typedoc/api.json src/api.ts","docs.preview":"ws --open --port 3012 --directory ../../../","tsc":"ttsc --build","tsc.declarations":"ttsc --build tsconfig.declarations.json","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 10000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecion","filecion","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@babel/plugin-proposal-class-properties":"7.12.13","@babel/plugin-proposal-private-methods":"7.12.13","@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.0.11","@seesemichaelj/uwebsockets.js":"18.15.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"2.4.28","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","babel-loader":"8.2.2","cross-env":"7.0.2","ipfs-http-client":"48.1.3","node-loader":"1.0.2","nyc":"15.1.0","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1","@ganache/options":"0.1.0","@ganache/utils":"0.1.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.0.1","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","seedrandom":"3.0.5","subleveldown":"5.0.1"},"_resolved":"","_integrity":"","_from":"file:ganache-filecoin-0.1.2.tgz","_id":"@ganache/filecoin@0.1.2","_nodeVersion":"10.13.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-C4oTwW2JmaiunQZ10YOp/gdkwmtQbl2ULudIUn5Iwb+tfsXXegc15o1RlJzCrII/lzD6u9+QbBsfihyyl6n9+Q==","shasum":"099a000d56ff4866e1982a1bae820074e197f8ad","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.2.tgz","fileCount":8,"unpackedSize":4447658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRo8gCRA9TVsSAnZWagAAN48P/icURiS7AH2PPHiV7PpA\nP3P+7T+BOl5hNLxy5RvDZuytGyGXIkT5ctO465j7o6ymqelG6x6CRB6/V9Fr\nrTBlVWvl0WchTZWlFGgifNh25yeIpVxhO4SBezlJkI2Lxazv7Wzm+b7ql7lo\nKagNDjUyREBoRpYh9fHYudPD3OrIM0s1hSNrKYW4yJ8b/WYwipGxctsN4Xk9\ntIpmSlIrmYw3GbP00A9yWH3fHWg6VTqLCKJx+TlYgwye+woTUMnEpWdY/RYG\nu8hUlpiP1KkqG/ciESBWcQnywJCuVac60IQsu9j7Mn3U/0wp4gahHP8kROqV\nc/JkBTu+Qy7Wi+0YSxS6nlC5qD1GBlMyjuptfxcdyg32z5OfhYN9PcDj43go\nlt/aXNej3LeTzA0seEpkyrDwdinLx/IVqT/3oZWKqCR9HNVxa9Gs8/KRrA9G\nCaFH+bC5YPtfq3zMjIn9c8wctoQQnnzVSkdHQhVdHWefqMtiEtOgH1je02MI\n9nsRaErN1MksbqBY2QUGLyD9pPq3AUXABYoMnOF9YJGe/LHDE5xnCO+z2mZL\nKGWS2H67jcIyMOV27IYIng6v9QQa+/fwuVLTaSx/vHSJdkl+3pCbBcpc0yHp\nVOOU4gBMYxTYgLc6Cv4oWCsEnCHdkhhfjZ4K89v89PPUQw0PT8XNtJuCT6vf\n0vNh\r\n=b0lM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNU1c862cyuOMP01G2ksO+9RiM/BvYQk4BDsyvjz11lgIhAKvmUFXGYHnuRLpBuWmEkmnlfwqL51TC7BXUk67xd/lG"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.2_1615236895861_0.6387829628471802"},"_hasShrinkwrap":false},"0.1.3":{"name":"@ganache/filecoin","version":"0.1.3","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","types":"lib/index.d.ts","source":"index.ts","directories":{"lib":"lib","test":"tests"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"npx --node-arg=--max-old-space-size=10000 webpack","docs.build":"rm -rf ./lib/docs ./lib/api.json && npm run docs.typedoc","docs.typedoc":"typedoc --options ./typedoc.json --readme ./README.md --out ../../../docs/typedoc --json ../../../docs/typedoc/api.json src/api.ts","docs.preview":"ws --open --port 3012 --directory ../../../","tsc":"ttsc --build","tsc.declarations":"ttsc --build tsconfig.declarations.json","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 10000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecion","filecion","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@babel/plugin-proposal-class-properties":"7.12.13","@babel/plugin-proposal-private-methods":"7.12.13","@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.0.11","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1","@ganache/options":"0.1.0","@ganache/utils":"0.1.0","@seesemichaelj/uwebsockets.js":"18.15.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","babel-loader":"8.2.2","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.0.1","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"_resolved":"","_integrity":"","_from":"file:ganache-filecoin-0.1.3.tgz","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by it's `DealID`. Takes a single parameter, `DealID` of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.3","_nodeVersion":"10.13.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-FFFa1BuDOPH/FwpIL0KZmFXQIBJhgbX3hz4lf2bu5XmlZ6MRf46a+uWtHNF4S1wH2j9TEZ9joiT6ZnnkM96mqg==","shasum":"362c7b44f4830d4d2e9b0bbcba5d94eb63b742d9","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.3.tgz","fileCount":8,"unpackedSize":4457468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWjv4CRA9TVsSAnZWagAAPCEP/2uQyA83L7P6IYMJ1t80\nX1gBVQjv9fngaV5ZKBLTiUEmZzgoR+IXPlEPsh8ckG2ZM6q3qOVQDUiDClvU\nOeQAtsSXNaqHF7kHETyA2c/7nL2U5iNBGH3va/7UpUWx1xFWHn69t9aPNjph\nBVXuL3Yk20Zpf6zoWv/V2Bde//9Xw2wdHih/iBrVAwsefzK9mYuqOsQZdRhp\ngKor9anPXJfGx3ByegtpD1IXZN654kyzW9bcbe3/MkOht8tIPAgVZTyryeEL\nWDZO6ojxZ4VwA+VFNo2/atocINu6SQdAQqRzUGivMF/gbpTn5RlvGn550rmS\nhAf592VnhoLFO8o6/lbBp2nUivhX4eKE9fI9rVVZScjmITTe3xftJwmtLmu+\nNxHLAaEZH481IlFuUp4de3T340oovnofxP8mWL7XjZRZGYD8JzM6ePKl1Qvo\np3in2wto5A8JUYHMCYmE66/U1y18nRhm3cEu9mySvounIO0rBJYvYruIbFma\nFQvlK6UWXPSbL0Er/K0IbkPDGHQbvby+I4E7aP1isCu5rwwtU2xs9Lwdgfdt\nmd+5V8nw5nXBb76CA1/g+wprRSC9+rui9tpVpasu2iP1zKXNWQLrusX0vh9S\nakw8BfyRbjh+T+FQ+muDZPYHYauL+4P3DffIfiIdJUW9yQOXibc5NEZq6k1P\nlPor\r\n=56rz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSDIPkiQeRtuVukriWN65zNuCk9VtNk5xRDG0ibU/HGQIhAMXeLXv2UL5lWD1XV+9KWl2G0vD9+icPQgT4z3eX1WD5"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.3_1616526328006_0.6388389224729694"},"_hasShrinkwrap":false},"0.1.4":{"name":"@ganache/filecoin","version":"0.1.4","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","types":"lib/index.d.ts","source":"index.ts","directories":{"lib":"lib","test":"tests"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","docs.build":"rm -rf ./lib/docs ./lib/api.json && npm run docs.typedoc","docs.typedoc":"typedoc --options ./typedoc.json --readme ./README.md --out ../../../docs/typedoc --json ../../../docs/typedoc/api.json src/api.ts","docs.preview":"ws --open --port 3012 --directory ../../../","tsc":"ttsc --build","tsc.declarations":"ttsc --build tsconfig.declarations.json","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecion","filecion","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.3","@ganache/options":"0.1.0","@ganache/utils":"0.1.0","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.2","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.0.1","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"_resolved":"","_integrity":"","_from":"file:ganache-filecoin-0.1.4.tgz","_id":"@ganache/filecoin@0.1.4","_nodeVersion":"10.13.0","_npmVersion":"6.14.12","dist":{"integrity":"sha512-pv+5AKgKxcpB5EoWoI9KXCqmSI88L5PzZTG3Bf8iHh+RE4wC3hF82g3TR2PBsEvZ7xRJfQj1rvkRPmyI+iLaqA==","shasum":"f83bbfb9478a3b8a2efd6dd3fb8b67eb83136625","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.4.tgz","fileCount":8,"unpackedSize":4500679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZOTxCRA9TVsSAnZWagAAXBYP/Rf7Pr9b3ECZluj2uySJ\nt4K0zEL5GZczYy5G0gulfhuqBYI955tjJeR5xcTc5VoJg2WWtUUUxKAMW94y\nflJ9M9Kux7vTIYjMJINYV5HSrLCrHWC9fKUKwf5PfiW0qIPQUcwKI8YAttpe\n74lY49TiezITC6XkIVaNiDtvW+T4mC7uPeYTBtAtN6FmoKG0/UByONSebCmX\ngD3ZKkVpQ+KQMkMw/4u+6KuLTTuky4AQO/pbopw/r7FkJfNp/0b6JearR7oj\nuzTeHDokh1gy9NydLXgwqXAOTUqL1zaEo3x1A8NKVLC0Y6NDvIAqEoSw8Iqc\nmOAUN+hZl3OSAwsboP5m/9MO1lMVGKAVzPtQjR+vK+olTw93Mwg1hTx8sl/U\nhq3wgHOMINus3vKoujAWZHAEktn55kHLKgZmdxKjBEFlo05V55UOKL89zt4M\nkBWjld8LPwNu/zgv1JzX85qLNBTYnO42s6rEK5qB/RtMcVoYW6W3Ob2jAFcp\nzPTARdTxitpwpjPVzWSD5If+DWrOl3TdFtI7fh1+TXu3cCZOn7Ir9j4mTpJO\n7IDvJek+IoXbN3JlYETyOIbswZSfnShw681imBfR1oocF13x9nMIeN3YcaSw\nLW+sDuXavdmypi+jbOpjx4Qga7bLAG7dl0p18xUjlKPPX9MMraFbA9xlAMTT\njFU9\r\n=Bpma\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFOATTXxbFWidYfICyoBArBc8zNcWV2xQAlnCq63d1RAiEAocc7GzyjsyAX3CKUtZaXtrX8zX6QmJVGaOZXPj/2jd0="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.4_1617224944471_0.9430444570543108"},"_hasShrinkwrap":false},"0.1.5":{"name":"@ganache/filecoin","version":"0.1.5","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","types":"lib/index.d.ts","source":"index.ts","directories":{"lib":"lib","test":"tests"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","docs.build":"rm -rf ./lib/docs ./lib/api.json && npm run docs.typedoc","docs.typedoc":"typedoc --options ./typedoc.json --readme ./README.md --out ../../../docs/typedoc --json ../../../docs/typedoc/api.json src/api.ts","docs.preview":"ws --open --port 3012 --directory ../../../","tsc":"ttsc --build","tsc.declarations":"ttsc --build tsconfig.declarations.json","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecion","filecion","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.3","@ganache/options":"0.1.0","@ganache/utils":"0.1.0","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.0.1","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"_resolved":"","_integrity":"","_from":"file:ganache-filecoin-0.1.5.tgz","_id":"@ganache/filecoin@0.1.5","_nodeVersion":"10.13.0","_npmVersion":"6.14.12","dist":{"integrity":"sha512-AohwMs/kJsYtfUDeJIg61Gqb0NQ1tNawdZF3TwmVFZ2MrTKSjUxGyC4NRGU3heFWvts2e/zKO4u/fblLDdZUyg==","shasum":"9fc5c63840c7b7f9bf668f7f465ff29767e52361","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.5.tgz","fileCount":8,"unpackedSize":4500679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZ6y1CRA9TVsSAnZWagAA8uYP/RgEpjxebKQyf4z51nJB\nn0yeMbC9HH4geyw+4HEaU3GYHTSwusowoNqTYTOmz5ktUuNlWGrcy8agfReU\ncoji2ZTKO63IhiP07UyiG3wTjkf5PFBt4HPCsplsYdvqVDM6R0Ln0HE3N0fT\n+aSG4A2ci4L0o37sU0G0K/iKaB9+ARARNeOTZ4WU/M62ut/I6hY6pfzUkLBp\nJcZYQ1e8ijBc+aTU7a9LyR/il0zMfEW46+0XesFZOZVHKFMg7FHw2VVcMRcv\nglRr1cpzSwMpzbhmkV8mSsauqb7KwaMI/I8N4C9NGA5xfN0WILv3bhF18inH\nIirGgoObp8BRIRG4SYSSBOCsK8HekfOSSYKo0ZTz4Jl140kAe+4ytleKO2S+\nJhYOT9G28xuN2msrKsQ/jcZmNP1CsNX882yKFHJllILtWaDWJpzD4R4ICUs8\nYLUkfbFPDzWy8DHQi5mtvJUdBTDKMebXlVR7qa3svipFyswYcUtE+/ctDOSD\n+83BPN8h2mOYAJr8ZFAClN6keAzHD2NfUW64KzJ4sXgf17smvUnzUVDsWOJ8\n6k7FBPkmsPW46XO9GwxnoYJOWiTNnS/e81hTuDmXfdkarvpu7gXDwWPScD6I\n2GYxWpaHJT+YGKLXgWgCU59ztaxF6TRj0poMPtr71Ced/XulgLfl4cYjy0z7\n5ckW\r\n=egTz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCY+U79JhRLSoy4araSZv7t98bLmLN+lZZwl0l4KbYIdwIhAMQzXNTXMgoudk/A0HK/oEnP2lfjFg96D9CaMS8T6be0"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.5_1617407157205_0.31952725836343787"},"_hasShrinkwrap":false},"0.1.6-internal.1326":{"name":"@ganache/filecoin","access":"public","version":"0.1.6-internal.1326","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1326+068d1650","@ganache/utils":"^0.1.1-internal.1326+068d1650","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"068d165086a08ef30557157b9314b836fa4795cb","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1326","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-7pnQi7yiMcppGHaUdPUKVV2NutbEyZWZ4irheq0mqDiJBmrAT8piA5I8E7isxIWyVl3D/+GW6a2zvKXc+B/rKQ==","shasum":"7667e6c6826cfd3295ca92be3e3a337c7a190daf","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1326.tgz","fileCount":8,"unpackedSize":1319217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg56CvCRA9TVsSAnZWagAAEtMP/Rt5OmbBMj7poLMx0cfT\nlvL9JWr3JxImUFvCGioF+xbIquWDQgZViSLvUAvniMjtHQOdzt4FcwuTmgoI\nKd9EsswcyZTKTtGkKMrF6U+TFftubULfytDlxTCxOLLgbONF/18OawGDLRFe\nozYIGlN0HI+zvAzCC1Epa7p0gC3FX5QMW+XHGjtnGL3rgCWFB96+eZQ85Qv0\nRjqHSpcJ/rHuQItGxUtalY3j8l2zJoj6Z3s5tzW3cMeaTKcwPqKsmauqGTAa\n2O0QtOO/wCVfmZSXYHxineGWGgYVkIYQNRkEWn5W09NQ0g1r/D8MtY/Li+Oq\n21nVEW2AtviPHNWSrqfLmiWCivy/SKmgc7ExmtxOKEpeuJgQ9VjIA4F2ZYY2\n7f68WLDddyFVBUG6OpD7jMoazwWWsJYB7VUdYUSl7qmmGA/XCTKEgXEKqVMK\nYJIY/ucIzK1yl/tL7m0gUNnuoCxd+upf8rGkEpfN+F3Uq1q+w4LplNlXmWhy\nMr4t1MZWj0wFhoA+EbFH+rUavxOGkGxC8yUgiE2ihoo7UM9gM4gu25qXJhFe\nA3N+fiVAftOaFOyABlwxmN46Lk8sySEeEU+40gX9m8mRHYdaxbK/hhxXJXtb\nDQ1DEtjNDuG99mV4Bp4Wb7PqHQecWSHZAFIAUjZWZ79iSAzuxNEEtJ1jKZ7H\nsDJ2\r\n=HIPJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl+vfOy46qRKOdyYxvbIL1juYDl+3luj02DXz5H92QCAIgdvNtWoIDUb8e/0jP2m9EH0qZemTPxNOCcVlWMpR1CqI="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"micaiahreid","email":"micaiahreid@gmail.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1326_1625792686808_0.4118396118108869"},"_hasShrinkwrap":true},"0.1.6-internal.1327":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1327","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1327+872b551f","@ganache/utils":"^0.1.1-internal.1327+872b551f","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"872b551fcff82cf7972eb5de5745681fd8bd1b32","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1327","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-xYKc3Lq7qiUe40+dPfIFdpL7Fk4F88NDQglILIru8HsmKVyMcJnwPKNiJxxSrbMeFB7vMcGWO5xGRJdP6GuRVQ==","shasum":"dda2e73c7bd85450cc37c1cb3833ed6c9800745f","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1327.tgz","fileCount":8,"unpackedSize":1319244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg56KLCRA9TVsSAnZWagAAz+MP/1y8PsqjM40BVGpGyeqP\nt1SOrHIJI4ictU7XPvPMEW0pwtrKKhZ5E5Tclr1fgZKT+9nHuU2wdcy0O3/z\n4sIHRjIpvGYA9U8vdM9/wDUpPFg1+hNBSWT+v3HwA4O2kBJKZ3yHmDcsao8Y\nnaGz2AN4BssJAybx4DuFrnLeMSESgGstP9w1gaqBorUjPzAfWmBip+baTYl2\n01SctO7t+QSLMkEW1TuGAY4kCR9/UaLugehZ0HYI6tS2CAtkuxwhQOfQt8Yy\nSPrzymNeTTWUOyyxpSyG5foMBLi8p4una+ShNpd4/IeSPsvIBCIVzCKEt2w8\nD05bvC89VB9OgNYCe46zHWNhMwKELPJST3mwiIrzNtfg+utfIpaWVL8t0zMG\nqHV/wcOfbz80sbZWcm3XZErFqhjx1FUU5bsa+Tjlb4M00zKLDrPZZJvHzIVc\nebMBz4f7UfnSCjKqUdalTnl5kL0GNIvYxnv0hW/aaseHSSx2LpoCQmlNk+4I\nDCPbMwJtiBWF2oDx/kwL++66nnqhcDs+dCGfXxufWI3kMbDC169Gx8sDCqmn\nWT+h/xxGFoy82J0XXxNMuKKPQ1wcLNdn+HOCqVktEC8sflX7hqcTsl3O1nhC\n+zZmM501mVZ5dwc8x0yiwsT96Se1VmIfQqbNXZ918DTkYHQVV7SKllEucOaN\n5JwF\r\n=UfZH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNugrJ7zKSh08BfGo/R/8Guw7tUve6hnEvFKIHTDwe+QIhAL6F6qEz2yhCMSKcmpUJ3tGeYLAjRrPtoapqqV3GdETp"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"micaiahreid","email":"micaiahreid@gmail.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1327_1625793163489_0.3202841506305949"},"_hasShrinkwrap":true},"0.1.6-internal.1328":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1328","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1328+d5616bc7","@ganache/utils":"^0.1.1-internal.1328+d5616bc7","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"d5616bc79a9984bf6e1915b54856177f50325753","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1328","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-FMlqysnHVxEhKS9OOfI29PdxFQ2oA5teMCU7rzKREZfvnkLgakWFiFF5J2mWJJkjuStVFH/IFkUQMsX4GgeO1A==","shasum":"a20084e38499d351d3733f0018a8d1c5ba530ae5","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1328.tgz","fileCount":8,"unpackedSize":1319244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg56T9CRA9TVsSAnZWagAAVEwP+wbOko+N/aKmww48PXYU\nYbcr1caz2k9l+dx1/Yx/3oF6eoBuHblUWD43e1zwPivl4A4VNa6OopBdIZml\n7Q/0pnU9ajWyZwbNeUOLu6ZXJROjmkgbJG13rbLzc8KX2Zyl4khlHBu0CeTm\nbpGBNXR0ui4Ix1GWHWH5eb/Fi608u+502lxAsOo8PIMgg/xEG8ewKXgfEk1A\nQqmUVqB/IWmPJYNq5UnNNW0qHHBxLLcEwvxBF/nPy8U2Bs/K6YRftJCXwXkx\nOZUoUYv/L1jSkmizsKUlz/x5b1Tz6EDZs+htrRfdE7i9XkYFRo4uKc70gwoQ\nTj5A2szO78KEpNMQ6vf6JHOK8yRuaA208+DU4d88X/VC5VRBiwuZIzl2ZySc\nBI5ikb9VIUGQTHUHUpC1sV+UThA4DLvK6b+3RwpBtzcyHGdS6omOZfnjaig+\nBBfnWyo+ksB26XI+5bADOUjg5sdA20rMF26/A2XZN9xdpPytcixlAIX27eE2\nZxeMirM6G0vJJltJItz0eJMZjUg3mn6b58ZNW+VewX05ZTdfQu4zLaryThc8\ntK2Q1/+9X1XOFT3Ny/5gMdcHKF+Dt9XxzQUlChebkT6LaAq9u2Wuz98PiAKd\nn3aZ3l/myQ6/620/yLIL9YpCnHS3RvBMBPGShVfGyv6ObrpYerwSFlOL/MCf\nY10S\r\n=toPT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk40pQgVDnjQx5gk9zCBfYyzHjaEaLXXCyKsA5kT37wAiEA+pPFQsZt1WODaI+DNhbmtx6mPKoSFwnKL6TyGlzZP0o="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"micaiahreid","email":"micaiahreid@gmail.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1328_1625793788468_0.3270825282593586"},"_hasShrinkwrap":true},"0.1.6-internal.1330":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1330","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1330+9c44d080","@ganache/utils":"^0.1.1-internal.1330+9c44d080","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"9c44d0806e29316041b85b2d0965bab6e08cf1b2","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1330","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-pq+0emCI2EeEOxsnQ4Bv5D5Qx6PSpBHxg0PPrC55+4RCR5B7a/hxXa6W9lBHBZb4WOiWVSOOdjtvQ28evw5h/g==","shasum":"0e12ccf2870433c34438306e8f3c03985f17f93e","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1330.tgz","fileCount":8,"unpackedSize":1319267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCU25CRA9TVsSAnZWagAA4kEP/iTMNkuoPxagxWoB9x3U\nMeEbzDIqOPNXe834pGCJSzNv6BgRfJQSWvqglHZ/1xV50+QQu3p3lCbRTRyA\nVPAqF1Bbirh7xECx2L7yrhk8POURdP35SaVabSKK67zMvjNI5j/SG8eYHpWw\nr0LKyqAiTr4Ghf61ijxs8UlLgy1BVFUIWKpODw1zXPQFwhgkD0QgWXBaeOeR\nGwbvT8+uMR+XSrA7bj4XLor9Kqn7ULih/NT4IQss2w934nfcG0Y9ue77Cggn\ng7LvSxXEVTBft5nWWzv5Es8nbg8epklRWNpMHsTh6ZoC6oln4BI0B4/5ZVLi\neDTSA8b2nQmyKnu3PrZw5jWjc1x52WvB4iJ7BA0coqGvUdQY+R9do0KXiBl6\nwS/zrH8vePpj5PeAKBf4eti+xmOHC0wne7Kh3/5kQHkmCdcUfZVxVANpmqCN\nrbhQjy2WNFFe2qZ95HMzGs3ZBywjOuTA8Qat8W6OPaahm5N3XPrPcDuw9s/C\nvSw4gjAO7yJVsU3dISmGkRGneh9rGdXeY1FgLBpqAOXOTLHDpqZj8tDCLGFG\nUYExZAFSasCoq8kO9MqTfP3OZROsAJTkY7OuPxkOUyU7i1hES7BzYfmKdLsl\nYOAxhz2JwMhWwsNkdKGmkIrpgPxGgQIteZgiWa3IQMBGRYAuDlOWvVbaMm6u\nG6It\r\n=HeV0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzhoxRbf6w52C5VGzVbj5KifCy7MPbGzG8OXq43PTvAQIgbyAM+V6c5ogUSWv4XWURIuL5hPxkfTF0tlHPVVeXRJA="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1330_1627999673736_0.5963931296562373"},"_hasShrinkwrap":true},"0.1.6-internal.1332":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1332","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1332+ed097811","@ganache/utils":"^0.1.1-internal.1332+ed097811","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"ed097811e9b8e6e8de4602e5873baeb2b0be0288","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1332","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-jelInkawx5wGftartM8GsbcbcQXdrE4xCxwaTrF7yT9v1Gv0F+nATuUQ1hiUrpZUt1SmHT/ypGHDdY7zx8bY+g==","shasum":"4fdac22808669907bcf7d4303672be8fcc2e68dc","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1332.tgz","fileCount":8,"unpackedSize":1319267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCVJuCRA9TVsSAnZWagAAW/0P/Arrbrqlu6s5ooy2Rfuc\np2LpFNQ27aPknuhzIIvWWTVJcPZx+X2jxqGZOfA80bCC0p3xj1B1/MTGOLdW\nlBDzg9eXgVnO3IP9RBnw9M05D1s/GURzZzn7WAuEYjMPm087NXa8ZubaPqIY\nyik7/xwquGx6OHpf3/scIyYzkVzvB5brPQo1a9GleksugXPSrOpvzh4W15wC\nFieYofAXYEQcyeDQxuVZyPiB6Z+g92TpsF/hlnD80rO5WDEpdFk9/5dGrBFB\nTzICtnpty+NRhiAMJcEicxzVy7m+w3K97bA9/ozPw3AFV4M/+8b1VT3ccZNd\niJx7pcmYzbuI8O8DuOTZ62iSg5hqprNfFp8Jd5/7I14NDG/ayMGgKeutb2CK\nO+LTqziTg4MEP35SgWVOIAalUwmy+d2OYjcj7g1CbXw1cPJLm+V3LtFQsuz/\nT2zTOlqw0q+sOnXTpbnpBgyBU9hf9j29dzaEtrxiLUdNtlSax3BoOTefknwP\nRxlokwkc1YeqOVAZW1bpHtwSNC9poaodUt6LDsAyK8MAoqpYcllkodVoUygg\n931U/1QRkz9huXoKVOxKtcCTe9YGzfD0kvrKmXxwAbIZuDmXYY+sKrLoilAE\nbBaKPI8JDydAA3LmVjdwxUaezbTMPIl/zuSKwMVa0FLI7q04pBJ+RaLAlBac\n8+l6\r\n=+Bo1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQSB89DcLgrsyHEkPCHWAvaJcKE8PXyWWKWoxJUion7QIgEmwDDrtVdQDeXmM81nRkGcNDxWG6+qstrm1+mWttxeU="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1332_1628000877863_0.2336254615823472"},"_hasShrinkwrap":true},"0.1.6-internal.1333":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1333","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1333+7e80572f","@ganache/utils":"^0.1.1-internal.1333+7e80572f","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"7e80572fb8aefb786578c4bb5a8b6a286d7b9c99","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1333","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-etlmi5L1b4xoET4Y/LMz8lfCHbA/i4KaRCZ/NIhIjJnHxRULWWPCPnXCfjRh0HH4xQeA+8o2Uelo28kBiIq8bQ==","shasum":"e2eff26120481a17b645b0e346a5e7419f8e44f8","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1333.tgz","fileCount":8,"unpackedSize":1319267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCVYeCRA9TVsSAnZWagAA1fIQAJC4wAbIP4z1TZNSmJ5A\ncv1BHxzzLr8b/eLLKDif4xIa/jCCNhzPNPVa9niWrbIfTOzDI3uHsEubNDRb\nmIPlMpmYAinlpDVi1D4TAxalXoq/VicFMuL4pGfOLZvapYzfjekXn1y0LOD5\nhvFMOsb2b8ri2tPaPXPMeDBkPnsTgj3ghTDXAtFVeXe5rWDTAoHxX2Np87o/\nkwcOtCx2O7/V+zM8VC4R0eqbpS/xj9feACogEbpgMpKhDmyNBstv40TM1Ukb\nSgBacogVHUTjHBnH9JxKNISv/dA9U8x14tQDJ9iPwX89XVYXxj0a38wfiHsg\nXgnOLW3q83mbjb2s1Pd3pXLYkpwLyPURt1d6vKbIbwa8qyK70zxDkW/KX27f\n9nzxTebqdwxyQC0YEzLtvhx5bJwol+4xIOMbLjAPBVVoNXX4GgtwFB696PHV\nP7PKdQovB1xazqbfOwsKX49dQKGqyKXjX8zTd/KeFoSWZJdiWwuCdPvJKb6B\nHq1gfUJBlX1nzFM+33TjuQ3pmnh+7uXBXWn0p2VpNbg2wSrLEHloZLF2XxwH\nhCEmg6+9t1DoXF37to0JumB0IIH/rdG/71iSVrrlOzgpASSgadOIN5d5xGq+\nzp5Y9Rnfc6jrjIak1RNdhlihSgke3OkNYMw6v1JPBmgmyQTSUclM092L6hgW\n9lNj\r\n=qSQN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRfeLNTF3qS50RqquDal9llngDmDicPBLojh9j8LPBIQIhAMzMKMqaLqQPZ7fSF767nHlDYq0GUX5X2aoX0fgen5pZ"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1333_1628001822690_0.29936528556541586"},"_hasShrinkwrap":true},"0.1.6-internal.1334":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1334","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1334+5f8ce0f7","@ganache/utils":"^0.1.1-internal.1334+5f8ce0f7","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"5f8ce0f7f7cc9a3db53f61aac13c4539de25ca1e","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1334","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-ajkmpBLdves7NRdbE3GeYdppcFCieOjJaN5yi58cFM41rU7ZWbIIdYg1dmoqkKqh5bW8EDzO13PMy+C8M5vhBg==","shasum":"bc3ec7a1fdf02c8fe3e3eb5c3187259aa584daa7","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1334.tgz","fileCount":8,"unpackedSize":1319267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCVvSCRA9TVsSAnZWagAAwdIP/Rpd5sNcnJckm+A3HGwY\nNhouXHFIQMew2pzi5eSzaE6BKPk23rA00Rc3V31/sOUB4KtFyV0M9L5A5Qb7\n/P6YCx/P3gB0dtyIJN8l0QQHKtKHFGmtGzYU5SU+81GDlPCZKhQpTR5W4NKI\nsviLjK4GKHmlCFhnjCps5eHqKzRtevK6F6hIgJ/uu/G3FPqHzZEeOPzc4VII\n5jkrIUGNBq8uAx/J3ELK/3hAHqQuZRAkfnKcIl4y8QT3B6T+p2Xnvw0cNLtT\nbD8pSbQ/lQeLZP4muBrPi5UNjpXJ8ZO1eK+2CiJtrzblRm/zpdlbHXW9savk\nsw41GUUpJYH8j3/PMvzANqLm0Xo1zIDiB/Zcll6fYbwk1ocb7ZgW9dg7WLhL\naVLqRV91/m+fppqVxmQ0tpdWfxDD+LfPe7rUh1TpX8thpn0fXT2K0U5EQzz2\nlT5arnHfyBz1MhrN9Ewmt58/7Nnb6pK7a0AdSweYcJ6iG3/0XOY3vz4mpDVS\nAjv2y1lmJ9kQtJANZuQ2YEjTuUdTeAmijgF6Knh1b2bAYmNIehElHinqEqa1\ndk2QH+j6lZjjmmpSyzVkqfhPvO98T2HjRvnYI+Mx1D99pboHY4zFURNuxbq+\nnIpkCBZyG1z5ZOVt3ptWEi8oHFTadBABYPXKkpUiZ9M7jExnG8xXsFHr81ra\nyOnZ\r\n=Cb2j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ4vjxtg7pgGZLpNFqGPCsm90I8j9aXfhkY0HNpDscFgIhAPGSAgQwpU/bYLWrffsSxzayu1B58D5HNHI+i9Mh4vdU"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1334_1628003282532_0.007586727094888834"},"_hasShrinkwrap":true},"0.1.6-internal.1338":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1338","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1338+2b88f173","@ganache/utils":"^0.1.1-internal.1338+2b88f173","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"2b88f17336d3844ce7803de161851cc3bf5b88f8","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1338","_nodeVersion":"10.23.0","_npmVersion":"lerna/4.0.0/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-2UVwIOjBhAQ4kLtERT82A42/eejRsFdA5k/0ddvgED2083Gb6+2UrPzftB0cexvUziTweq+P/skRnhS5eBS4lQ==","shasum":"1ccaf1ad6aec9bcafea805bcdcb516cb63191ac4","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1338.tgz","fileCount":8,"unpackedSize":1319267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCW5xCRA9TVsSAnZWagAAaAYP/jHoJ3NiOY/zEjRKkjqh\nu75Ky3CiU50pX/1X4WYo+/S8hjHUULty9dn7O3OrKcJyX7lzBKbBDjlWtYPO\nV4xL9hAc1PX/KsDBGwBNFFPM/A5p21Kdc8gdVTPR9RBUZy7fbm/Kpas1URPH\nUYldBU/QtkoOpi2zwcGi+WwTnBJcZ0hqOVonD2hJMy4rvbnCtzgzcVjqwZdH\nhGxWFyqr2IDrnG9aLRZdUWxUEpKhCykgJeDHo7ufRIoVaAcqOImx+4Fuiax1\nqyq0lKLmmOVLImuxP9gGpWOJzjr3Q3C6vxrcME+i+FxiFSWSkR6YC5isM+Bi\nL30KGEsvvFDYrpP2Fohd7rhpI1axs+biCgxPt7etZOcv7ixe9cjEE9dhYYgU\nXs3nsYyNIRUlBcnogFrmeAu+IRbqfl+S1Vk0xdpLT7eE4xaFZvy3RAtFWzEb\nkWy2HsRmz0feEiR9mGuPyT4ZwYWN9kDwxCdGu4ELqFCLe5ZcOJ/0G2NnwwdY\nT9nMUILaXJ3TkNeH+8tgzu2XPXvXavVyCYKntsPFTroT8EGf6En6AX1s8j4L\n2rT82Ub4jedd5aZoOFf4c+fCuJaWpqM/EmC4bobPNFT0B15+ANDN3NSYoJr0\nwcIAS9dvDWTq8ac6CDWqkBgAaYGVvHIKpnhPb/J1qI7xFr+IkXh9oHl8ag3I\nFe2D\r\n=EVo2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJmlt5X6pb5awda9qWpUHY3v6WxxUCq47YXf/UADIn3AIhALJ3gvbv4ob4fKVz8MFfhXT8tsRwCEJJ9iKbkVKdwgCV"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1338_1628008049619_0.8275061540907447"},"_hasShrinkwrap":true},"0.1.6-internal.1339":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1339","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"^0.1.4-internal.1339+a3923fa1","@ganache/utils":"^0.1.1-internal.1339+a3923fa1","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"a3923fa12961ca6d325d1ef6ec69d82b4e3d5fd3","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1339","_nodeVersion":"10.23.0","_npmVersion":"lerna/4.0.0/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-8UNzdgozdNkzCkyFTVHXgAL+g+7z2DAbOFokqn1D8wqKv9bLuDf5wRenW/lpG2wq4hCgV/I1dvEwWEulcBhNAQ==","shasum":"5468dc37c35c86e0c2b9448c3c8ed5fc4b5ed585","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1339.tgz","fileCount":8,"unpackedSize":1319267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCXioCRA9TVsSAnZWagAA2KMP/isK2fwIxUZ6OjCcU8Ix\n3333oszL+5iAIQxU0B0dVQpQS+jNVjWwXzzSQ3YGuRsD7XqIIna4AlT2LuZX\n7EjxQPKcv+InIH4F0NexI9ZvdwJmg4dROIXzFmMiPERIhopxbyXizoXECySJ\nEPu0LZ801tIhjxGhnhFEUe93nHhg4SPCHjF7yCGFHIkyD3M+MvZk3QqngDUl\nZERjCjon/G4Vr/EaD7ME5587WHwB204NvBvR2pDMlrg3gVI47TONDiK1HzPK\n9sJE3+kgUxelekNXgQ9z5tRoZW4HJV5Ik7EIHfy3QWDm0K+ktxmlcXlGwsNF\n6LOF3XlHFpdWoyG9KfzGOSKKezT2Ivt6idILj2XMKK9JI20OE+0F6nf3p9sU\nGya+M/Hr1l/c3qcO8Z9FlZ2g67rDcWrypbnoWqp3zFSMvAHtGRaiOBkpod6c\nYhclvlh0KABBt72+to3NOcEM8B6JBvEuBJv7lvYFDlReE8LiCmotmY58X27I\niPPMW/K2Mb5YVpmNijQMsmJZuiJyrldabqd6k6jDAQmGK8bK6Og8Mpq4zeDZ\nga1xAoWV5oR98IUBPhdtQMOlZwXss27QNJr5UY6TGKVSd7076tI2nlW10ODq\nxlrCOzmozMUqbONxYfLI/Uj+45YK5A1ogWpGB8vhO1Kcm2IS1VkfrSBBxdSL\nx/wz\r\n=++95\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwkGLfD5JGByyuvzD8zbdP1CYn+g1rX98TWffEmzNG0AiA9kDBZKqXC3eYrX3Pf/jxW/d3b9EmQhBUZDp1cnYyD1Q=="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1339_1628010664548_0.14520361538845172"},"_hasShrinkwrap":true},"0.1.6-internal.1341":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6-internal.1341","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.4-internal.1341+f3e1b8f0","@ganache/utils":"0.1.1-internal.1341+f3e1b8f0","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"f3e1b8f0152ffc404d4aee0a73237ba6ba57ada7","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.6-internal.1341","_nodeVersion":"10.23.0","_npmVersion":"lerna/4.0.0/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-gRFvRDAz8Gf4QbFF+nc/k4z/G1XXPrmV86Joz6AkZhn7zQjPk0dfoE21mW7Kn70EThAce42qv0b/n9NMwHuvOg==","shasum":"606d5a14150030c9fd6f5099e12d1c51570761ae","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6-internal.1341.tgz","fileCount":8,"unpackedSize":1319265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCXx5CRA9TVsSAnZWagAAWCUQAIbd+LHvnWa/sNHv3/kx\njcvRSGOPJQXSInK28EM9OeOMStZ8nclztmmWYVL1W2R51wJpEnr8Rkhuxz9l\nO9Q74qydmW4X1aBgSRmY+dIDuXy+VHULiZ73Tuzc+Noep8rU7sGKUEW/p3kp\ndeOGypQTK/mMveZv+rnWdTndZRtoQVoXaak0m0eghw2B55ewx8nc2Slcjjts\nd0a139391WEpce5DgJ+2XVDhjmSWbBj4RhN1DwcZsSOVeBdJcXZ7G3P+aKpt\nWJ7gXWO8R5NLRSMCVYk3yg2gPK0i8dKdp3sfVf+eJMm+p/8t7tupPhiUUcmJ\nLTUpDgYVz7b9chjtJn1yYUN9j07gg23usJGtEtxu2xdwE8Yut30Jw31iBQDm\nm9Vvc30unx79YJQD++QyAyJCLGjHZGj7LcWQzEQ5E2wEfsyrqnbKCHBD7lV+\n5UAIUUczA4nClxrwFX1Uyk79Bb/Spe9Fw9uL4H/tFCLTswybFIUwWHXcVf6T\nF4pfewqw9axADnUmHDROddxgt0YuzYhT/c4Mx+lPABSm5ftXFfPR44Grm6TI\nWUVQ0dLum30MzZUARfKb32E/LFbVII9KzkLc4enm2gzR/QRQlWjHIrFWUruX\nkVEBcu7kHTwwM0N3lr9j+DfsPWV/k0E0UYScE+s6SfygjYrCnxSYRM7fSnMh\n2zWO\r\n=+R45\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYfVp5x3D9Ws5Wye6/wkp5AuXkjBie9o2tq6I8MFHhogIhAP/oP1Vt0VmOu/629qtjaDkf9FZ/RP97LrduvnElsmge"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6-internal.1341_1628011641373_0.12317638096938843"},"_hasShrinkwrap":true},"0.1.1-internal.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-internal.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-internal.1+b83ce61d","@ganache/utils":"0.1.1-internal.1+b83ce61d","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"b83ce61dbf26bc3b9161f53933e9da551978b564","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-internal.1","_nodeVersion":"10.23.0","_npmVersion":"lerna/4.0.0/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-ULmEPASwk4pbvccb5cnrfds6nEymelHbLH+ujR4zHIUsb8pIyGqDQQ3IGkvcNzAjlKSCGFI3KkEdO/zMruw0Bw==","shasum":"8a61a86ef2cbb467f62ff82c975e68176aa2c84c","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-internal.1.tgz","fileCount":8,"unpackedSize":1319256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCYFKCRA9TVsSAnZWagAApfEP/3gCan6qy6nmxvmYLTkN\npf/yVAdYGAgOK1RgkKytK3A7exPTWnmuTy2TpWwn0uUY2YXWe3W+v0ly35Pj\n7SpnbalyUES5FRRtzduoAKSGYMATRG9g7sU4/mHHwvAlWVdzwkSQyMGWyMhK\nDYL+OPYJSCWLh66fsRoOsxVDe1LL3G+L0u3yPsYJhFZ9BDnyM//g8W+j+VTb\nRHp109XxxKrqOaUYwQuyliLulzlwTQoF2ENbwjmd+TG2jpQHCPLdgqBmZ/5S\nVo68TXnH0M8Jl94z9+8LZIbVpm0J5cKEXscNQNwh3T7uCADclB9kiQw3/U9x\nIWeEcapyXZbDVQDDcNs9r0aSper5IdMRPVEdg+GXjBf+i+exaEbBsjtLJ+DR\n3TE64oJ6uAlowJpO5ET86SO58B1/KkXq8RYUirCrjVp+dgq0YUj78R5wJ5DN\nMlLr9y6aI4Iltk7Kwb7auFajNL1rQxaZuQmmSqGP90aNCmK08/C7qBGXjSjf\nar0cdVn6MxujKg0XUFJFEFal8C/ZP+XW3TLGZOsmHA6pyu2UTuggPJ1ES1Cf\noqeVv58UxneF7bmcIW0FXrwrOOy1RMg+viybnY2pux5oXWUz8aR2k09Hrva2\nqzece0bY7VL6jLQdCRpf2YcDhdBWPYtpHlOBBIFjUsjB09K85Jb0sg7h+p2z\nlIgr\r\n=v1V7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCikINhT6BfVSyKd+yjzEQt0ECONSAbj4ot/Mle0Q2aZQIgD6nsMlBpLLOBQFRYsxXtw2vaeXyroBfLWZT9Ql5uk+E="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-internal.1_1628012874511_0.4942461203385393"},"_hasShrinkwrap":true},"0.1.1-internal.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-internal.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-internal.0+ed917fa2","@ganache/utils":"0.1.1-internal.0+ed917fa2","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"ed917fa28aedd51984d9e2c41d15b7cadcb05e11","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-internal.0","_nodeVersion":"10.23.0","_npmVersion":"lerna/4.0.0/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-umrbrI8bUjuCVwvW80O3aeNKZ8wMyRLzwWkKyL+6rSS4Ht2uDZ/4DQo7Hp+e5xCO3R/Co6VF/pYAHbZOEyxvPw==","shasum":"7526a0496a53209f58f79fce8bf6c9c4194e7a81","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-internal.0.tgz","fileCount":8,"unpackedSize":1319256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCYpeCRA9TVsSAnZWagAAHzsP/A17TdoRq3WW0/17XfhB\nrKPc2Ym5d21NRKZIxEY5bK4BnvDbTz7ZCBvawu3IX+CDwAnJGKrOlY7GpPXu\nWTsA0Yig6xb/S7t9zz3FzYWG/7Jfzzi8r+dfYsHm3jNEjXw0ah29PKeYYItz\nhNwTgCKP6T0Hd2Htv5KlOyZaOlYktw/n11s89ZUrejGJJZl6YZNpFOAOfxX+\n5+byLxDJFuuriyW+bt4Gw6pfRHvyJ6AfLqzhJFgzhs6nrGd1oFe7PUsTvi4B\njGLb1NhSqJ42fyztKvb/4PnTh+LfYM+SLJWREt6fYGYjF2uuhESstr7xrkY0\nZdAmdUSNxBaL01mtdK2q6aKPxnUXoYUWi+Y/kwmh/sM+QIhQsuYY0qmr/ZOn\n/IhkFidkfpBWud4wQsuJfKFpsGBGkYsQxDyhFVDA2pIwVV9B24/qiK8RMQhq\npmSI/co+6dxtM/j5Ia80ExvnPEPveNB4ebAnxnQ2WM9FHYnXz5l/zJ+Ph1/b\n2cg2MNMzaijh23URWfPD/SgFDAryh0ZuJ11aj0BWeyMqE/tvkK1JStpe2xjt\nYTdKPAq5tHqP/V5hx5SgJKo1cOJIkNazV+Op85CCflDMspehxzRuQwaBQiBt\nkVb4CFG5emxfI3q6nm+Nax0fFuR3szJH0HE/xiD0RFKN5mcOP5U80SOUA2or\nRYHV\r\n=mSzX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvAAmV7ND+l6TKSyVIfaJ/474mb2Nphj7P5gidPYodFgIhALAlz1cUTDi4HU7kOQfkOG7DKdWQhXE5BXBiCFs3zREG"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-internal.0_1628015197759_0.1010522890865253"},"_hasShrinkwrap":true},"0.1.1-canary.2":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.2","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.2+bb3106bf","@ganache/utils":"0.1.1-canary.2+bb3106bf","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.2"},"gitHead":"bb3106bf9f2f1389096d0b3153dc7e4b463aea69","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.2","_nodeVersion":"10.23.0","_npmVersion":"lerna/4.0.0/node@v10.23.0+x64 (linux)","dist":{"integrity":"sha512-lqFfexjIqL0PulFywnUrASYmjzvsT2oGIUpPgOwg3x5blrcM+d76ME59p6SUW6nKuF22Sw4rrn9GLUhX3t/t9w==","shasum":"dad12345ec2d51d191c326f4e04f5a0f4d36e2ec","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.2.tgz","fileCount":8,"unpackedSize":1319250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCYuqCRA9TVsSAnZWagAA5rIP/ih4KhSqrnYrry8s6QIs\nedKA5MBFecTreCZkKggKFexGV0Lp7U67H6IQVECOygkIbHqFG1DCdH4tlqWh\nxVR+RhvWDvi6aRYp4C1g9Ruff+ytQPbtzEl4m2DUAV3fzmPb0uzN1+zj9Upg\nWzYM+dGfjpmdwY4Lnpr4jm5Da+fVNt2Ua4ov5FhL7UZcbn1K2hOKWOBM+UEh\nUxkkpsxzEBuPIRKhekK0M6hwfBmw8X12dTQHM/elrNsHPXW1byHoic4+z6sh\nBIKezGtsl5o8GogemlWK0laYFZ+d6TDBiHPDxLhPk9xWlHUdF+JdF9A9e5vk\nbgqEvMhC2ozAJ0Avn8hXJKboogPQajXW2R75wpqAdJWrrv7TdEEuAMhGYFUa\nszede5DcKPH/dZKbbpGqo/evX2UVTlogV4SLeYmN4Sb6+6M2UbBtf+IuCM74\nBWeD1d7g6yxjcOOW2ciygTYQt/BVz9Va4e9xWfgW5UMJNGsRTUp9n6UY4fyM\n1L7+KA8o9Yg/4UNxxXBZXNi26kIJEKzGbW1N2g6ZtJzCrrwp7SEy/qy1sHH/\nEqYzKf0GqpC+ORlNU1gPIfP+RJPNQPPb0emAUKQFN5L6WJBrv2w4I9eOYe6+\njlFl51nExr+dGqVJKUmJVhxjR+dGVan/LfDF93xIY6LvvvgYI+RqXh2wxEve\nVwiO\r\n=n0nw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFj0/i66fRJ7MqKwQkMiJom1yhOYjVCtAwtipRXeJCnAiAhFvipcmBdaxwy2dYHQ985RwZlvLnMe6EjQYz8Wm6PEw=="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.2_1628015530278_0.021412339815764847"},"_hasShrinkwrap":true},"0.1.1-canary.1307":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1307","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1307+edabb55b","@ganache/utils":"0.1.1-canary.1307+edabb55b","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"edabb55b11e1bbba3564f34434f4b414bbcd41a4","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1307","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-BEI36wi9AGvJd9ZdT7rd5lfUbvZKFeER0ojg/IZTYSqymnpsy25q5OxSrN01fum1pIU/BpNEiDuAh9aHRyWuYw==","shasum":"b2870e12ae199f62d68a1fe9a1ddf55188beead2","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1307.tgz","fileCount":8,"unpackedSize":1389923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDKXKCRA9TVsSAnZWagAAm8EP/07Uo1yla3RbK0J5HGnG\n9n9QGdMw4nTTMbv0J0Fa/EKRkkF/kkHNhnmrLz8JfFRxlyDTFbQXVs7KK7I4\n/jgGcfUT0NXCl5OI5k+hjjDk80wVmohzfoq5gFD3ZSBOGsrxL+ISerFevxyJ\nLWSK4d3lUqZ0yu/1v3RKjPRBxkSgD0A+14t9nijgGG1zb0U8q5oLAyyEKrc8\nMwn0NHVVy9+1QWMj0zaA286wNY1uwdczCu7gxc9oXZaIuGo7fgIBHTjEO8pn\nN6Zk+5gFpnWC97tACFQ73Vw9R3hg0L78SLcfeT8G6bdyEXeahP//vRdbCU9s\nVvejvp2Jg3eFfkTO34fHU9TGO73C8orKED7c9IQjjjbRSV053TfYbpiPBvqZ\nwYMstM15T2OgaSt4JYVHorHVWz2ty4aVq/Sw7pUd0F5oiMEbbK7lAgWOC+Ug\n+Cc8Z4SpTTvKjawA9OyPCswkhCrY4xJ63NfMes/nHguv9mn8zRuqlqCtnn3e\nITc7VBCCcWWqTCW2RPClUN7kY/jDtGCao0591GA1Mb8dYDE+t9+HO3IZowR+\nG/5YiPMkxZ0qnjOalpfhKpnhvRe7NFkjqihiO1/yvQgIYhuSnCcgma17wOPF\n+L7Ye7rnViNoGL9wJfKslK6pd4+QyDwqcxQzoLuM1mAEVVmEvnelbyuuw70a\nRn7t\r\n=eKzR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMJg/4d1uzvB2XPPLKJAlngBMplcNd+KbeGf5tLwG40AiEA3aFToiuEgsAz96ZyQJiZ0boFeovmP8Nna9LFDzS52HI="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1307_1628218826329_0.3676911281887716"},"_hasShrinkwrap":true},"0.1.1-canary.1310":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1310","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1310+9213ec5e","@ganache/utils":"0.1.1-canary.1310+9213ec5e","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"9213ec5e10fe6708ef0cbb29258878bce4d25d24","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1310","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-MOsES7VOU5iEAiUHd6CoID4a/R7OmXz20MFovAzb5ZK807kiVG/nBMMcLXceyTDuax+MQctQn+53vZf/FDpuvw==","shasum":"d1019b355745d2fe98ca881f712c258a77e2420f","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1310.tgz","fileCount":8,"unpackedSize":1319257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDLGjCRA9TVsSAnZWagAAjbwP/3DYNPwP9OJdWb/AHKLZ\nVnzyL+e99NqCnKOgd5Klrqb9EnRa/x9eck4gnYVRcOmXyNlFTYmX/F3W3AGg\neTQws7GMmuX4YGs8F/+5NcdPWqL/D5ObPL1sd+sK8J/WX8TI4eTSQnkn06h0\nuM45Dl+snlRYjqOOxBvWtgFDSsra3cR2iVRgkFwEg5siSHgTu4k5GqNnsjOP\nn5Y1Gjc34sdiAE6A5ZOE5Aumsn/x4bnhvSjJ+zLilxHhyoka4PO43yVCemzW\nmJcNND2P5qHehVyxQGBvCIywLC/myrqMCswWpp1PLUyofMzbZhggrL4kBVnb\nDPAvgoCpaAB+gfocwN2BWZTmASUgVDarF3OzOg7iZ9+XPD3ofKekFV3kp81e\nX1NnWEqEP5RCCSytl82JyWNpToflCvJLCsTDUtJ3DNFZ28jv8hNRkE3XmX9B\n6mi9COgw6ostud5iBC6uwXVgvaZfL1rzWjp/R57ZWW/LTtH7tv+BwBVZChwi\nOAypjobVJVflD8pYcYZIkp4kTiJaORSFirUCTt7/xHUGKbj8R60w/ERezvDC\nOKnDN+ILom7d8viug/HI08+HnOYTuD96u5DWvApy2enxQkknD/Hn+tdx1q9e\n6YxQrC+l/XKGYtWC+oEtTP+YR4nljv6nIdr8VZ3Pv7r4PrWBiaCIChZso96i\n4Nui\r\n=s0lb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfSR5Kdft2txTkLV2ZQZPSJH8koh7n0bEDtbPcq1bm7AiB1gsEZu7IWIJ6TkzAwWaXILvnpzSFZW83nSHjzdYz8Pw=="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1310_1628221859662_0.9754749783035208"},"_hasShrinkwrap":true},"0.1.1-canary.1313":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1313","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1313+1ae4c4f5","@ganache/utils":"0.1.1-canary.1313+1ae4c4f5","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"1ae4c4f5522c50c53e35dd73d4731465b28ce386","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1313","_nodeVersion":"10.18.1","_npmVersion":"lerna/4.0.0/node@v10.18.1+x64 (linux)","dist":{"integrity":"sha512-YfCLxwXz6IXAbgDFd2CZVHlLpoq9SeN0MUQk1276xw730StTyWcKs4zqfz3KAVc1Ul3WqEraGtfw3rJ6oPrYcg==","shasum":"8d6875787e0a8b3d8b64cfc8feda51edbfab7617","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1313.tgz","fileCount":8,"unpackedSize":1319257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDXQMCRA9TVsSAnZWagAAk4gP/RotHtBckgHS++FLDiDt\naaCRPegitxonWCBilBSvjdechVV5UQk4TiiXQvssXzQET3XIfrV4+V/M2xzG\nYhutB2OhTsh212yCD9QBFQHY6IN9gVQDzwLaxENJo+IoRONpIpS7+tA514ZU\nkBHDqwelGb3etvh1qZ1OLlZBAcifcQuXY0K3wc4yJsY1YPBuOvEzRe7yFqGL\neBcaPuG70fKlY0muayGN3uCnEPrpT34ld7lZ2rdNtel8YZdSF53/RFaiYqxz\n2S82ODebYCdP0MLXpuLyChLg13URfRw1SpuHZ/yp5RJABOO80U8xLQBmUt4a\nMSm1p0dB26IwDJ4MYBf+N1C/ugqHuskbiTj+3etSmN91Nk5YeMWbxcfW0sRt\nkGszUNTWw9LYmEPsM0nIJML1R3TU7FgTCyfVBx/AzOI/Amy/0dp7XShTLx0B\nW5761+f8MQRqSCx9EVMwx/4+1G+FrhNddg6xBE1e0moCnGbRUZ5UuplYosLu\nZkC13NZMXdXV2RYl1+gH11ucAA0tNInW2Cyg/ELLpXjF9YFJOnLAWjHNaxFk\ngzXynbpLTLHjZ1PW1cTDvSM6K7zJHN7YH8RvlEAU757kkRjc9JUhB/LnAI+X\nvVtpvhy9ZBrIFzZTNXaFKyt0+hZtsls73FkohmJID7tLTaSi4ZJv7lrMKFz6\n6tt+\r\n=pzoJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1iFmsdkmuhakGEj7q5W6E/5FJgrwCsNyyrDd05EgSoAiBUDOvfXNdlifG3gZWicRFSxHeff2KmhwvKHfMsw2kNhQ=="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1313_1628271628383_0.9630524587314975"},"_hasShrinkwrap":true},"0.1.1-canary.1318":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1318","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1318+5e6032d2","@ganache/utils":"0.1.1-canary.1318+5e6032d2","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.2","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-transformer-inline-file":"0.1.1","typedoc":"0.17.8","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"5e6032d29ca8134eac334b59ffceab091f84db27","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1318","_nodeVersion":"12.22.1","_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-IvZyPk031niPcyI0uQpAUpzeiQhK+gQtwlTvBY7QtP2f2BVulk78om69EBhD19jrUF5vF5OSpy8Mk71fQhUVAg==","shasum":"a9914d0f54eaea479cec3f0237dc6b779c47f688","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1318.tgz","fileCount":8,"unpackedSize":1319257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDa1LCRA9TVsSAnZWagAAo2QP/1LjJFZ7Hc9lBv6bFr1U\nd6MkD0lOPvMP81PaSNrVs9gwDkRuviqeE3w8gJ7GwKZTekHN79HlFhtQRW9g\ndPDoveXOdfMx1PBtlH+NSyf/udsUuko0E593LeGSgOnwrG4nTzkuMNxmjmE1\nT4rBoYj8GMCE28kXUy35675uz+Im4SLF894BB+SlIx33OiV6QcU5pjVMH0nu\nhwKAm2BdVoRGolE+9BRwv0VB7ZdjzGyocaufItinN2eOJhEF8U2bdswUQZCy\nWOkc6dQtr2dybvFgoMJ02nM/ti/wdVe2/6s2y2o1WQCeQfVrvVcQ8XmwPYnr\nBJY04cnQk2AF/t7FtsvT3JbVMKCUzwy7KuFvKHjhLoI5Ub9QwFbIoPCtuL4l\nA+7TT7ITulV3rLORtLrWdHug0CJEt4YiI/AlPV4lsnfaX791B1/ns+JIW9r8\nghq2TTj1Q8q0FZRafKhdiKoW94jzHp/FDLmVGVUVEfQKQVo75irtqzc761jw\nIsJdUYJL0RJNeueY9CycX7F1+bkTxxdhRR+oJIHmDsNBTtnUwheCWFNji6xw\ntEx7cf2smRLruG/pB0ivNEICzqfUbjvE2dLsOpr5ZUynfTZYzQgghKRKrsni\nQm5P+eXkWvjLb2eTsmtXZp9NMeiYIIBmdIpvvJfEs93QphT5b3WMuQlaoJmn\nM7nR\r\n=h3oK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcwim5nhXbNHqBsrGqNIw4yB8RTYNH8bL+bOR7bcNWWAIhAOdGis53Pe1/WqyrRRktRn4R74iGqvYA9Ca+j1PuopA2"}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1318_1628286282802_0.7335325346857666"},"_hasShrinkwrap":true},"0.1.1-canary.1320":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1320","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1320","@ganache/utils":"0.1.1-canary.1320","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"095f3be78553500e7dfed217253b8b68f4feda93","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1320","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-Gu9vCFqtJvsji0rJzdqLjj8QffkyuP6zypAQvZ1o2I25HbJmOA7/thTGS8nnRGrHcmbnfoT2xPMlOZWj7T4MIg==","shasum":"4224eb438f6708b900b16515f94bc0c1aeedf239","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1320.tgz","fileCount":8,"unpackedSize":1637832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEfnbCRA9TVsSAnZWagAAzXQP/ikS4WTzWvSfuBEKnmZg\nOP5/woFFPhu2S9EKf+jUTI9z0QOTY1T9sa5xyKHhM57me8qFXNIbDMfRsn3x\n6ajei/P0SFw4pmAOR44UNalObsk/8ibzxmIaMnWYeETtAo3iGvhwuAAA6N5c\nawun41k+AKvVH+XRLpO4+aQghsI0h3ra+zd5qhAie+2sru+aVpyc26180CqR\nUnjwTKJQYOM1pfYSsvR9k+cs/5DvaAJQhG7OryxvX24755ja6SwPc2VZyS0M\ncnfRBRwH1SpvzIHx6ZmycCYQ9TEL2og/yrKmLAKnRpf6bsm6EWVIFM0PFaCa\ndd5LoV0mgGOm25MNxtcf2dmSiVG/+qNbpnKJzYwMHp8rckg1VvdiuYKvVDxG\ng1PggOpC32dV1A3fUR92X8SlaR6MuiTLBkKwE+hJ/let/20X76ilUSSLUp1d\nbPAMaiPQdCqCVdwRS2WepA0Glrq+BglpQrLQbFeQx/CVLo9EtSA6qKVzCr9+\n70x7nGzsc9uq8ZUzndAepzI7rVmoJfHXtPn9AmHoppQ1k/qbB1vgDVq2w9Wv\nJmC9WsU2r/ZCxPTaNA/CX3S+/vqpK+kIbBTfGAtNFDryANzWQBTBwegSlZdF\nY4xSZMyDo05EAkMmcAP30uIHg+MTGCd+FBgAjzizWDe64ejReyQXy6PBI+1k\nmZ0T\r\n=yVkH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3ITEObdPfeGU8syfiVRc5lhvZWhqwPzLuqYRa4hDBBwIhAOzBSGY2axnwqv8GMWVEwQ2paZhGp/FAO2CjwqtnmoXw"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1320_1628568027018_0.7995420991243103"},"_hasShrinkwrap":true},"0.1.1-canary.1321":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1321","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1321","@ganache/utils":"0.1.1-canary.1321","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"c5b9aabe34baaa2eb14c43781b2370d49c08ade4","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1321","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-9TAmy9/BOaEb5Ias/8d9swec6Ga7ggyYrEwJXuNcfj28mS+ziWKDYvT2X033QQHbUWbaUlk8UdtpVQdsorbUuw==","shasum":"10ac5ed3d8409cf0e93a4c80f3232b6da2ea0465","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1321.tgz","fileCount":8,"unpackedSize":1637832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEf6+CRA9TVsSAnZWagAAVmIQAIsngjkSg6C0ii9sa8By\neBARgckLlGc20ZRBcI1arTJoEY1DX8sScJ07Sk/GuEYsAdnJl6CLU/6S7ER0\nHittyfwiF0Yl7Z8rOKdPAGK/PsFipML/Du+2r7VZRr3vapLIauziuwPrDjFD\nnyoZDE1dCK0xzWe0bwOqPw60wgK+8zEJfQI8YlvLIuj8pGF/3ouFC7SxLWYg\nu/nmQmJ6W7F1rrWgsbdZk2ubbu7Qz3zqVkgmhI9XFNKcTv3zqlrd+M834qNW\n8Ae5r6I1BVYgnx0slM+FMVUJlLPh/B/QwkeCo6Z4lAebSV4fQpoIKM9P/xxf\nVyPIL234FnkkDXFwuhSNBtxVde/DTvgrbjvOEPJ3k6xrLkA/o/MMJ0Kzhzc3\noCR3Fejw+y2B9OoEzgb0GeDpCgPELYV1Y/KUHVoGWVnXSsl/9ka5PRVHCKl8\n4ghR0thSXwWMcen+MrpX8zSUVm89xcTmBRCqLJer/geLQCbg+VZok0hnggGl\n7hZKNXTQj7M8Xv+JX8iCis+ILk2k90LafDOvg2OPI2BAqxxkt2pwOUziQ16l\nq1ny4efH47WjMpXMJygp3EP4XAWcM59iNCp5snFkyTeZKAmvovFNfncutv0J\nZstTcZHW1hOu0BvKKjza9VJsPKD3IVbd32YdKEOf4kVrr0dLUQRT4LIOW3C3\nJ5kd\r\n=6dvq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIUP3QKVn3LtTnTPQ18xzp4Rw6k5j24fseWPeo6yOAdAiEAsLPtIl1eDtTt5KtPt7Rljq8obD4H9xNyxKxekUMyRUc="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1321_1628569277819_0.41218670513068423"},"_hasShrinkwrap":true},"0.1.1-canary.1322":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1322","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1322","@ganache/utils":"0.1.1-canary.1322","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"f76f4abe97d81999e4a7d8847824ce3f08e16cca","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1322","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-6nQwwiyu3UHB1yCBdGE14E5SznU4IjH0SBBbEfM/7BDnytFOsPTJ/CkZNO9MDd5H3/jnFJ9X+KDJCfRNRwQnMg==","shasum":"3317b272e7bc201f3217160450f8927055950f80","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1322.tgz","fileCount":8,"unpackedSize":1637832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEgYUCRA9TVsSAnZWagAA5T4P/RghfJpoTFofXrp13+jZ\ndwUPIMg5MErNtQMAML+zIV9mwGvRAuPIQNx5oipWpy6WzOWs4Q375zPhAkLl\nBAYrT6s477dTW5wodb05Su5XcxxSq0/TmOmmnRrKNvwQO9SzU44T/rbfJyzn\nA8kSYLXqRmSRY0BObcMdJMd9mbpZfJGWJE8rCjsAA64PwMtwrMdplq1LTFyw\nCqs7eaErecdM+8K83k1QfCt5Xtfz5rjyDSE/P+TVaLFVSV8zow2rjf47/l6q\nbiEpyRzfS/H8R3FG151B0k5RWryT2UZtyJbM4K6I3YhK1i4j+qPvdSNGaG1J\nUt+gKC/7X3jpym3VsMYdrnChdHouRWVhnoEQTzMJ2hp8720srrOlXZrXTa9f\nw3TrrEGfXhOUBikxPKeEmkDXA079oqsH4ulbWO6cfFW4eFUMkX0IbWHMi5ht\nRN24UxU/IPoOvGSf5i8z2udjOvPQqykt3RadqWI6idcxRYtt+xuQ23uCGqnN\nJpqYwFKkgecztH+nV90RtejT/pMR9VciDNaB9B2+wQ+5dhW+EjP0bHHBltA5\nSivZpCZnGIMBq/uMCz2zg+fGsdIuqfzNnag4EdakyIztVxyCojQ9oUosqIwt\nhxFPWxpQSgc47f0Q+qb1hd2fbVgi6zPBw1700fYoNaHD5xGY+EdfP806Imcq\nS0Bw\r\n=iUmn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIBYwRUJqqCPNsIvs+J2lMw0pjwCIRIrQ/v8A38RDCehSAh9E8ExQYhbaDWDzB43qvj8tGaujoK4EBzrEMT120ZQ9"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1322_1628571156743_0.7655659215603337"},"_hasShrinkwrap":true},"0.1.1-canary.1323":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1323","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1323","@ganache/utils":"0.1.1-canary.1323","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"86ee0566842311adc54adcd0f9d2b3806c00de9d","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1323","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-zdpfsGqevD9s69vORLI3MhuWDDiN0GCHmur/EUbIRNx7MOcnxbR8re5gQLRZoxi1koYBvHyL68+Ir4f13YMF0g==","shasum":"5f1e76f8ae8f0a2a862b5d337871bded3fb56d55","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1323.tgz","fileCount":8,"unpackedSize":1637832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEg3PCRA9TVsSAnZWagAAvsoP/10NpYHuNrDpmZaySuEZ\nPd1AYL5N4/0X60+zBNyoL5DHk2K+5GXOjyG3hgfzzVo1pZrfsmNwDFX9C+Il\nF3ngP3UeQk1a9WUDxiM7jeM5IsI/6b+TmkTHdxinkJsE/ruNU5OJAFRLbGti\nIPTOVU1dqaxDdJz98CQb55VMgNjR6YIESxH5+B0sjLh5FJGpaG56sxF+JTuI\nO/FeXLcOh4rDYoBcRhk1CKCcs5Fbmp8f9l6OXwOdhAO4Ot+0iH3IhXeu4Na6\nF7HmwdWfBudy8fAmo/MuccSmCxKMofTs7RQbyVAqkXIh7OWjfiit6j/4VlyP\n4fg2ip5fW18Ns431NzBZuQaVSs9/JkkmIXi6fcSxONSfvhiSNJ9GGBb/Zgux\nrAg9HIRpXACS3PHWlZYTZHBrtFza1cImu1ITD8HOU1lSkRLS01AlkEukXf/q\n1jGl9RtneEQxeTTnHtcDpvyUhN16gYmC6Qtq9xZHRuaRqeJDht9iFH0MUNJP\nJ6Apg6M3FbBaMjX2esheToRzmPM82dFuIcYnZXsGdyd1frs8U8m3HriDsxYZ\ncbCXEBVVhL5Tox1bpNt/DgUWUSbj7KzR5P8CsTxG0a5Ldv4pzAWutX46+2on\nr+JPHmc5Y3QrvsQYb4phQ85EtJUJEb4OmQMPezYbgRyJV46CvUGIi4Ju+bqm\ngkH6\r\n=VeNg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICStQrWtf+N1qvtvM5lwd8V5qpEuZ9pYMUdaKC5WXtqEAiEAzn02G+gZNtSVxl0/UlVzWFg3WA4W8E7lNksETaCY0Ro="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1323_1628573135686_0.004418732774384093"},"_hasShrinkwrap":true},"0.1.1-canary.1324":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1324","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1324","@ganache/utils":"0.1.1-canary.1324","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"a36eef92b9e80879c32246efb3379c9ca1b0070c","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1324","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-P0Y/aFKHE9ocWCZZZVnoAAQV2onOzPUDFWTQZZJnDMB4/E5pwbTLtnTeVV09zltsPa98rsBybzk8n2/t9STj8w==","shasum":"be6b5320fd2f8562629da7bd5a9ee395c4911063","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1324.tgz","fileCount":8,"unpackedSize":1333866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEhMbCRA9TVsSAnZWagAAYx4QAKDO58XMjv8YB+BTL9aK\nEtavYZdxVnxm7c5ccYurN3weAK9FKtkKeiZrkq19iMP1/cC8fYqqhQ0tZZ3z\nbFxMwhckM+wVet9RrwCBAR7w5TpNbam10a79I/R4Yv+UF9+31yFF0PIlLHpn\nzFUiNxqecd82630l/olbnuEgTa2HrSG9XiihgnM1qxEMDlmZ+1ER1onroAhK\ns9s4Ifi1UWt0iPcpqgwWq0JZ6wsdVozeDHm/mgSH/6VhzUE62Hz1INeixALF\nXvvSfsmT6Ype5vfHBngAE3jgpIwLubFjo7AUFYx6dcpfI54NW+zd2KVBjUmL\nmbHuqdTkJLBR9Lu8KyC+Whg0ugu2TK8zjyuraZeHhRBr4AxALCqXya4H925G\nV2eeESvpd6H0kv/mCxeJTBKA3/MbSlTkpP+bnRZi6vFnsJQu42N5xwHtRAzv\nRbNLYyrzA5Og6EtMET7rKrVmMO4wj5bDZWzCJNMhMXmne9YwuGJUg4DWuoZ9\np1syfyN6k4VZECVfQBriwTqOnOlO7gscpaF54TVoWAUpKqHjnnHat7uGqvu8\nbILpoQKR67k0ATWk2S5Y7BWrht6fFZaIa2WQVQfOUxkxH7LG/+wsn0Uv/FBz\nwwBEn4dj70XWuDZD4yI0KRhvmSC6gBhrkP1OCv3Kx92ZegRyIGVl3lHu5k2a\nyw1X\r\n=SkSi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGfDh04sUleTMUyqE07Lxtk0A/qkzbgZKyjsJAuUTZBgIhAIUz3S0m8rAWYFcyVPNmKyY2F/sWlr5YO9dTNSK+2nxC"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1324_1628574491276_0.3573303694190564"},"_hasShrinkwrap":true},"0.1.1-canary.1328":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1328","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1328","@ganache/utils":"0.1.1-canary.1328","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"2db10b5b0ed9702ce6d8ae4eacd9d404a8ab2c6a","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1328","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-bSu+y57N3kEpipIgSzu+3a3hY/fluuJkalMnKzf2EeZ9pInaLk07UX+hffAmUSVfCBMc0yGJrI08qekDD4/r/A==","shasum":"9872ca1ae0084f80fe1c7091b4a61a12b5a1dae9","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1328.tgz","fileCount":8,"unpackedSize":1637326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEiJECRA9TVsSAnZWagAAZ3IQAJxDf97HpT9rT5BuePg6\n/ZEw4PolvP8qiZvkazGGxrcJS/ZiIKlndcKUfdmU5trFJzsOqudlbiqrZ9vX\n3Ko8jTgeVTW34IPfaPW54y1BojW37dKDKSHlS1IEV1q1lV9IslIWfkliOk3p\n54wZNQ4DasvMg3jz3J2WK+tbaXIWW5Jhi5TcwIfOEziAaJBiU1geWbQWOBdA\nYld6yhW/woCwQY4w0JodsasxXpqp51HdxVk4Ydut9mg0XYBELAKverziqX+D\nI+aCLnbbHfAuhLHjNZMn5NwwT4ql1gFyCXZL2D38DJwadFgUbcjQtHJZfZb1\nuSqbeL+wFeBmjN8BttSVFcK2n09OtfjMQ8UOxjPi/4N9XMKRgH914q/9E2RB\nuOCW2CwbOrxcbB4653GVi5GTKFvm3EWtOr/vM1z8rc5RJu7uv9TfZ8FmPIi0\n0Tz+nvexXHY1ZTCwYXaY9lv3LUaWt9SSJOTJqGPUCk/AWHN9afXVx+e+abXt\n3BHMfgFPXAYVlTjMxbIpdhx/Oy9ESU1ebbIPI6xMNBEl6JljaCwai+23y6ss\nylTVPndZMLDT6hUQrOq9gtyMGDC5Qp6NpIl8Fq9/a4/v2gduncTYsgYOG5PZ\n9jj21H/GEaE+lRaQQoPWbDY3woGNJQ9La5+czBn4qUvPuO7ohLcQJOiYtLBp\n+gZG\r\n=2dy9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCREk9yAO2nY/2lzluVbRnaGqu9WExQq4mWfjJ5J4/gRwIgFKzbzhDI8f3WPeQ5vC7vYJMz4cyeNFL483hG3IF/G/A="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1328_1628578371874_0.4238821668189756"},"_hasShrinkwrap":true},"0.1.1-canary.1329":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1329","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1329","@ganache/utils":"0.1.1-canary.1329","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"f366441c6d991ad3c01abf7251ac9839c140ffb2","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1329","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-kQIbWgjg2ckFNRkobiLXj4f4287yvsfw+e+5qG7hoVyLSTKjuY8LQIh56r8vq/QPFIsZxtYr+d+Sxs/l8iV7YA==","shasum":"edf18b8f7f5926d1c89e68fa89e24d0be954a346","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1329.tgz","fileCount":7,"unpackedSize":915847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEoNECRA9TVsSAnZWagAA0a8QAIlJSBTnoEu1BFVa+qea\nemdvKeoPWHVi+uHo/F7co3GE8/TuVx+3sZp9guMXUqAsvv5qFfY09pnpjsmW\nvUxRjVwor36QGnW6DqDFMYtz1NQWuAPsTHGNXWaIc8yvjUcewQHyOwEY/TQ+\nGAZI3+qboUQwugNyVEckc4sCj4BLMMZ70jzNM8jjCRcAn8m55Y7DaWxMmHUc\nrpshNV4SbN2rMRifPwV62fTQOFvphZ1vZN/kL4EzstDhNK57FQdkS08yJssn\nol3a8PovjiZc6hwPYH8vTmXrE70juQ3vRZNgv0h/zO3mqDiMJtR2yHjp9ndz\nqchrXgVyPno2eyNRdlEfVWxJUEHaLTMR8HnVNzWkitkT9AmT8K0QT3Nhwkt9\n2b/TAPqhTmL58Gi3gryVdZy3GiOevHY8KtskJygWnw0mpB0vvd4+X8bl4J38\nt9tQEXfokIwe+klLyBXme8yYubhad4Ts67WYWXZ8qFQGdxfphhCV27tIp+qh\nA4tfp9YQ9i2koQ6MxXfWb5jN/UzxtDNwi+/Z2LaffsDS8mz/uh4PQK3lxMM3\neNAwkP45LbCphZzYkJHB7lyByhMAXDPIErBEmHZ3W6/Q0Rx/4B0pOco9eXki\nPZvdwOvAA0Z3JJKVnQz7tu8QZ2lQYxFtKXwFWwX84dihT9Medy0bqINr37bh\nd1Ky\r\n=HEWY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCp5kSG5q/7nxxRMHZmk/OjlP1S4A+/Q3GrHXpIKJP7QIge3f0FrsM4FOVYDvcNW+WN4hEoZgtTi5ZgnfVGERf6MY="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1329_1628603204448_0.5811606230128807"},"_hasShrinkwrap":false},"0.1.1-canary.1333":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1333","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1333","@ganache/utils":"0.1.1-canary.1333","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"2f63aee3274cd107172ba94f2d037b9aba23892a","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1333","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-RYTjl4hilqr9acUEPz5nXtKP4Fpaz5XDbwiHP6XZj146KtP39WlHj0Urh2njAyNT6SgB4/56S0Wcr6xxCUAyzQ==","shasum":"616bd95ec0e8b7d842a27bf13f5eba7d69d65ef7","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1333.tgz","fileCount":7,"unpackedSize":915847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEvvzCRA9TVsSAnZWagAAlg4QAJFRvtyjrtYGwedDDE3D\nMG/u/kyVfWszyCiGarq4ZU2l5raWeMo4QkPe581lyFfKwFu/leAnMTZDnge9\nw5eU94yXbF3frpK1krsdiAxN4ng6YAw/UqdZkBrlUw12qUzFXn5cMaIXsMZP\n6JdGFtu3FzDJZ9CHby0ITu23UzsFc9MTqEhDh5bnERLlTGmJ//yAxLHrsr1g\nELqCweUtbP376jBc3S3PxIyeTij+U+0xUDPzQkx2YdeXvNVUJKFrJKdiTrEb\n9yR83ITrtf1II/2Fy/2N3oc8npHqAwlZ35IgFnRVvbcmhV+wqrrH+zLPgfz0\na5omT/btDAoE4fSuhD35WVxcYMltWJsXdsbkWYoUx3WHUZ0IKKICJ97iX1HJ\nFsZmUjLMCpZ0CvbWHgadA0mhz8vs6gZN2/XTyhbYZeBGLFl872rgAm3mgyNY\nXN9ruu64u8CJOxj2MZNjx4LEpDP+2NIi4TO8pRD/R+ni8QbYyPyNDkh9ry2B\naew/lt7DoYnErheX3gLfSV0ncxliPgvBrxbMPWiNrBloUrTCi+aZJs0IlX7P\nDPeVif6St3gPc0fI4KUgWCBmG01UP6lC/k4LyWmt+NyadWgY5KFlU6siERXJ\nzgd+12TsVuu6Fhnp8VWq4ppwXLy4vxCiqtV5Jk/ToIpxKxE/pB+uJu8HVRdy\nEuPy\r\n=QZjc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlF/UQGzaVK1mCBeJJF7+lmA02U2AtpQjyrdb34hrQXAiBelkZUtjPrHrTWidfbBTeaNbAH00EbVTjlBwWc+boN2g=="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1333_1628634099554_0.4819658308358514"},"_hasShrinkwrap":false},"0.1.1-canary.1334":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1334","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1334","@ganache/utils":"0.1.1-canary.1334","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"f0252a74cc68d643728a680d498a8fc0281493e4","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1334","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-vt9kPfrHl5Dj9N6DEj5UoPhPXxKvogKN+G5Kc0fAdwsT6kqLaq8WDo68ELCSNgAbe460Vwqk0lJ4Gi7R8uCqRA==","shasum":"3aff3e84c6d7476b68887c1fdf89c1683495fd8d","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1334.tgz","fileCount":7,"unpackedSize":915847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEwFzCRA9TVsSAnZWagAAQ+0P/38UqY+Plujpkc9VBGlB\nBW+Pj83jacQ9JQl3xUbiKzZTLmZ8J0s9qTZWh/6nEshCbi7taTY5xh7h7XES\n9hse2X6XrPKSG2ZJQObsGXFia6IwoKFIrBux/0uIUVFA/H6I4rIO+d5AfD7s\nZ0u+JDkPh0AEllcdIDmHF+3C6xAnue92NI+9wREdsyaAuuFtlGkqL9AS7xQu\nJjC1OBS1OxWFUoSDQLfBV3HTOt7Lb3XZP7/Ewf1RH4Eo67cdyQe/ir2fa0Ew\nTO9Eh5F4F+y3uqm3vt9CQKI6SFrnJCuQWgiHtbDMpE4qtHpdaENE9QJjT+Z9\nhkgo37jCordyMllypK1vdXf11WnVGajM9Ko4tk0GPiAaZkGGvpqDaOV2RDDv\ngpspnMYRl4mgtt/W3QO6k+qJ4ptHqLwoQBBgD3gvw404lPsqt//DHJ7J2KHM\ngqXWV1FcjdWPVbndLUIO9oCYg+F6X/dVPsEIbyTe6vKxyBXk12zHiUbeLSnq\nzXWAdg6jmOEm1+Y4zBGyKWiiNtTwzA0yZmZzzSNnCyixtKuF8ya2XByQevJr\nqjk6RXXspnwU4z08Vz9TXui0jbi9X2oEtEgDkedLQsN79bfo6gGQXAFvj1Uf\nZ3+magIbw/jPSQHPHkegKZkWnzzA48iJbWIV3XsY4R/vkQJO/0Enk580sb5k\nLOac\r\n=+GIL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoMNi0ak5hY63yHXz/MFbv1iAh1IOaD0UI9N5KAcVUnAIhAMMUyBi7Ijw6b3C6PRwdVIaIcmsq5CoPSlcmwJbLu3PE"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1334_1628635507720_0.5550811990546853"},"_hasShrinkwrap":false},"0.1.1-canary.1335":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1335","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1335","@ganache/utils":"0.1.1-canary.1335","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.3","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"215bb16c732909eb9ff49cf0b4307e37f08147ff","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1335","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-rfwJF0LIM2zZrObLIb4D8YT4GvbH1Q3vQqufTCgNA27+vJIuvGgNe07uiXoXX+psibZK2fEWWYPZSIY+7qyDlw==","shasum":"09671d07fda09fb08ce7ce90300eecd765392d53","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1335.tgz","fileCount":7,"unpackedSize":915847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE/kmCRA9TVsSAnZWagAAfmsP/A9zO06VaX3BCaunjWkY\nJn1nxXhMI+zFHSWDIfRZzGIY953HPscBZilo5OedFiutBDWdELuFr8QgIKE5\n3KiZZbGkFA+jQPIrrVCArHxh7JSZ3jOORVNTJ4Hwoeci88bgjxRsm1LDanjO\nd+ly/ZOVx2IjWAQnfE01bHy+if7NEzhqnNdSVdcotUS1Epdg7mnJxUVML4Bf\naETAYyKP3kacZxQnX5lFaNBVPs9yn313PavMwheVzN1qh9oeotInCyp0IToU\nzWjlITinQSOF6ZzDZQvR0OdwsGfJcEy+8gwKa8qTmS2ww1YCX+/2IFEv/lOB\ncb+3/JxZQUOIw2BOA7oWhpOUGnpm/bciEhHYn0qd1uWMeV1+/prhSiVsxakT\n81EgSHIg51BW+rmzZPGN7eeQHN1kI4aum1xqIqlBiUE+b2pzIf1Jc8bwvqFi\nQxhYfQ+CyFT4DQVAXjKyetF5XeVdm1+XMGHm7t0WZROTlzcNXfplpzN6eEvr\nSYNeOVpDU/yNBXnjJHd7ZoObycDCU+q7jSbC2UCu+cY7uGpY8fuPsqzer4NM\nLl1/jxOHgCfhv+kpd59ZdHUeDb1gohX+0SNXH5fcdvuDkw1F7UmxLJ2FnOUM\nPeKNdvil86Oj5zNwPAVGQndmLz0gxwal/l/LGAseBSOPgdiXZhcaFJophp8o\n0okv\r\n=irG/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTEjwzzpyC2krbQ5aIbIEckTztwmvUr08ot3g863fkqQIhAOCQvd+aIxF5rBgEGYDga4EkoSyW64nOpF5EKs4urYpi"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1335_1628698918686_0.1977658621203775"},"_hasShrinkwrap":false},"0.1.1-canary.1336":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1336","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1336","@ganache/utils":"0.1.1-canary.1336","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.8","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"24ef535dea5941999b2cf2ef89aa1cfdc6018a55","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1336","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (linux)","dist":{"integrity":"sha512-tuNbs4LFmjFHI/H/8frBpz5f27I0ZvE9l13BdVz2IP4KANZWsEFqMpvyKEpTdLBgteXxgX5V+DH5yFswP1y8sg==","shasum":"fe106e5a161db4ce87af5f60a0ce95ea223e7912","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1336.tgz","fileCount":7,"unpackedSize":915792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFeBPCRA9TVsSAnZWagAA+WIP/2xowmoGiKMCa4JfYwCZ\ngyBbLGY0deFVIF+1nKKlzG8WRXdTE5h0J+lsG2181MQZJB055PsooMMNgAcO\ntrhYflvnxPkqepUbs0uU8jOBZ2obdBaT+6lU2iEFsvynTvHqHemlbmaFX+tK\n92hGfMiTnl9xvAYUa7mF4UsmunSaotneao+5drHKqYotyn1hcNSHurG7vlDe\nAmlLdUUSpv5tOXAj2EYumrmqyfWO9RnudDEtdw/doeSYsTt2e57hozRnDNrW\niSdA96Q/6xBO02uSEb9+JAfMlitlg8BWkkULvkUh902MgLwTlXLr76Uf3coC\nV6mvG7FJfbt4xvRuR3ZnYXuuvNbXMmz/NtIwzR1vjK+N84B5R1EfErQIYRKw\nfHUAI8AS3XMK+vO8tJS+Lf6I10ThcyCGL5ATzc8vT3qqSVf10ijJYcwnG+/b\nvmY8Vud4J4hCZJ329Qg85g0xMB4/mTwBSLeQZVbPjxIgDlGy6Y04Lir8QX4s\nL8SXp4M+XRl29ANBActoOFQwHRYQYyQQc3H2fKDWFmFj8vplsWS87QAErVKL\nT5dcCY11C+2l10NxsHtv64ynOtIapPvic6/thR64uOKpL3nBNBO/2fXbehJR\nqb/9qU+b414OJeoePTSl1Ti4dtuWfPVqFq4EuWWDhZTc7nbEsZOkBqZdwoMF\nqYj5\r\n=RbSc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP8HhUkD6TA+MIRO8yXUry0/1LrNKfifHQFuNUec1/0gIgZIVlno8YAlpsQgLr3DfV4BEWu+42SWiHTh9d9S/dY8Q="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1336_1628823631349_0.9682528528065784"},"_hasShrinkwrap":false},"0.1.1-canary.1337":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1337","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache-core/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache-core.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache-core/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1337","@ganache/utils":"0.1.1-canary.1337","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.8","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"2251936e4bbc597478298a6015a8731dcf5d2c40","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1337","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (linux)","dist":{"integrity":"sha512-Okxpk6Uz2sqtFYJDHsQYseuHgPogvSomeLmhdM3ipVX8KjVaEQiZ3xXFz+hg1/oolOyzaISbqw1a6apIy6yU0w==","shasum":"384c113c0601e311cb3d54e907695665726ba5b3","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1337.tgz","fileCount":7,"unpackedSize":915792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHrsPCRA9TVsSAnZWagAAx2wP/0f1suG5NUu1tZwPCjG+\nW39uC4E3EnHl4EUbmslfcjaWjyVPlj0ORg68vu0gJJDB4pWgyCyPB16Vtdok\nY9PnhKbD7/Ls0bTBJWF+1zyQNPZvbqIOuf5UYoYKiNLD9FW5CfsVdpnclcpk\nIIlNTVJX6W6DeWfrt/oKSiwg+SVHvCsFRxiZyjU5j0yH2ytRWdu5VsEArAII\nCOhZbAo6vavYRi53E9fn+Y++DNV2aEVDSELRqQGwA12fs0OV5+1+Y0IPxtbY\nw66lOhzcm9/wS+TRA2/8h/5e3PmnLcWIIz4Buy60QBGUgZaJNb6kOYvWxUel\nZejqnHOS5IBXKTlMF1B7jBK3uENfw89xjQFVOAeM7QkkUcQvYgqyb6aiisBm\nDWaBMITBqqkbtDrEejuSFhZFlLLc2W2vh/+LHbgCFYvsG3VGSw4bhOPTPACo\nJhl07IO8FHHhW7PMPkbcU6X4sJsMQMYW53QZZ6eaLS1dsHEYhz7UbVDET2BD\n4YD6oNF2mK9XwWRxTS/V1ey8M9U6HmYi7IBbyKPD44AAyUyYVTkDNmLS3x+r\n0RnOLUorrlKHy6n/gv4MRdHhmw6sObZ6Yfm4DmDFqou/4ZCcgwcHHEXju1rS\nTAtMviSR3RN/wwjRiSlXtz3ijIucxgMbulknUfbPBgAtDaRx2NsxWQfLWPO2\nXFSz\r\n=0XRX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+Jy9MSOtFw8aPbZMXjyltyn+UiHiN0rx5+tTi5WQtYwIgGrftPBXv4lcFyafihoEtxnqnq0R5y3bYXqu3EQfJ6Jg="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1337_1629403919017_0.4398183932614388"},"_hasShrinkwrap":false},"0.1.1-canary.1338":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1338","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1338","@ganache/utils":"0.1.1-canary.1338","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.8","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"7e12d3eb772f841c822f6ba112f0a7b473ba2ed4","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1338","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (linux)","dist":{"integrity":"sha512-FPBaPGBSNL1vKZ7DaHfjqnn6J7mQ4iVqbmKa0j6XRDc04JPcID4L7yhArVhgB0LeRRUAS5rEAJhDol8/3GW6Lw==","shasum":"a1f0ef63e1ff96b8156ff2dd9de4c29accef3b62","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1338.tgz","fileCount":7,"unpackedSize":915772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHuM5CRA9TVsSAnZWagAALSIP/jPC3uDefDFnLlAmGFkg\nE7g52tZ7JMnBPeH9AHKSwfUaAkwrfqasaVhF+/GgPQi4T6UXIlnOMTGU8znj\n4FFyyhTJ6ZVQqgRtOtEY7ZQps6KmXlztj2BllBpt7RwMRl/Vf/PP+SWpFAnj\ncs7QdmDTLA4QFiHNbAejl8Zcs56JSxf3O4TIqCsteaXGr10igbypuLUc8Fqc\nzT0EE8yQMycusw08jfhOa5azoF3uNk3hj5CvE6dSx0dqEybxU6nh1M3rL8yJ\nfFMrUJ6xookqEdrHFw2ecG6jKP1vrY3nIoCU7b9ORKLdkjV57INnErH7aDWZ\nDNX1zWLHua5dM7GK4OMHnszw7oO7Dy2XXKBeAv06/NuEE7cKxah2X3p4PPNi\n87S3padNXnKAQ0Q6oveCOoVt2pSuqn+5hMU9MsCcaOI7cq7mdkqVG1Bjtx+q\nfpKQsfSlVh+uM44rXyz7zAWm+MJwSU/fdhfOX0MEzdjVxCy2OQ6S0/eT1khf\n5qOLWAq8nVu0JB+BfZKXXDl8ZlFD4TfdjaNQsU1qzH0xOVt1YOsC4PuvaUSB\noHEeu1gmYrWgrgheVMgjEE03/UtQXoPYkEVPV2K4c+dTq86nFBGx8He25aAm\naB6Tsgp/Ejz4F/icnW7H7h5HWIzQXkrC4MYfytoKEqxMxu05W7z4d5DsiUN2\nYEE4\r\n=WFIE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGqVAB+Xpa46nGafeKYEmQuXKv8cQQ/kSzL3YQMf61LwIhAJ9Ma7Sqc42m6BVxiFnsQxVutrhlXMsN212+cTjYbotb"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1338_1629414201032_0.19777183161163792"},"_hasShrinkwrap":false},"0.1.1-canary.1339":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1339","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1339","@ganache/utils":"0.1.1-canary.1339","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.9","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"17a7161f77812240b68b948f7f46e641a554c2e4","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1339","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (linux)","dist":{"integrity":"sha512-qll6yq2Hj0bgHee/3GqyPI922p4bCBXR+y4gYa4cblMxeLjI5OnJXLscDnWyp//PHw8FOKm6zWZDyp+Hr/NDcQ==","shasum":"ab6c730b2c6435a9671e416a6555921fe972a605","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1339.tgz","fileCount":7,"unpackedSize":915772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIAEGCRA9TVsSAnZWagAA46sP/0o7bJJxWTBVL61j377z\n9TCiHmieVY7W1wnFz8iFIP+Rm2GZSMx8Mq6DroIlm2sa+qKOuX/OELzTMbn9\ntBy8NawEbfkQNjEQKh9gz3XBPfh6DVkrKkWn/bGUCw/Hd+9k+xowAGF9QmpV\ncRWSqyY7nbIk4hc6jVVIQeqyDLezr0lmYBdvESKzeGG5WLwLAQ6cpN7P2fvA\nKcafqQXF3WSNev+wq18uq+pyHhelEMd05UoBhIJDLBJKgke8zFGd1cgtnye9\n9mdG08mQGVThJQMqUW2YZC/XNZaOdurjHBdYZeQwzWJhDBjxpSF0bfRitnvh\n/8+/d7PN8G77Em9QAP6u9pEthGfs2nX/RbdmxlpwC/5nXpHanTPph2nn8kE6\nP48Z1NHwgmAOh5NKORaSSTOM1k5RoIKsU/IFDFs5xeA6peIS6Pwhem6IN/Q4\nQBqcVREf+TuZVmYzECK8LSthOgdLKTSnrn6x27yCJb5+MmK+sTnY6CO+4q9e\nJxP1Y69qc1jlxNjmpi8djJs8f8C9P2xQ9UahUJJUGSdaC5McsvEzxkeFErBm\nDzzSqUf/aMYSmGcPZjO34gzGg6iabsot7bMCQ4Ueofi2Clv3byyuE1BkIm9r\nGOPUSuaETlaIsr5x3HrBs7qTjQfqcoYMtLdWtgnxbsShpckqcQ7FnuNh5u2D\nuJso\r\n=TiYs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNCVb8SMMFjWlPKJiASM8K7sQ5/f5J85zMnlSEsUinwQIhAP6+/PKzTD6eea84kMdmq5gZNW3c0SSzqnf0A5Fj2LiX"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1339_1629487365813_0.35801274797883265"},"_hasShrinkwrap":false},"0.1.1-canary.1340":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1340","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1340","@ganache/utils":"0.1.1-canary.1340","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.10","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"bca951b6cf4e3a14c6b2bed4c3d7f1acf60a1c99","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1340","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (linux)","dist":{"integrity":"sha512-KfFvNigx7hEkJu8BBXqcscmWTtZEXJB2S5LgBAwLgdm2lLX5hJD3jdfkkXpeaE+gUg3ljw4+LuVRY6hJGjEWSw==","shasum":"6c7e739bc1a5ea375f858467c54a51497b7ed793","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1340.tgz","fileCount":7,"unpackedSize":915773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJCY4CRA9TVsSAnZWagAAZGwP/Rj3M9OfpQewNoLn7132\nxdEsLE7ixPaSXFUmaMh4JCyXEkWcqKpSyunfzlmt1jfsxljiHwGY+vQdUxaX\ndMEXuV4nEWVZHgFQtlNftiG9Lfwmbaz7X55ZvNLmz05yKLuoCwIJ7RVPDYHM\nPH7HZZBc0bK4mCoXyg+1bXiTL19aL65Lq4eT1JY6Zvjf8MB0yqy2AfQ8k15K\nibvFn0CqIun33qZiRYa4bNTkB3o580xU4HcMXlKR87zal7OJkd40j7/HU4M7\nuCtM9HJUa+QJNVvedE6v3qnX3DC05V1R9AM980/CaPBWQsHDdx+7Zy0b+naF\nB+lV3F0W6dpFIadhTljYELt4u/Fv2Xz49+/pQVyNDoeNoWlCWgxK3vukZ0dM\n8KrpJnE6IW+XR/qyTdXqP9yfaykrRKty8Pv+Con8aHITUjJZKWWcFMy/dESp\nHItbyr9gkFxBaXPIjRWG/p3K3a1ECzgNdv6m1ecbUoDYxYXPOz1dkNs1Wmpc\nda5C8Kr8ngz+GY6o3mqKdsXa5fK+2gy7JvzhkXx8Sk0EyvP/NoBxHgBCnQTJ\nxMZEqp43yQD6VbFsxzh8VszxjY+5JK66N89fK7pi93Do8kI0Jh9a1/paHkW/\nW37s7FA3cXw5HELoKSeo0Kcah+D5b16dk7jnQccdwN07D9czkLNYKVB17f1Y\nQrE9\r\n=zVwx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3lYvX9HvsHgJNexqWWWc2rDnSd2zvFRSbHNwFLrEAJAiBlLvlgNrqlJ1C63PYSe3rKv09FxZCIhpYlhBQVlMtr9Q=="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1340_1629759032104_0.008820807089107152"},"_hasShrinkwrap":false},"0.1.1-canary.1341":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1341","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1341","@ganache/utils":"0.1.1-canary.1341","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.10","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"ae9bab8f653cb0c84628831d62b90fcc6dd63f84","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1341","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (linux)","dist":{"integrity":"sha512-BTkSOhiZOavbeApllCDEY7Y6gjbOgsoWoEkUXvh9277VFfhlpZvGKgZsc2MUjxU9IR4Guft0HPr11lv6CMIUSg==","shasum":"17d50206f8e70d5788f6ec843804eb276b444466","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1341.tgz","fileCount":7,"unpackedSize":915773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJQ6cCRA9TVsSAnZWagAAJZsP/jHzv7zysetAP0emO2ft\nkBPzKCIHualtkIE319weLUcZ4j/BDG80ctK++FMRwZKOJ841Uwfrh2hrz0AG\nNTD2ulYWGoYKFEa8XXzDKK97Gv0nDivsdH1WcyNXzSOJJC03QH2+6tnZjxhU\nEWWePX59lnfjgatNIrlVKhif+MPKRrgeOTCsOy0VGUuQyxI4yeozElkD3CKL\nvIfFl2v7Pkm4YHjhysnMitqhAiza0eCu7GJA3lIr6bZFuajqFoqfDUIfycif\ncYQzCZbWNG7fwJkcJMRIH+vBNEaw+o3fYDibuTKPDkaHvMALlXvQln7VWpyL\nbYns1U2sYue2Wy9ruqzFLnPEp9MGUAPUiuL2zmLAMs/AAIT9lG+r8vEH8745\ng3d2lDDYKLIurQq2sDHfXeTGH3OetEAtF5ngLOFtQ6AgQ6FvpElsrxsTR+Gw\nCOZm8jGPi+UmSvQrqvFWdxTTcd51Enhqsppz0iU9qGdBzk/4uCSTOjwXZ3WG\nAtwPpqXw2AmZ13eWdLXOMN8IUXbu2b5o8SKrumKXAx9E8r4OuhfqS+CsjGbe\ngbKoXqkrwBlWWpyLCcJNk8xkLnhs5OuMhSC/A3oRcyLepjPRsQsZlYalLwdn\nJqy0JrZ4QibAXsS/128b9vu35P/t9HnkvOMdLl3ROETujVY7luLtukW6FFu6\nqUKu\r\n=aCr6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDCgVngujkE+6Pg9ziE27ho1w+J6bbds6VAn64QhfpTOAiEA4EU3JLJqoJUoV9sQHqSx+OSqLSy2Fzj/cNUX6/YA2lw="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1341_1629818524627_0.8957250635557803"},"_hasShrinkwrap":false},"0.1.1-canary.1342":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-canary.1342","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-canary.1342","@ganache/utils":"0.1.1-canary.1342","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.10","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"acc0f4d63557cce3a7dd243acbc8a8a469687027","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-canary.1342","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (linux)","dist":{"integrity":"sha512-4D2Nd3fp7uNwErhpK991DKImBaOI2qtJ7aTKMUqqwwsOCFszPDCDoVqP6EqT/cvlUSt3NE2XbV8NezXNPmaAXQ==","shasum":"ad91801e5e74240e3bd367b51517cf2c5f896143","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-canary.1342.tgz","fileCount":7,"unpackedSize":915773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJRp+CRA9TVsSAnZWagAAtQYQAJ8vW4i4tp5LDddGFR9C\n8E7wbbf/Bsv2z7EUE5L/hyOheVEQ4ehEVJTy/vwe1KAbswkaK1Lphr62s/0J\nAdIMvJmnT81EwluZBpy1vicUOdtYYh59P33I4JLx1gd64WbrZqg76k5uW/Bx\ndsq5+1FoAQ+6m4+0D7iY3o1rKtLi1cqvD8CbE8jf2jP5K+zJCAUUWnNfLHdp\n9s32OaM05Nn4bAosd7kqBhbjq8KwQOptknMwsP60kqVs7aElHJzaUG9CAocR\nFc8lLMevjddF7+fglJkOGM96TaxZNSy0IVznIBRo7N6y7OrKwhPii1cB5hQF\ni0+RAsOtV1EJchXd1pYUferCCpK5F47gXCbi3iLYLPo90NBuDAKa8WorO4rg\n8p+bU6cIs8Y8cTS3PSqYJgO8OewkmAEgeFRljgUzF352QiqbbaBMmPNWoTrw\ny2kcvei+F5exGpKtdj3tn+QzzGI0kWx8Pg5jwmQjyoyBCn8G5yknDUYPbH9Z\n+VpBjmzs4eP3gxxtizsdRowJm3Q+IqTBxcQych02N9BbKePX2wP5ybi17Wc/\nOTeVuponicJNer46u6QnpHiSzuINTX/cVB+6AQThkS7jYoVvGvU8A+58yorG\nT97pZzgGhUsNVRhWe1+ZOGRQQuN7YJin7xB+AmO7oPejOY8XqrNzXJaUK4fz\nyuZT\r\n=FdY+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ/XWe/l0wC1aD1uFQyiOHRko+sAPYfMBMt90xlrdT6AIgRsb59fmDfiJ07hyKKUCyJgRNsWjSFG0pTQgskXghpmc="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-canary.1342_1629821566772_0.19053040727398884"},"_hasShrinkwrap":false},"0.1.1-alpha.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-alpha.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-alpha.0","@ganache/utils":"0.1.1-alpha.0","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.10","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.0","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.0","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.4.6"},"gitHead":"2110fd2b7fc9b2b41ba5e2a85dfecd13650dadb7","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-alpha.0","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (linux)","dist":{"integrity":"sha512-0LfaAV3LTy9ip+2Mz1aEfmkrBw86ytAwqwk6fML4NCVE9U/JnBXBRzU6AneyULmV4WGrPjekpnZgMEamqCtfYA==","shasum":"aa189a94d126361ae915f1d03a38a0883a3b58a9","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-alpha.0.tgz","fileCount":7,"unpackedSize":915761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJS7nCRA9TVsSAnZWagAAULoP/jdeCaWzQ89MZrEKECFj\nr8KvkBx8nmyhf/0LTjGxyvTbtTP4m3wEPHVkxFBS0Od2b/YzBqEr9UEtqoTB\nb+n6zblNywix8fvgujFXDMryN2Gm++n56+uOGKeVFI8sJ+1tGaBc9cZWjpnc\nXxzz1Q6bwTKfcPvuDRV3jszIOZfWsjk4pMuO0rqbnYpxzXGVs0gmcEdLjF1n\n6z/t9qGAmYYI1mQJ8BeFEA1NY2EHJ7k0i7yEKrU0kkeZ2XOEXVuX3ROpmbWl\nrjtoqomFTwgcClZG7Fp5rMn+mBVe2akd+XyHut4ln1my9zTO/lyeWGXvB/ru\nv3yzLNTuexQgzjzXW9n3xE9yjOWN9fO3Iy96iJuMo/jvN3+CjF7nJkaO8u9u\nS8VUYLt3UFL6viCJJ15GdB/JB97CyH8Wg7OW2kgOouZxMQqZ3vFcamoI6chq\ntbI4CQZPl1bfKM5QV7T3JgwHrGn813oavRedqhVMBdn97Llew7Fe63JC6A2D\naHdEeDGJI82ZhiHW9AqeQ0L3F7YWCY+TMaFqceM47Cxzph9NHPW9DM4Se4QD\nHGysM1GIUOh5rw/82RPswagSfAl0wkUQuA5Z72I6iGSBuwLepmLuKnYQnjQR\n3jff7nQtK0hsI0zMq9oe4HIxAA3+qCjts9XstVHuTzy0kZHbIhVGnXpfCFgD\nh16a\r\n=zFiC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFy1mDo691TleXEjVFKsu+0g7It5fCFUBzj/+xDT7fl5AiEAuAwCMoF+F8LL1bvuGZUMYmLIR6vHAaayx9eg87VEJdQ="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-alpha.0_1629826791330_0.15345152762474856"},"_hasShrinkwrap":false},"0.1.1-alpha.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-alpha.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.13.0 <=14.14.0","npm":">=6.4.1"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/skip-if-less-than-node-12.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-alpha.1","@ganache/utils":"0.1.1-alpha.1","@trufflesuite/uws-js-unofficial":"18.14.0-unofficial.12","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"8.2.2","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"8.4.0","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"7.5.3"},"gitHead":"448e1fa20c811ea5faaafd19dfb416796dc7baf9","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-alpha.1","_nodeVersion":"14.17.6","_npmVersion":"lerna/4.0.0/node@v14.17.6+x64 (linux)","dist":{"integrity":"sha512-m50WmSqkxuiA+So4g3aPhslQOjLa79O8FVxmLfaYXsqyCc9LPGCrchQ72/S1N/xtKwAck4Tb2Oe/0khU9TyyKw==","shasum":"f223687edd7cbf31a13ecc458a962c9554fe3c77","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-alpha.1.tgz","fileCount":7,"unpackedSize":916078,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEOu+KWoNcn//3H8O8fC7P2eKx/NYJu/J6+zs6GXZ5KQIhAMV7biqdsYFGu+mPxdl4EvkwEy6B7TDiPwUhqC7c4mup"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-alpha.1_1632248304284_0.4521105793166591"},"_hasShrinkwrap":false},"0.1.1-alpha.2":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-alpha.2","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/require-engines.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-alpha.2","@ganache/utils":"0.1.1-alpha.2","@trufflesuite/uws-js-unofficial":"20.4.0-unofficial.2","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"8.2.3"},"gitHead":"41c2b97a0effe472841dea82de6b94f651182f2c","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-alpha.2","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","dist":{"integrity":"sha512-5j9W8j7rUe5n5U8KxF4Dct1w3nYLQ137WYAUR0U7Fy2KTrASiQYsdtVlPCBe7naVNFIvW+iVmuEI/GCaFbBD8g==","shasum":"6ed440ad09d0b01b13a5c9c8b220c288100efc8a","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-alpha.2.tgz","fileCount":7,"unpackedSize":920177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWbBK7EvvsLkER/qrHQ3oXwCUBkOSBaOwjDy4sHwD/cAIhALtKk5jpL4NiGp6j1jVvoYQ1pImnHDvnf7CtAscO7H0T"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-alpha.2_1636762212777_0.22010723984885794"},"_hasShrinkwrap":false},"0.1.1-beta.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-beta.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/require-engines.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-beta.0","@ganache/utils":"0.1.1-beta.0","@trufflesuite/uws-js-unofficial":"20.4.0-unofficial.2","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"8.2.3"},"gitHead":"3a2646f7aeed85e8ad0af20cb12c239109ba9005","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-beta.0","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-QDn4hVd3u4vccLrlKtFu5mY1JjsXU+eSZwgwu7eEtsJ2o+QdQL5EMRQZ1D588VM7PFXXsbsNaDjwJU+aptUKNA==","shasum":"e3315ab99eb8dfe5143d288f35f80c8468d9c935","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-beta.0.tgz","fileCount":7,"unpackedSize":920216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhl+o7CRA9TVsSAnZWagAAeeIQAJNbhNDPYjK59Yobosyg\n/QO1FPc3S4O+aOetXb66APhTUPnoYMlxbIfYcASsjEvPgKmUsKioKupjxigY\npuRb/vIVBQMieiGjfr4P5Il1l4uhkoLEUpQWWf5+M10agHSQWPi7BlKj9z67\nj2Cph2WH1ChBBS7Ga7EETDXGYI5A/WGNFiY9RbQvUnuI2Jw10zW2lV1gWz+y\ndBwdG7Evu28QCP3fiaZZgboWIbwvtZouugN8XuigEcdkLRfLRoh6XUjYfkIg\ncHO1gr9toxCEj8c11jFtDhlg5fHYpbxU1uDna/Mn2DituwWEkMh178WKCWWR\nB8eOE1+9ds2Ee7pAHoTJPu+5uSp5CZE4rNZUJqhoJ6MZr1tolSKB7qMHbPiM\nzNKUbneIn3ckZ5rDGkCjwOA2RPPYW1tY8Hb+XbzeZmwYui9SDp8RZbMuh9gA\nVipaEdPjHzNEX6iZVvhlWa4+AmKdzd+IzWDjeJnkXbaaLum3iAc/sQPZKD95\nPo9+hvB/FbVFRFwVC9ZKZXQR9TIXSTtuQfshzGQHe0p1VloGVu+tFMaUBLHh\nYDY/+rqHC0C7ILMgqKRNJrOWlnNqOo2ZLFhf4xG4bUHjDLBKhZxJ9pXm0xse\nvmdBJGKc8VnAvNrMIjdwO8DHQHmxqLE94yXzDWRxWgq3g521A+oeAFe/dHZr\n8C7a\r\n=PJuJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa+5iVeVjAQBFw/CoxXbzWhuVjUozo4wfCuFDiRHGxawIhAMuxpnMEC5AgmWEqTxE+LYVPHca9nMIiOw6GWmzde6P7"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-beta.0_1637345850958_0.5747382410957698"},"_hasShrinkwrap":false},"0.1.1-beta.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-beta.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"ttsc --build","test":"ts-node ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node ../../../../scripts/require-engines.ts || cross-env TS_NODE_COMPILER=ttypescript TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-beta.1","@ganache/utils":"0.1.1-beta.1","@trufflesuite/uws-js-unofficial":"20.4.0-unofficial.2","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.7.2","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.0.3","tmp-promise":"3.0.2","ts-loader":"8.0.7","ts-node":"9.1.1","ts-transformer-inline-file":"0.1.1","ttypescript":"1.5.12","typedoc":"0.17.8","typescript":"4.1.3","webpack":"5.21.2","webpack-cli":"4.5.0","ws":"8.2.3"},"gitHead":"fd31f6b70e9e5c9acfa2d232d4b34ccbbab2342d","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-beta.1","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-SIFFsF3I0WjDySwvGO5PrVIjsoLT5r5Vs8is4pTaPGysPxuqaNSQ5vPbgyJj733XY19HlMfUXTM3XkyPKrirgw==","shasum":"27d843d0b274f6a81b9d01d000bb5e61324d2fca","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-beta.1.tgz","fileCount":7,"unpackedSize":920275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnu42CRA9TVsSAnZWagAAZ/wP/jeYcf0MQSo5V2aYGDfc\nLL/lXfCF33BO/sva4mhbfr/k/gRWL6jkGpzwf4IOCAc81xCx9ti72AdbQwK3\n+IXO+9mS3Ljv0kiN6RKPP64AfxAmE277GuHaTo55zHDwdi+rn0ZGLtJbjfai\nFrygXQSny5T+GN5ZRE9upeihC3aPmjKy+gvlGEJ9Ias5cpMi5L5iqifNckRK\neAVPFGx4HK6jysgAsV1QjXvefHrDxQ+i3E4nhgOHC0UnflgWQnL0nSxUwIFF\nLOqVga1zeMLJK74ERs7GTI0+g5tA7ghxUEsTRPyEFG6m+IaS+Xi+iWCp1c0l\n525pEfaMqXTkGpplvaBo83VkWoZfYEcV5KoTbSIJV07KuaxkS6S5zeajoJUA\nCPbr+SqiTIJCPX2u2xuxp52nqxpCFzHUO1Bhg7M+lVJc1799J/qpLjpZaR9Q\nPUZaWmohpfazge5VQ6X+jvhdiZ6D2EgxC3X5gpkuZ81BhYo5kbfcI0hqZ0Yh\n7YZaKa1irMro1V0rDIuYowSBt/GqvmRriI8dogCkABHSJpXLjBDQ6dWwz3ZR\nX4oPRV6E5f3aLRRrhzJYP/W4MWlJe861z87Qpwrvetr4G30RcK1cJ6GHsjOD\njmkqSx7nqFpDrX/N18p6w2QjqHt+PMrwhCga2L5Rry2RuJjG/fsWjIrbu8+p\noiCY\r\n=W6fX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv54VPWjFFd/gl14eNRE4e6O6SXucaFcv5sEGpfN6gIQIhAPWJX8EfGnvGCVprScEbQz5TD7O9svsnfU/e6huz9h8a"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-beta.1_1637805622518_0.7057035939985161"},"_hasShrinkwrap":false},"0.1.1-beta.2":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-beta.2","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"5.6.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-beta.2","@ganache/utils":"0.1.1-beta.2","@trufflesuite/uws-js-unofficial":"20.4.0-unofficial.2","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"6.3.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"6.3.0","ipfs-http-client":"48.1.3","levelup":"4.4.0","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"5.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.5.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"ba61f67d4a3f7772e00e66c00b853206dc9e1c9e","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-beta.2","_nodeVersion":"14.18.2","_npmVersion":"lerna/4.0.0/node@v14.18.2+x64 (linux)","dist":{"integrity":"sha512-N08EXgME5Bu81zCHeT6wZTDUEwf8l5NxVOj200cb4VL5nqX4WCss8lUQ5gyTG13BHFU614/NbjPsGZRi1Yl4RA==","shasum":"d21716b286137668ed4f21b555e584f57301babb","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-beta.2.tgz","fileCount":7,"unpackedSize":929660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwQg+CRA9TVsSAnZWagAAGGEP/2goEeabBGu0+VZWs05y\niEl9CmxDhnA8u18iYBtjz3ErUhLSBQYUGf6YfstKnbGqjp8xIj2lU9mSP327\no/idxzpFKKnG3x3C4YAZzV0vDmQ0JgXOgk9EGbIXBhoP8yutTGmyBTdWagYe\npYMW1WO6cX3gZV4cTnDzIxf56jOT1NZJSyoo1ADDMw6NvSPqeUpaJpw5Bb6B\ncTRJpQkN/G/uFFC1kRisOXE4uK5iKAUhmeXGrSqsg1HaXqc51298J1mrva32\nL/AKaNXsTufWAjFeD+BUIeEd9PdXSz52A3RNcSAgr3PWehMzSq0CISB65fUe\nKbTduNSL09ofAuZBOwifPgknUKwbphGfTzbGbjxrsVCYzqOAcc6YH/Oi3FAA\naMPN6JBVrAzC4JusKfaI3EFcVCdFlnE65lGaunlrD5mHwrA7iaszETDGgZph\nHOHqSbh99UTsHeMFnj3sscxvRCUCu4H2P9bLoWprP0OSMUbaDFg9AuJ3fAd8\nkfDH48C3YOsUOslDesXYwheQYbTbMxTq7jIzq1/zVgeLqIQ27IDTSjZUUdkX\njU1L4MHV1lExNNHPjhiiUNvdu2/UBUM3Tw2SCwXzi5iHbPXholMYtxRpNbnQ\nENnJfLDxJxUJ+mIjchjf19K2jdzvByILqnluy6ltJ+Jm4NL1RineWvQyb3CK\nLley\r\n=1hUM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjekBgPCYfYY6rDNtaNBTgd7r18+XUeQH6t4PipvqYiwIgESk9yi+cwK16tpjqK+U/FrOj+QsiW1FwcdLu5c9SzA4="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-beta.2_1640040509933_0.06726293519640891"},"_hasShrinkwrap":false},"0.1.1-rc.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.1-rc.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.1-rc.0","@ganache/utils":"0.1.1-rc.0","@trufflesuite/uws-js-unofficial":"20.4.0-unofficial.2","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"7.2.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.5.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"b02135d151819b81667de25c4c3983784886438d","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.1.1-rc.0","_nodeVersion":"14.18.2","_npmVersion":"lerna/4.0.0/node@v14.18.2+x64 (linux)","dist":{"integrity":"sha512-HeEJVZmiltziUeME8RWsRhwVPnltHw7eyTpqOzHUTlWPUO9Wvh9yJa3KZHZXwrCY7cdmrw71/3Xn7VENCg/jxw==","shasum":"fadbe605163f69e513f2bd3ab2f4822d37380453","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.1-rc.0.tgz","fileCount":7,"unpackedSize":922257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh313LCRA9TVsSAnZWagAAkIUQAJ3Cc4bvHQQUokQZ4Nrr\nR1DzJo9J4ySxzFBjDupC3hLI/gBPkqTiZcWwYnVslRwEy8LXEGY0EBhOsvjX\nOoLpNx3Z+cDLzyCL4JM+G43o9tO+lQM3Bry8p20cjEVLQwcV7pDebCJNnijB\nK6+xI1Y5X4deKKGSG4K6YvJhsQXAC6uKVppQkC89YrH5T3TBphaY2vM8ZdIl\nXCBYKSJp9qP64Ykvnl9TVaDKPSDTEtIDFOvkSwi4wsN5kRYG8fV01Y3J2Heq\n8skMK7mBMfCemyPhU/NJxvJ5LqcLJ3ye/dc8FJ/r82MsDuu4zU7MDcwVaLL7\nR37BATUQOaUVTdwhP2n9yK2WRse++zoOU+h7ffDx/xAGdeLZEmT9yGGz4D3+\ntiSan4Bolt95MglRigyD3TZuGHaPW7uA/QVoVe0RsUjOPecpQif7cknX9Dr1\nIR3j2degxYir98Rr5kgIOcaszfFk5aXhOSm/aXMAlvimZoWjAgwYdYIiGMxA\nmKA7MSjnaWzRriBjZIqALraRQ4WltkYYzloMjmNMgbvy1bXedUgb7EL670ke\nTgRek2Mu+midFeKohNllcL7335Ges9v12irSRfPgAsjx3WvJVz9I57ctabs4\nkZCE6gYCFztY8yTgi9rla9NT+lC6ntpToSUcsF4cgIOsoaxbadMtdKJj5Xni\ndVtS\r\n=7LcJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9GFKSgTGNZ/m/zVdnpIWSyYh/OtEeo5Yter40pCGuZQIgH6dPXJ62IzTOOpHvMDoy8yRkckiXbAy/+spVdfmrac8="}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.1-rc.0_1642028491647_0.4219722714145313"},"_hasShrinkwrap":false},"0.1.6":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.1.6","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.1.6","@ganache/utils":"0.1.6","@trufflesuite/uws-js-unofficial":"20.4.0-unofficial.5","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"7.2.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.5.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"3acc35e2e121e8ef2bcebbb3aa5eeec360fc58cf","_id":"@ganache/filecoin@0.1.6","_nodeVersion":"14.19.1","_npmVersion":"lerna/4.0.0/node@v14.19.1+x64 (linux)","dist":{"integrity":"sha512-/rsnmoZ/cKsOeNkfVu21bTQDU0qwUogzW7D6EeJn4DRlQoPxTB8XY9xUF3aJNJ76vFCoY1W/hCGdMhIfMCZ1zQ==","shasum":"54671356262ba2e613b48690c30094c065b5bf8b","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.1.6.tgz","fileCount":7,"unpackedSize":922328,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx2cTFEmdBPL4eyat8UFb7Bpd+99fc2m6bN0nY53xhfwIgcxQN40y4kzSLmhRzAf6sUje9RtZQYPzNfH3eoLpTmc0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiY0aDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoe2w/9HPQBzKwHzNWWBr9ty4a55+Pu9CN0nV5WXp0P3/oSZdKug3DB\r\n4tVJdcuKO8+6eWv700qxwN2+JtN2UBDx7LQb6jSRMxZMo6QH6G6a4FT2BaFJ\r\nGOWOZEGKX129+PAdmD/sCk+rv9sDqPQODuNWx/uJk/2k6ct2eB59DZUGk+JF\r\nwZypdXGt9SKskQQe6zNfQ/7vU47eTcKNVi+3wHpUhGa565emSe4A5YHlw+Ac\r\ny/UWpVWYuqMiiChAP8otCt+SPD1g5jMm9XgCGhI7Iu3QsztER5loiUnl0MJ2\r\nzcCyWSlj98rpMqeOJ1U1dngkoP2WDF+1vhvUCz3W1dljVia5nqeMQHWb15Tb\r\nYNKSpdfxC7UYqMC2W9O4rhNejaDovfnhByHaqxl2T2CDyl9ok7NsLP2BjHxF\r\nAXNoVGIPFNdvorzSc6B1ykLXOmemUDHcGZbohKoLOGpmNvNoRReqqoV85p0n\r\nwd1zEw0f1z+73aviT5Ic8TPLS7pj/BFWNqjNkhVSN8j2FmSYdWD3TL0lqB1G\r\nyUG7+VhnRaMTWhSPNVB/APF7xhxzFxeejecZpl55pI/Aov5vm3/2K58IwYZ5\r\nn+5Bj+3/Qny9aA5t8HRMTB5W/Z79WEQ1soJKeBC4Ix/oFOy1fQpPkLf4XcTt\r\nENViwg2uUV3Tk9+xBGkPatCo7B00jXThLMM=\r\n=prDz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.1.6_1650673283691_0.05333066641271733"},"_hasShrinkwrap":false},"0.2.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.2.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.2.0","@ganache/utils":"0.2.0","@trufflesuite/uws-js-unofficial":"20.4.0-unofficial.5","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/levelup":"4.3.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","abstract-leveldown":"7.2.0","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.5.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"b7db4f35eb7cdb683ffb20f285a3ffa423b90d6b","_id":"@ganache/filecoin@0.2.0","_nodeVersion":"14.19.1","_npmVersion":"lerna/4.0.0/node@v14.19.1+x64 (linux)","dist":{"integrity":"sha512-aEQJZHsFn5BoXTBUo/ZbCq+J5JtAKdDb1zjuk+cR/XL8bhoC871Npa2t7Kx8koMqo/dGGOJzK27KRNPzFm6cbQ==","shasum":"dcd8dc46113612a94e8d56a03e5cd30acbf97540","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.2.0.tgz","fileCount":7,"unpackedSize":922328,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFI7sJpeAlw9/33qqwlan+s1J0EIxuEAFk1+0NwWV6sQIhAItJDqAqbPuPWtGipK9P5v0hLfEfQ1bVJ4Pdqi3uPKox"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaq+3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbgA/9HWEhCGRBR0uZJb6aEueFf27X3boag61tNW0ybaKeJGhao1S8\r\nBiyRrpWb3Vd20keFG6ypEMqFu2/cD6Ca7WBB1bJAxv4/BPkF8Rf5+WQs3YNr\r\nx2zHTutv0q64sKqpafujtP9PNlR7ToBVzVGgu9u0ysMqWijbL0MYsg9Cc3FD\r\nCD9HUl2JO9jp3lFBtnmlRG9BT4ODgbOSVb56l8fHwtSVHoLkMRUC3yQ15MP3\r\nzkc0iyCUMbJmVpTv1iqQYpjMYOyo2wkD32uHOZwsww4gsaaftZwYosQiSEI/\r\n1T01/OyQLlLNmjzMczSPFeV/xFcAOixxE70foXOda1nOidzyuU3hIQpDJwe4\r\naw5/Iv07cDsklbAktkfzrUWF6XuhiAeZKDPYOrKJzrsxizCAQqERha0to0r4\r\nBH+RYXzXGGGl/rGUjOIA50BZl1olvBHmsus9pvLiCtXog4GWUTdb9baL5R0P\r\nxJ4UZ8hIzq1CFk5MLXzfxyJ55r6f7rfIKdiSigF4NY9DUO+y0O2/eExUUe/S\r\nVGCNRCEXKD521040G92yxh7BtojkmFV4AZQvG0Mwjlu89+xlcmd25+3d3a3J\r\n6bKEXOLSiTH6ZsSpmw7kGrqDNzqGR397Fbytxdl91edPUFpVYU1LdCMAFxAW\r\nfJSbQCqwH3FlzMGuJGmkA6xlWEIf9rF8eks=\r\n=hv12\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.2.0_1651158967052_0.15806543083629854"},"_hasShrinkwrap":false},"0.3.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.3.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.3.0","@ganache/utils":"0.3.0","@trufflesuite/uws-js-unofficial":"20.8.0-unofficial.0","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.5.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"8b6ca475dbace5eac62bdbeb0e528cdf72f68d2d","_id":"@ganache/filecoin@0.3.0","_nodeVersion":"14.19.2","_npmVersion":"lerna/4.0.0/node@v14.19.2+x64 (linux)","dist":{"integrity":"sha512-fIjvAZwLyMVTxQWmxmTAIb7zZgLQU4Q0dJuHn8sbgy+uIaknAaWSkDh6ebxO61SZK6KuF40uOTHLw56QuYNFRg==","shasum":"dfbe5bfaaa0d85d28a2f1fdcbc8cb35ff6302535","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.3.0.tgz","fileCount":7,"unpackedSize":922385,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+3o4j9OTdQRbnKJ5rX9j0ccPKB00FpqB3FbKEWRpQHgIhAM7ZwPUDAgd9MIWQAU7ndvWeSGbTaa+fZJ7jzOtuS3vm"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJih//aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCzw//SgZ8T2ye/zATSwXJG5RbKhR8OCz+aJe8kx35jJtC4b8Zfqie\r\nPDbAcWQvYnRw7wZ1rI0DCzKOLJWF7U6cGLWE05px7+gfWV1f3TEuJviWTAHi\r\n4YHb0u6j0hKOxegQxcFjbtsCrs5iIv2KxE3WX7PPeLI6M3oJBvmJOKCNblnc\r\n5+uC1WtNLtj994PdE4R5YmK6S1AK1RNhzUd0aaSOW0Hk3SfQSwYL3na9xBZB\r\nU3pbf/MYSY+pk5LSNdAGUPPHUIsfRdEhORrfz4cpvPiAH6kfpngju97kc/Rf\r\nWnQIWmUAZ/Jau8Mz6uAJobm6JC1p4ilFzCUo9uTKhR7FXVZU3ToW3eMGPeP3\r\n6ooLSN7ECI930a2MKk080Wez7Ax0sHWP/Wc1trsg+mU2uN3dGS6ifAcvhUDr\r\nG8JkiErNhN6gd+XUPjHDnZLfQWEkVpt7Boe7In+ASZvAOUJqF2nCjr4wwb1K\r\nIWKdJywmIQUm/b+W6HzpLLzUiaSEs6qB6MygyBiIpv4dVJxgaal8kkZAm4IN\r\nzmRQP4tODXzKIsa5/Q0/gEXvOqNBTboRWUEz8KNcSNaNjQUXMIronKszaP5x\r\nG1Ek2SzSGtZXGlHtgVSPCfzkJtvnXZOPnYBMBZ25LTUDkV3fHcu7xdnzVUJs\r\n8Gjetmqfx7T8PIJzFGqCc916s+Rwr7nR9R0=\r\n=fCvk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.3.0_1653080026118_0.004916518024314476"},"_hasShrinkwrap":false},"0.4.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.4.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.4.0","@ganache/utils":"0.4.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.0","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"9416c03726a44b5ee81f16293a6f7dcc38e6854e","_id":"@ganache/filecoin@0.4.0","_nodeVersion":"14.19.3","_npmVersion":"lerna/4.0.0/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-xuiM3PqzThqoqBMYtB2jNyXgePSZSr8itUPuDANL67uzMim5rof1JE7l40Q52ssihvrVYfnScEUsOG86udDDzg==","shasum":"2cea95f04bac9037da625b162ccec4cd8c14ad28","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.4.0.tgz","fileCount":7,"unpackedSize":923192,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDXzDal4wXWl+E2yeq55m//e+zDwBGjeW/tNHATcNYlpAiALo3KyFUMObtvlsf7CnKtyhMS5gc7mh9Sfdy5HblY47w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiomD3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqxVA/+JRTA+rumRA6DMddSpM+ZRoQr8KTPpp2652+x1O6e55pp4Hkb\r\nnlPDQz9CZzzh0sPr641JThOCZwIoWxe1KtdMp67JhH8MGkBfSw54HWBTeZlG\r\n4Bn+oiw6LLhJS12W1406KTAenJ1oF6Xgkq3Q1p1vAmsLQ9ro5lb0j7amLnYR\r\nBc/gEnrxtSaoVw8MpqmPwHhxtonhYqKE1PVFTmJpB0bkoSfdFQbBfxW4LUvh\r\nPs3LMSmxK1ry7LIOPiVPxYNCx0kGu5oPVzmsGUfHU73sIsQraarMZauC7LBd\r\nnAlE/FGvEwnOhKWBxj+C7G4wz2ofh/OxQMCHz6c3vulLgyGIJ2xDquTXsUSf\r\nZrS+gh06r2OUEwYKJKfCB9b4M3hQa98SzNtyhiH5JUUjprhXfqWeXMoWWlHH\r\n9767tbZHveWMdrRolKWFfyX/aT03Cqm2eRy2QmnL+gg+/F5OCNkgmqkQ7ECp\r\nMGV3k5w3mFnE7PNeU72gGQ/plbioc4Qyz0KX9BuyTAXXz7DXFXxgfDP9jEeW\r\nUIOabvLWZaNgikmXDRpNbZUy/n3naBzugzgVNw8XR4N9kwpJvytq0nxsH1Xe\r\nDnwwzCVR81xGNolsyODKHC7gXa1hjR5AXvB97COZwFLXtzZsx+a7cvKzudbA\r\nw4Sh27Btb2yo86/+0lEUbVUw3YfrRO3Zh0Y=\r\n=dNDr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.4.0_1654808823748_0.45358585703294163"},"_hasShrinkwrap":false},"0.4.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.4.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.4.1","@ganache/utils":"0.4.1","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.0","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"6eeaf3addc8a9f9b8c1a7c7625f4bb3f7d488b29","_id":"@ganache/filecoin@0.4.1","_nodeVersion":"14.19.3","_npmVersion":"lerna/4.0.0/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-VLrARTs7JwZzEw4hVO4I/9/VA0uA93/A1ax+07X2aMidNEikWbbRFguRMzpI+jda68VxaJPLsW+9p55+eEa5wQ==","shasum":"34878d34e7a927475493b2abf7e2c88f6b16b59e","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.4.1.tgz","fileCount":7,"unpackedSize":924720,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAS/HZfpctWi1XCofT+4YYD5qwdKH5mpP3Nf9/o/tXQoAiEAxlVgfgbEaA2VM8WXoQc97kWhmzjO6Yiv5S9rf/RDNiI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirJg/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZ6w//Vu5v0jqjPRzrATC1s9zhql9O43YAMx0kDqA5139R1xMa1E2H\r\nKmpOz3y4MyqAjsj1UJpObdkW97hiw9LzGxc/3rG8Rq6EuH4OaUxpfa7OWqUq\r\nweRp3Rackb/75M16L0HenzLTa+CZaEliYh8lVGcj9Q0YGbIHCLoGHREJeRz7\r\n/AuxFHOEvhuhzcRmB2G7muimHgfv2FPvvz/xQTD0tXezii2dLCjMUk7IyH5V\r\nYR035Lh0r2s7E3PTHQyY0GQfUQTbh6xYdzIL0CEyEKCC/hVuLVdv9Bq3JbUE\r\nEhOqT9d1cFcVkITUghGUhRFNuoYmfAwrK4o9BnWg7FOsNxPkYEPIL5eZrULu\r\n0c+PH0t06Zl4ymT9ks7gbJr0wOAkvuRiYZd0w+fXG3+PERT71YlVLfx5sEGc\r\nBXf9mtyZN7nLZk1YXKacPEd6xENvNw5mPSIS5bceUemurd4kAwfhVpOtxdcP\r\n0g0fc7O4mxCMRUgjlGoP1q4UnfQfCc/pTjsIizu75/yeiOoEF26oQtDUvhYK\r\nxVM0hkZLuObE3DXGbhuJOwFB9qQ7eBCDPBGlxFm2tGqn487SUw8XqxFrCI48\r\nOVIu9u0r/li2UaAbNrhiTpowYTeWvJJ0Eg90ydAnfgt0xeSU/PV8SdyhyBPj\r\n3kmxOr3uoHplzbF1qLRqV8FsXSflBMR9URo=\r\n=79VZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.4.1_1655478335185_0.9840841209844085"},"_hasShrinkwrap":false},"0.4.2":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.4.2","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.4.2","@ganache/utils":"0.4.2","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"f2af451c420826610379b72d1bdacb8d5ca60cd4","_id":"@ganache/filecoin@0.4.2","_nodeVersion":"14.19.3","_npmVersion":"lerna/4.0.0/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-F8nuAjl7uFwQN32Ji+l/CPwvKyV/NyR1xNliiAyOUgX2DUQ8caTFzJwXdVNTv2JyEGZ6sX61D5g8qssSx0v4qA==","shasum":"b27a711cc44eea7b53a836eabad0af25085aa43f","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.4.2.tgz","fileCount":7,"unpackedSize":924804,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIvzd0imkRODzeYW7CMv62k8/KcrtKrPnwsrtWCxpXSgIhAPu+kL1u/5ifMdHN7fjY0aar7cC3aKZzvwd4p0nT6jbC"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitiPHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqkQ/+K1iKQEpaSKjXHKLxWRhsy6iH7D/rmrv3LgJNWMl7Ms3DJ3Er\r\nlKUNwov4PzeIuBGlXjcdsAby2N/oRz6BJWELajWT4NGNhVQFCnMLsq4Kyr0r\r\nTUfKon0qgYe1nVkr6DTAK60SpFKJS/ZCAUdDDcF2OMIBiy8DkDuMCehCKeBo\r\nKxK+OF/KSV7WgR0wuN1bo4ro2kDfpZZGblnaaa4PzkNf6rK7JWtMrC83ePrN\r\nYwcgbUdlUd880dYCwHmP5EQFFOEx5cyXVpQ8KO1qlTt/W+Q8dqJpQuCJMW69\r\nCPSCOpv4Vr6Kl8ZWaSkuRtjIkNt28+P2x0QXL5oHUK6c7ROCFxLe7mTuhN+1\r\ntYwbpD0Rvmq/+gh+H7O8sqPB+T8M7sZNy866Ew7v6ELRD0Mg0pwUYYJ0+5+I\r\nKIRzW/Yl0VRCE9TXmindm5UGJagPbHcmbzNU1OlTtFMp9IdTkf6+YnD0zmZZ\r\nqfdTYlRISkCKWXrVBcX+9Msl59iBj5qASn3fJN7ZHyAevHIfZv/LrzlzX+tW\r\n+97mwE11k2qetwzgqHjfAeYl0ZWSCe0tJkv46Nq073vJ6az4cTzdt2mVvx9x\r\nHtqqYdihbwf0N6VbZJzNoDsgK2QODAO3jdpPaKvcNIszgoS/syjJU0ciPVoR\r\nYc/BhDZ1Th5cmTuQiIKZagGBbUhsMN6VN1Y=\r\n=KD0j\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.4.2_1656103879461_0.9174864426722567"},"_hasShrinkwrap":false},"0.5.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.0","@ganache/utils":"0.5.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"4bac7d8c5023e7520759ffb4083a4425b30a3dff","_id":"@ganache/filecoin@0.5.0","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-agDUuyFRzDUguQ6Z8HPKBcKGOJGBeiNyQ1OWa5GoCypdYCFg7iwkur1ZQhPWOiDvFryQaeSsRRniM/mGUDzvjQ==","shasum":"ab02ef1b10a7c50570b017512d7dddeb7118ae58","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.0.tgz","fileCount":7,"unpackedSize":924802,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCkkUG9imZisVnQkKr8q2xIbRTKOIbuFg7iLHdDF8dugIgSEnj9mso6ZENqFHJthCpNGbkUvjoNtDytbIgcqQhdG4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4ZU7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpx+w//bEvhO9JEKTYDttYpCTCTojSoCi0nLbNWCji8CJEEbo+losZV\r\nX/mgwYK6ME289SinjpofoJ4f/xxTVyeeC39GZ5FmPWrmG0N6410s21N5KACn\r\n6h51Hfylwh1ln7GqWLaajKMC+++av42PTZ7cbUXB/s3p7pMG2Tb4QLMSLMIS\r\n1BS8FJudn5T9wIscKy1kZqd+6CQWoqXeoGRYKcBetiJLNt+iD6i3lF2SVSps\r\nrsrFivXo+AV81xzsBqw66HJGO3I8iTRjW3wwaVRE7/pKluaGNKTyXxRvf7JK\r\nwSKVhjH2lCDOZ3Fq+pr1pdf+4DhP6wQ4WbsV8Y7JcBVyeL8sc/4ye286cv3K\r\n5BYkuPPeM8jo6a1gPhraPPZ4ijXE22e8rAUiKjcXBmYXj+ijnCcfWEDf3BUQ\r\nda4QEtcFRJI4KD3q0juXd2dEumggpXfsFAf8rMBtCrC8+5r/GvAi8Ymeks6O\r\neAc82wdS9Mwscar4P7vZS0oRWhy0JI/NnvR0IYEoMA9bLPbvOs1ypFWhB+S7\r\nbv1xCnOUAS+hwli7Fs9brHQvAeELrr9C7Ggb0yu1qUud2beknz85Gnj2NVG3\r\nnafL0+IycxWucCrbMpMmE9LyZq1XQ32GDby4NmNqSRpuSPntCwMarXboyhIv\r\nEQH9iCZON7uEL197pS8oIzRSNN2v/iKJpIE=\r\n=AzS3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.0_1658950971517_0.2093264553766916"},"_hasShrinkwrap":false},"0.5.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.2"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.1","@ganache/utils":"0.5.1","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.1.0","bn.js":"5.1.2","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"3a74e07ea9a90ec7d6749cfad5703d679ba0dac1","_id":"@ganache/filecoin@0.5.1","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-uZ4na/dCIbbfKZETM5OQW/Nu/rG9MGLiK8sgJzBNo3dCwtLWA/jNjehXT5ShVt2Vbjv70iov0tb1/rOYYtxQsg==","shasum":"3e5aa5970fbdafc85b276e273500e3b73c5d16f5","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.1.tgz","fileCount":7,"unpackedSize":924802,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEP6/c11Z1IA3bDZDai722UWA0XeJGP1M626V3XIdPK+AiBWMDFZUH102ldOYaU9EH3LiYC1pLU5hjSdsIurlktBEQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+qo5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpG6A/9HzFW8v5K2FSOxmb+1AL3cacsmzA5S/obzKVQsQ7cPgzbN9w7\r\nYQNOO1vL5evFxG8spjLhDG/iy5lmqEvQ8lN5Q8H4oFVK7eo+lh71CaN8k+hs\r\nX0vXGwipmVtDHc1vUDreqRX95iWa1onGD3AJqUt1700tBW4875KV3uJNkfv2\r\n3dn4QyPjUePFAZSQ6jV0DUEMg4wRQUVIWWkonhFYVOqU3giQNub3Qhtz1Par\r\nPbGfEbKK9hTe74Lrm+bkPn0pr03ZWa6xqfg3V4GV2AdF57gzm+cxEi41z36u\r\nOsQ+a4HGATuJVbNghPddwOz4Ef/9OyeeQ3TQF6+htDt60f3IgL+sla84JIyx\r\nnGVtre+2G2ih+qbyUpZaZ7XojqlBOz3QmeqNcNdr+NQhPo2DvSUpSkM/4Awa\r\n0ppTc6Wt9VpBD5lhZPiu5req+40YkXvDYS7XitLM4/evXWwoTVtPy7tJEjS2\r\nJtyxcJinf6c/JXvT2VWbN4EG1OQHLmB0N8gmQaRqLcanv2cckMglWG3dJnIZ\r\ntSccYO7sZsy4At7LbZwAm3otDGkAroBZDv5tqAIFDUnUlK6W1EqeE1Nrcxlj\r\nhnBkk+tMWSr2uxk8Z8f11b5OogqRpU37nOc2bwJLk6x8zdzZjBPtUDkCaIdr\r\nZnMYjec6ZL5h2WuCc81MjwlGiO9QiSNvJZI=\r\n=22jI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.1_1660594744834_0.6557006639161231"},"_hasShrinkwrap":false},"0.5.2-alpha.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.2-alpha.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.2-alpha.0","@ganache/utils":"0.5.2-alpha.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"6529960b2426df095394b426bc998f4236140053","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.5.2-alpha.0","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-fG9ZI8RFIAEJCQm2b4PJf/l7WjuLfUESrUT2oqzzd+6k96oFd5F2F9OrqF7gJjsiGYsfGouzIb69qdn93dfE1w==","shasum":"6be566908c029a794155c175622288a2f2002ddd","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.2-alpha.0.tgz","fileCount":7,"unpackedSize":925929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+xjlSq+MbZWq/d7YLKbWPv7/w8e+DCIEFhgIBTtVd6AIhAINmSLTusaHEZXR5FhnT1Z0pLzzmbPF2fucG4VRYABn3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCOomACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNng/+J7mU1lsL0JQsdqvNQlfixWnQ+pkhWJLl/ue78vle6Yd0QU4a\r\nZI4ULqWws4V/HEYuHPi6adcT3QP0CG+7VV9I7varRSBm4KyMdzcSX8WsWBLj\r\nRF3v1TPwvlNnjIJqyfX+LRPReywB+xa2dt+Qw2yQmJO/VIlOloegVzuZRVMp\r\nVBb8ZyzTHX88KAT/WfJQ4rpH1HgUZfpxppZ+Hk3WYTtlcnRHzaHr43mLlH9G\r\ntYIMfhqeEIystkslRmuQE4mVmVwGTgyWy+A7l4AHaknC1KO6QWwWANfAbdSF\r\nrQFgZDli/btBXWdk8U0Pv94escmPRxn2lw9VRo1tdSmcbvSaNmyABb0GYwa7\r\nbX4RO0GR+4cHaR0jujZinkq1dS6xMDKxzlYIE+AsaCzdODV65V2NuffFmqcS\r\nJ615+4Jwx+UIzBQVxm9RvfO3uAbN0LAFdFO80T9qJ0ALDWxchEO8PNzTJQRm\r\ngoIcgc7ydRHI0pv/sxSq7eGlKs2y8DL2trLK/wE+MMkVOEaNpehTolJMWlEP\r\n6Tb2B9RPsbwfcZ/7vV5OBz1wCOIXcxmtC0d9SMJXzAhZdRlStF+NEFsKX0JM\r\nrPncLiauU1xg0PosqsyYBoiGZUspYBFbqZPoDZQW0FNbnKoobvaZwKRbsvgR\r\nQlidH1AxCPERw8/VCUUCvCZACT3+tM0S2rs=\r\n=yN8d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.2-alpha.0_1661528614104_0.4281599504018385"},"_hasShrinkwrap":false},"0.5.2-alpha.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.2-alpha.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.2-alpha.1","@ganache/utils":"0.5.2-alpha.1","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"86fc1ffd5cb8889a36a3f78fb3d60c9ff89aeeb4","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.5.2-alpha.1","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-PAfOtazKSAMpC3rxfpE19OQoMw986OtptBlYgfuzEqlDaYkXl6db7CddTLk2vGeau5k/j0COQ3SMKzu6Iqk2uA==","shasum":"8733cae198e77cc4292f11596ad4618c1c65f4cd","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.2-alpha.1.tgz","fileCount":7,"unpackedSize":925929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAeSCd5FD6mPKD46TkTN9E+fFeGedyHn6OAxM3vdGCcOAiEAwqfwvQojzVzLismXxc2SVIi4CqGoFyODBdZNnO2DqwY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF5QxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwdhAAlHIIYhErl/M4D6OM4hqGZV7BE/81ieYAFeCVztcAY5gsye/6\r\nXXRp7BwSSTwj13SRBP/Oy2DsBkpkv8qGfLQBPmKNklU0nB4lKcVkYtdb1x3A\r\nN3TmfFFoZX5HwJqlYtnXCifmnIRGyI1PiHW71ezXVlOVWNUz2/yl7BcRASAP\r\nQbNy5PgM3djDlUsYD3LyDnT9zeGh51kqZjgoou5mg3gqIRtMxziHK+7fenU8\r\nqO4p1GBS+t7i9sY3EIIzE+AKZBRUT/tLf6H0Hckgesk0iRoK4AAAAVCdHR83\r\nzTv327+tb584QPKl9lsRwps8/IUuXL4ygE5X5Bfe9V8S8X/NOq8mWfjYQAC3\r\ngft3MseFPmQ7yWddH2/BCi05g+tEP6xqT1VI/1f3x77B/P7lL//Yzr96ogNr\r\nWy48JDMw2xHWKl9uul2+gvNBRuks9jkrmVykJ0gvPXtr9sbGIOoXcB7fyCep\r\nAoWjHEcQXySZG/4e0HLNM3GnYN1LqwY7F/vpA+/Q1+y0paY1t0X8s1SN3Z9b\r\n+t2KKPJ83qugEEOWNSvmSTHkLRticZD0STUtgYAeR8Pzo5qPsj6Q20Gn9zpf\r\nUwtzJfvmrv26l6Y0QAjzWUNfgTkuDRmxyXwb03KpTLPYO4V1I6bpGVrDKwzU\r\n2SD+xrQry/QFeVMjn4Yt1AWxMxyRNnf/Nvs=\r\n=MGBk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.2-alpha.1_1662489649193_0.6522274422071626"},"_hasShrinkwrap":false},"0.5.2-alpha.3":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.2-alpha.3","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.2-alpha.2","@ganache/utils":"0.5.2-alpha.2","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"bec1d7f374b760b2873e16a09849769e4a4386a9","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.5.2-alpha.3","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-JSUdvUmY3vQf6vYyiZgGILpJdOa44WSCQsqH86pT7cz1rRlnvT+PDWjpRiyMjDcKmg9eFARFjYrQuXCL+5fSow==","shasum":"2ad988bbdf544d9aeee7a6f10f7c483b35fdb325","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.2-alpha.3.tgz","fileCount":7,"unpackedSize":925929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMh686cnVB9vOV/WjD599kJuqSOdg0pn6enUjjdfWCBAiB7vqRUbVqG4WbDW/sCiHmjlCb6sXPzsMxbg2HIDan8ew=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF6yDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCqw/+KETdzDMomYnHWU6EO6qDiGJB66QgH19iT7jpPGHZFxCbw+l6\r\nGuFibzhMwh2kFkFZWp4ZBQjNu8gd+FFX3VXNObb9DTIHzxN7cLC3pvXYJ7Q5\r\nya7x8IFD0WkK76SNLD9rpQs9JhmzrBu9zefx9x2Bh7tXxym6UpvRBGPHFVjZ\r\nMv0pj5qEGiQ/yjnCuX7m4cB1gijZ4G+oEUrxcr4DDKuh5gAkxFjZFHK2IuQC\r\n4Jm8dkTTF0f61c5AUK8tEtqQ7XfAWPruEp5OlDT7vbP+gN60gXF9FDASfvDY\r\n0XkDhSi7aDr7DHuiSa7vTjfGz2iM7jWJK6q6Fdk7CMqZco9lFosuYb/D8Bdz\r\nbEql7OOppRJIhWgn6HIvbhnXvyfrJJmJOEo+NXDJgNV5bnIZhu1lF8Pxc2f0\r\n90uqHMKAXDaFJ0IEnysBd495WK7ZlBuYqB3PYlOeRUcAGG4Y4PN1n3mhVDq9\r\nprZ1xJN0HIM3g56mV8rgjGuliNYYceLBsehyJId12WqAUhGTK4jBPBAHEMqJ\r\nFsKDA2EeZgxuNJ1/BogX+9EnqshZ64LMqEJRUhUJ2of3d+pN1mDW1FJtszgO\r\nFgwiPT0qGHTUqFij84RcQ8Ezy2oUZ562r87aoSv8J5J/lcdbXYmaUf6JLu23\r\nRDK3Vw8Iu+rrqwFpjzaoYDJICetuDn0wwGI=\r\n=8bTA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.2-alpha.3_1662495875722_0.7756335737486373"},"_hasShrinkwrap":false},"0.5.2":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.2","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.2","@ganache/utils":"0.5.2","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"e4722fe1f1755d34be17eb13f998c5f874647933","_id":"@ganache/filecoin@0.5.2","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-k5qVjt0jC92pb7JeSukVnX479pP42SW8YRcPYnIaR8b5/9jmq6pVAZ4jmgf/uCv7CTnK/htdP7tXzk212Jnlxw==","shasum":"54e83374db4e70883fa72efa4fa527db7dfc3d31","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.2.tgz","fileCount":7,"unpackedSize":925905,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWviu1/UOAAms/4V3cgA+MxBmaAJgC+Fg0i5QWn4xkLAiEAlmt5i7ME4X4nv3h4NTKQxgfLx9CovQNnaFI/uPGlRgo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGLvBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpktRAAnCIAwg0KcWjqlwVbsZzM+Nrp/kFJHUd1fY+1SEQFHtRk2u/E\r\n31HrarG3FgJJDi0GxC9vMKomNFZU37Ckg0oBLzomx1IYD7o8d7qhpm9q1iqh\r\nLkEs3k1LmrpD5yEJVbtv3FeC+eUp8MbeNuaUFMe6g5lC2Q0ES3VGFa+6Re2R\r\nJCn9INxkNXc/OG7ac/iFVqGo8iLUti/RwAaqBbvGg9G8V3EDlv+MQ9oob5RA\r\nKNpNxNyFeBrz4yEfHu2RRbux24yPW31qm9kYicvoWdzWkzGD0vCvPqXQ9gQ6\r\nQWDwDzHn8gqUwgiZqZzzW9q+ZY1CymJ+yS9A8E+XNZFA/WGvxAnXvZwNMUFX\r\nESVI4fI423E7BiiBb1JbffgGhn/e3FTxee6ziBgvB309ZUG49LBihzbTtRj2\r\ngn8IXwYTX0m7Za8IitEjHAUIwL+TLLibCzvsLdEwkwEjm6/Dse7y/SZoJFPQ\r\nSXaJSEcqEzjkBzf5Y9bkCxP9RTNWPy9y+Ixr2UHhG5Xk9/Moec/iok1ZXklv\r\nxDr53h0qMN38I9l6v2P4nBOYGjRKxGlGYyHPH3SEcD+STfRLAPQ9IUWe+DpU\r\nKo7EHHojKGlfU4BHmyfYu4q4JbKHwAgNmgt8z+NWs1xMNhmrKues8yvHqzeJ\r\nrdeOzYTRGm/ICQXGVHDhrkk3LDiIKrO0PyA=\r\n=3Hpt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.2_1662565313423_0.29137189845717315"},"_hasShrinkwrap":false},"0.5.3-alpha.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.3-alpha.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <14.0.0 || >=14.0.1 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.3-alpha.0","@ganache/utils":"0.5.3-alpha.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.3.1","ts-node":"10.9.1","typedoc":"0.22.10","typescript":"4.7.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"c62e6fdd944db54143e3e0b57fb1643148d85682","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally with the `filecoin` tag (note that we're **not** installing the old `ganache-cli` package)\n   ```bash\n   npm install --global ganache@filecoin\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache@filecoin\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md","_id":"@ganache/filecoin@0.5.3-alpha.0","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-HrVbH+YEiaiOuAwEI30oHDksZp9u3fsqzO0sBZvBm05vH6XF43dg3Sg8bG42zZvWMaJRVxOqht3WtURE3l7rxQ==","shasum":"a676918aaab1f76199eded63114b15999bc8c74c","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.3-alpha.0.tgz","fileCount":7,"unpackedSize":925957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO4D1g9BPAV69yhd23iXlprrKSfd4uyd2VpVPgvuOcuAIgeaMhyf5pgDU41jFX+qBIFpj3lE/oEZiauoNAdPBTT5U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLi1zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYaQ//aF1fxz/IwZqa1idDnJZImCEQFIptH1FaJmXdBCTM+c1TFUHu\r\nGKRoWoeb8qEyIoDmzboilBBkUwl/Fqk6ebwKanA6tVx8lYE125QNFgMkaUlH\r\np8tkLXce0/eLqOX69XpEiCiMW3ld7d12/Sao6hSHt1knolM0x9ams5IsLW7H\r\n4DuL/STtMmFdvD9SqgoOtocyYCK3n8D7wZHPeY796KhbJEzDjya/YXAAhMQf\r\nabaxGF5Y9jFqmGdSEK3GRxAQrWB8DVigCQkq/uO40FoSf+nv7P8e+P3LETQK\r\nQr4XPqpoXBkBqu7EFrhsK7NRkOwaPXGWm8F97Q5ZakX+vw7h16NIYY+SzHUB\r\nYsHvZSl8JwVwkQ8blXXHe5LufSsv92WhmakKRZvElSPGgtkMsC5O4q+PS+fY\r\nwiJCdL5m8LCH384flLYlVIu8hhWxZv5f+bDuitpz7ZuxpHHc/LsxwLu7fZ4V\r\n7nZljC9PthOLA4CbR2rGnSWaWpAVRdNU/fifS9XwkxlSIQ/Qk/N3eEGeIj7Q\r\nA74B7oqjc8LDPzviwMOdEvnywwlyOn+iOPVEwyc++OcNWtP2/tJbMn2lBJFZ\r\nJAzphHNy8BReQE7jVUbPA0xY5y3IVh50qmIZkVxewPlN3EPfonfsNaXHHoKe\r\nusAzl61a0Ac/Z9e1szKVeBEHRIi8ouMTcqI=\r\n=Zxir\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.3-alpha.0_1663970675214_0.49106426037334927"},"_hasShrinkwrap":false},"0.5.3":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.5.3","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.5.3","@ganache/utils":"0.5.3","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"5d5dad3ba59d515799c7d48c6aa4e995e8747638","_id":"@ganache/filecoin@0.5.3","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-1w6IbwMnpB/Ini/j6w96tcBS+1jQsinI4axcET4nTTjx+q1DLuDuUDbL7A9RMiA3dofxTG9befbUGkuuvmWtLQ==","shasum":"f6f03188aeb1728cba2d4d62f03adc515c5e1092","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.5.3.tgz","fileCount":7,"unpackedSize":925905,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7QVSpZflD3h8ScAPhxCVc4F7c8AM8ie3Uf4S6QjNLvgIhAL4gZU2YQCZBkzFoC2sENIlHAYTnIHQNQDK/peAEZ8cS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPeVcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq65hAAneA9lxpjhR8kwxmcWwH5UW5tBmzTUpIQge2ZnZdA79NRFETY\r\n8S8AsbGszBkcTD9w+kAeLBXR4mJa96mGSHh/3no2il+rchwRfWTwRuit2oBn\r\nHFl8PZOjtb4Ppgvr3yRIZ248eCu8ymsrjf7ApfXQ8pIyHW0P9zSm3wkfBiZ6\r\nb2DoMHMoOSr71lfhPATOEylDAyCiAaKVcTKuDQPpui9sorsmKuUTC73JyzbS\r\nwEOtTeJDF61Uu/D7/GmcVa2t+fCJpgbOj7pxzWb6UyvxjIlvEvDTKKwQJLBy\r\nphHtUees5bsbmfW44iBlLVai2wjX0iX43Qu4b7hDnrTAKmY9c0JrECIMasC0\r\n692XfB0dc/zy9/oLLqI0uwzC2JkGXhcOdMs+PgwRhvtlmTXN7AIqlKEpZzfv\r\nwyda88Y64QKUAhZ9k276EIdJ3tmCCTWBzfhEUdSN2G8Az2F92zkBUMSjJ5p9\r\nKLx15jtFgA+pfaXqN/tUfMYaQ0s1Xd9PxBuFjWXOWSfTqp9GpVoubb/dzysp\r\nLUrPjPcRogSnN3uZwNUlHORrL3MxQ3Qwfzd8haGejM5FEVqADAZ8R7Stjzy2\r\nwHtauYtbPEz+pcfE61gD/Mrv8vMzIFZuJXYchS/pnJSxxmLZUMFumTTNzrKM\r\nj85ox2mJmjtYU0zngcOs28ENWNkE098JyA0=\r\n=0a53\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.5.3_1665000795870_0.6612578490981489"},"_hasShrinkwrap":false},"0.6.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.6.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.6.0","@ganache/utils":"0.6.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.2.6","ts-node":"10.4.0","typedoc":"0.22.10","typescript":"4.6.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"d8cfb81e279993ea6b2fc0f70854cac8a56aa706","_id":"@ganache/filecoin@0.6.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-8icLx+D0hWl0T3c7RmtxHgtI++fsO0Q6N/6cjBn+MfVgeUlN5Sl2dXh8u+G/j6Qjv1BuRJlBbWpfSPo0C3Ev5Q==","shasum":"98f974346f28bfdca7cd28b11af75afc83b166eb","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.6.0.tgz","fileCount":7,"unpackedSize":926095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+0VALVb3330gdWD0xCMpE5ru9Jg6C2wF4g3eXUY5vEQIhANxT9513C938fqEvpj5C6OGV78QIMnGnlQeBvHb6ueaJ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWD1EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM2Q/+OQk4qNhMqepaPGzF5x34xx7RpVHDDycSGQWiiJqxqcJsulQb\r\njzLcKetf5eQg3tXktPpLtOfArOK236GD4JiRpZXYocDTYMqkWelY+8TIFDsh\r\nrzlxkBydFHrEbLE+96drlRbpQR6dJJQkWnPRsrFV4v/02QEGaKJm9hi4Unw7\r\n/3/B19rM6LEqwH17yVkguo60iNJTjibym8c7gwFI+HaupfZWq/VdnoybfyUv\r\nSGJ3eSOpNJi7XINo8RSHLTF4c+spqcXcGzso1K5W62aKl/VQtsLlGc0L8rlv\r\nhgW1J4e/0P1HshzWG1A/RKjaVtvXvhS897SPGuvNpUcdo8TnV6StgKRb0LH6\r\n0kCPdbOz+uarzc7kZGZXBDpeaEZ/6ZQNwEU/ppim0E0gzX1sFvpAmgaTign0\r\nXKS34TWdkD6rJ/GR3+867sJIFEzUzS+lfRwIWfpDsv+fZla0K5RP/ox5eZYz\r\no0mEY3E7uoetWGZ3B4wt3JTySGYfAxga7rZMu4IFupIs2WwWTdchroHWhciE\r\n8yg7fIwvtCDSTewJVycmNDWXjTpJywdLyM09wbx75Xs5d8YOruP/k+w+WJfR\r\nSfrjjY9tUR9rqj6sR54DYVcry1+oKiw2kXOarJbJtL4CeoYesc4JI48PGVZy\r\nsnJnrqe6R/OaaWzWBxuXUB1UWfkSlDeGr0c=\r\n=m4VZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.6.0_1666727235696_0.38160458049667256"},"_hasShrinkwrap":false},"0.7.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.7.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <14.0.0 || >=14.0.1 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.7.0","@ganache/utils":"0.7.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.1","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.3.1","ts-node":"10.9.1","typedoc":"0.22.10","typescript":"4.7.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"5d4deb3e5fed45765e611b5ef4ada4e329e7365e","_id":"@ganache/filecoin@0.7.0","_nodeVersion":"14.21.1","_npmVersion":"lerna/4.0.0/node@v14.21.1+x64 (linux)","dist":{"integrity":"sha512-/ozCd5g4dbmfZmc0vY0HEKp0eMs5sjbWPGDsfY3nzX/Fo+wo5TJIFggYGlkMj0wbeefOyizJsXd3gkSHKDm/vA==","shasum":"ac2afd06b15ffaf4136d002cdd4e5641259bee7c","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.7.0.tgz","fileCount":7,"unpackedSize":1075332,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDM2ge4B4G+EytYbSfMoLm4Xu9HdPc5J/09jxff++EeCwIgItj4e2t4W67FK9Yaeq/7g62SlOVJtivKb5SZBChkxQE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm2bLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow7w//WNHVCzlYAx3P8G3ZhMn9zSPzGxWHspRBSkQ4hUndsQqFLdt7\r\ntZHuL+PjDAYB4QaMoZlhYymlW2aOdDLe07BpafGU/G/7qubd8SRLB1dan2Qg\r\nBdLUFUSB5TIsyKjv7PCi/3A5X8P5BnjP9rEsUuSOB0oCuadXaVhMFIV16rVY\r\ngKRwYDkeHhB/xjOxWXhhdnjznBl008Ujsx+kBN0E3+J2GWwazCYcnTeIVBi7\r\nTmiAAnKzKcoKwrskvEaSqOBN+r/+tH/0k/gV88AZNSzbvXJINAIb1q/ttoWH\r\nVKKs1RmsDrn5of27Pmb5t0Ad4xv79/0/lV+s2ZMBpwqFXorHwqRV0O1Sn/jt\r\n0uGdJtwyHoWZJVB3cluVJTw9XNrjCWZeVGUrg48MR7azlIvgLMhl26sTAgDg\r\nuRQYDVZcR217FusLBF4+Km2stz4bsirVEyiSZW31TBtM1mD4R2zt+UZEu0//\r\nWlFhIMmbMVVH6JiftID9RtWeKYaON/RT5CeKryU1/sWmaUSYFLQiFwNt8Xug\r\nf3fWFJFPX7DwhoxIFQInMew/YwjTr9LyxLji467EyHcMfLChDicRsJ69rXer\r\n53f4T6SkZ9CMHBnEBnPV20LicmCIM4TqaqOVg8PVW/FIQYmRolYhjSrEEvz/\r\nnIsLCkmZwDhEeBmhE5q9YPcN0NXvNz+cCRw=\r\n=iRi5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.7.0_1671128779561_0.1774910324060912"},"_hasShrinkwrap":false},"0.7.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.7.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <14.0.0 || >=14.0.1 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.7.1","@ganache/utils":"0.7.1","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.2","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.3.1","ts-node":"10.9.1","typedoc":"0.22.10","typescript":"4.7.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"533f002248ad58ae670a346883fc74031637bcf5","_id":"@ganache/filecoin@0.7.1","_nodeVersion":"14.21.2","_npmVersion":"lerna/4.0.0/node@v14.21.2+x64 (linux)","dist":{"integrity":"sha512-muDM5/eGTFSNTaoPfYl02RjQ8HRkvPjrYBv2KT4+wg/b9rJP1KpAPkI/Z/YzLAOgGI/X7S3g8ymYeHAN+IZNmw==","shasum":"79eaf74fa3603aaaac6b1e8ce0c1f6cc2378ddb2","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.7.1.tgz","fileCount":7,"unpackedSize":1075332,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpq6WjhvUP8C8SXBUDlTT/wzo5wt7NwE43267NPhx8ewIhAO8soafu4rKDNFM9RCrKUeSYRLm3DKe9Z587a8iZuVqg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2u37ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqITg/7BMMgzJjbEPNZtTiLrdj9F1GtpUKc50t/DThXCX3IilSyzd7J\r\nIj9RfOygrILqmW5KDWMKHS7kkNe009NYuwF9TlAd64orCoB9KO8ZebpcTcSl\r\nfa16kwyTNBFsfbAA7lwZ20O4U/dFaS9ttEJsVp5zvL3iGa4qvURo8lJY/thm\r\nBgf5BxZcPztR2vouvNQGjElrt6tV1VlUzvOwB0PElivvioU8koewPmdnbRyQ\r\novPAIE2RLfenSTtDzkORZq1weufrXN004Dq81a3ytxVkMnKQqrnH+Vq9HpeC\r\nXfK11YCHcgoJTCQksn5Jc9+DQ5HlMlGG4dzvsZFvw6sr0lYI3qd9/q+RU+K6\r\nBLiS3C9RB2iqPXxgy5weXeNlJ+R3/fSkgxhSuK6jayGPvvEFsfZv+LvW3gI6\r\nwPFjGLJK8tGLH1C3XxtqZvG39FqOhOIE4FErw+PFmtz8cndVYGYefch8Z+b5\r\nSCOJXWM9NhsiCp1HhGQjLUBuZxuJp7YPaT9ZDLZuWCV2R00F/PR96hY/xUsL\r\ngogFL7p82HP4/uEnjlgJ8JFjwIpbl5uLTv3E1Ly2P4xPPSxmcQbCo4uXXqwj\r\nBv/+JBWJFOJAdA0mPymmzBIKdiTx9AOkNLnvZpv/5QtV9MTLM90iOi8RL0Ob\r\n1woPXazSWyf4tWotWwMJ7f08up60ZNmgq9o=\r\n=PpPP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.7.1_1675292154627_0.6408488690838834"},"_hasShrinkwrap":false},"0.8.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.8.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <14.0.0 || >=14.0.1 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.8.0","@ganache/utils":"0.8.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.2","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.3.1","ts-node":"10.9.1","typedoc":"0.22.10","typescript":"4.7.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"7cba77c07030f113ddad4258fdf3dd0150f8bcbf","_id":"@ganache/filecoin@0.8.0","_nodeVersion":"14.21.3","_npmVersion":"lerna/4.0.0/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-LwAV4aRrz/E84n4rtEs+bngFDGhTG145ht/gStcncnGa5ZtxpzxDgGbdiNHkKo6SqGejK3F/qB7KcjChZt7yOw==","shasum":"71600e0c3ac80b3d8d9d86e4d891127abd6ed679","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.8.0.tgz","fileCount":7,"unpackedSize":1075403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx+14rJh/TAzjZN4kwKnYd68rqkFkhHjYGhyspDbxo9AIhANnNH9yDDiAZE7LWRdKQzWZ/MZkBThpDzgLtSNRQuBpa"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN0mJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8Eg//eVt8P6jAhUQ29h5xq/FGln9jkKcw+9tMoMjwoFQX4s3S4p7Y\r\nX62gAzhvUkTwNn61LJ0UlTf6uimcWVdQ6t+LHQLI/RR/oSBtTSLsjYjIpNBq\r\nEMbqxsISlIEzsV1W155c1w5QjzIhwNHAw3b8t2B/wOwaJ+S47gpsqJAgASyC\r\nLOwVQkN7iXA49MIDSg/tC3EhHjHPMCZb+uxGY4VrizcYADEmd9UR918AWgSy\r\n1a5aifie6dOQYW4yRpQGEjM7TWC4e1wUjWJhGpaCVhmVdfhnoxaxJ5n6v7I/\r\nKTqTx2zXAZHh7G1B+wJGsLKaJPWgmKSBN/cGmbaIokqESESlyA/SW8jgsA81\r\nAhCzBKa6AoUYipSos9ha8JrVHWUP0o31EnECMZiQ7NPZD/8S406dlO9uxG8N\r\nIP0x3phoA5XyB4F4+3LjzAEs2TFEQlCdzssT+vF4MADXaZ2Q8tM4DObxYXTD\r\n1dmpHsu2wm7cMmdXGUnFHrwtFZMuC0yJtcpQkM9Cs4q5d3xPwMiLByfCfYbN\r\nObbBit4Uf8w013eQJuQvig6shDCOKgb5jnYc28MiVBwNUWGRQsm/syvrZD8z\r\nwV2vU4k2+r8NYbVrq3F06suEOmsCJBwpvO7MTxUWzeOwXuWQSfv5pBnewiXS\r\nkZJt13OmmNPLRXQJ1kGVKMwj5oQB5zkrb4A=\r\n=Rd1Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.8.0_1681344905095_0.06690250512826168"},"_hasShrinkwrap":false},"0.9.0":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.9.0","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <14.0.0 || >=14.0.1 <17.0.0","npm":">=6.14.4"},"main":"lib/index.js","typings":"typings","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"ts-node-cwd ../../../../scripts/require-engines.ts || nyc --reporter lcov npm run mocha","mocha":"ts-node-cwd ../../../../scripts/require-engines.ts || cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","leveldown":"6.1.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-provider-browser":"0.0.14","@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.9.0","@ganache/utils":"0.9.0","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.2","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/seedrandom":"3.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","seedrandom":"3.0.5","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.3.1","ts-node":"10.9.1","typedoc":"0.22.10","typescript":"4.7.4","webpack":"5.65.0","webpack-cli":"4.9.1","ws":"8.2.3"},"gitHead":"cb66fef410b40d628acfd97f32e6b300e6f9f562","_id":"@ganache/filecoin@0.9.0","_nodeVersion":"14.21.3","_npmVersion":"lerna/4.0.0/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-6PnMz2MTQE3r5JgMFkjxN6GacR4SBcGxseBsvxCV4rKU42XJFqFeN2JBCjtmkWQ1pY0T2k4sIG//eC3RU7svKg==","shasum":"debf414e36fd51ccef3b3294b828487d098617e7","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.9.0.tgz","fileCount":7,"unpackedSize":1076406,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoVUiciq8UuBN7H609kgm4j+zGhg7Rj3LwCnfJf1VihwIhAMecfIUBbYmMXyLFuhleBe+JkXzM6riEMngYdS1VhOuL"}]},"_npmUser":{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.9.0_1688592912032_0.9688533573244575"},"_hasShrinkwrap":false},"0.9.1":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.9.1","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <14.0.0 || >=14.0.1 <17.0.0","npm":">=6.14.4"},"main":"dist/node/ganache-filecoin.min.js","typings":"typings","source":"index.ts","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"nyc --reporter lcov npm run mocha","mocha":"cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"@trufflesuite/bigint-buffer":"1.1.10","ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","keccak":"3.0.2","leveldown":"6.1.0","node-pre-gyp":"0.17.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.9.1","@ganache/flavor":"0.10.1","@ganache/utils":"0.9.1","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.2","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cids":"1.1.7","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","fs-extra":"9.1.0","ganache":"7.9.1","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.3.1","ts-node":"10.9.1","typescript":"4.7.4","webpack":"5.65.0","webpack-cli":"4.9.1","webpack-merge":"5.8.0","ws":"8.2.3"},"gitHead":"ea5c5d04a7a16374ebd38143945ece6ec0da6683","_id":"@ganache/filecoin@0.9.1","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Qwatber/o0rSzj++xIpMBgR2np60u6xJ+7Tla0NTb38/ZL/KfqrCkkVpgPnHP3vpS9FHDQL1Jf/nmovoWINAZQ==","shasum":"205e35cbb2f0e30ac27e2eef65df37037c48a486","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.9.1.tgz","fileCount":7,"unpackedSize":5047447,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDyflKyRDsJ+fIkPVracbOPjbUFA9LN59g9t1pmjWdGAAiEA437LsMePLFPx3ROnMR9UPLDgtVgUJDK+dVsvBZh60aY="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.9.1_1692920996829_0.7953777412286172"},"_hasShrinkwrap":false},"0.9.2":{"name":"@ganache/filecoin","publishConfig":{"access":"public"},"version":"0.9.2","description":"Ganache's Filecoin client implementation","author":{"name":"Tim Coulter"},"homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","license":"MIT","engines":{"node":">=12.17.0 <14.0.0 || >=14.0.1 <17.0.0","npm":">=6.14.4"},"main":"dist/node/ganache-filecoin.min.js","typings":"typings","source":"index.ts","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"scripts":{"build":"webpack","tsc":"tsc --build","test":"nyc --reporter lcov npm run mocha","mocha":"cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.test.json mocha --timeout 60000 --no-parallel --exit --check-leaks --throw-deprecation --trace-warnings --require ts-node/register 'tests/**/*.test.ts'"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"dependencies":{"@trufflesuite/bigint-buffer":"1.1.10","ipfs":"0.52.3","ipfs-http-server":"0.1.4","ipld-dag-cbor":"0.17.0","keccak":"3.0.2","leveldown":"6.1.0","node-pre-gyp":"0.17.0","secp256k1":"4.0.3"},"devDependencies":{"@filecoin-shipyard/lotus-client-rpc":"0.2.0","@filecoin-shipyard/lotus-client-schema":"2.0.0","@ganache/filecoin-options":"0.9.2","@ganache/flavor":"0.10.1","@ganache/utils":"0.9.1","@trufflesuite/uws-js-unofficial":"20.10.0-unofficial.2","@types/abstract-leveldown":"7.2.0","@types/bn.js":"5.1.0","@types/deep-equal":"1.0.1","@types/encoding-down":"5.0.0","@types/levelup":"5.1.0","@types/lodash.clonedeep":"4.5.6","@types/mocha":"9.0.0","@types/secp256k1":"4.0.1","@types/terser-webpack-plugin":"5.0.2","@types/ws":"7.4.7","async-sema":"3.1.0","base32-encoding":"1.0.0","blakejs":"1.2.1","bn.js":"5.2.1","borc":"2.1.2","cids":"1.1.7","cross-env":"7.0.3","deep-equal":"2.0.3","emittery":"0.10.0","encoding-down":"7.1.0","fs-extra":"9.1.0","ganache":"7.9.1","ipfs-http-client":"48.1.3","levelup":"5.1.1","lodash.clonedeep":"4.5.0","mocha":"9.1.3","multicodec":"2.1.0","multihashing":"0.3.3","noble-bls12-381":"0.4.3","node-loader":"1.0.2","nyc":"15.1.0","subleveldown":"6.0.1","terser-webpack-plugin":"5.2.5","tmp-promise":"3.0.2","ts-loader":"9.3.1","ts-node":"10.9.1","typescript":"4.7.4","webpack":"5.65.0","webpack-cli":"4.9.1","webpack-merge":"5.8.0","ws":"8.2.3"},"gitHead":"24f54ea506bdfb6f96e8c566090c5326d13dade1","_id":"@ganache/filecoin@0.9.2","_nodeVersion":"16.20.1","_npmVersion":"lerna/4.0.0/node@v16.20.1+x64 (linux)","dist":{"integrity":"sha512-N6q1WHlt0eHjIE+k0rmuPxF8Q5btqohLOMB/K42w5ptZnClzRVF7cQ3+2H5rszTerJrYXlPt86KV00LTVks27A==","shasum":"04ffca38c08e49ca533b3990f17c170add9dee9c","tarball":"https://registry.npmjs.org/@ganache/filecoin/-/filecoin-0.9.2.tgz","fileCount":7,"unpackedSize":5047447,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSkq+AUIIzVQvNPqJA/8WvgsD0tfzpFDViPN+e8SJwAgIgDzw34UpXcSC2Tf6iwEhqZ5190KA3dP3X9CKbxYVdT40="}]},"_npmUser":{"name":"davidmurdoch","email":"david@davidmurdoch.com"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filecoin_0.9.2_1692924281708_0.13991310430251258"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-17T22:53:21.206Z","0.1.0":"2021-02-17T22:53:21.627Z","modified":"2023-08-25T00:44:42.240Z","0.1.1":"2021-03-01T20:25:03.618Z","0.1.2":"2021-03-08T20:54:56.313Z","0.1.3":"2021-03-23T19:05:28.269Z","0.1.4":"2021-03-31T21:09:04.684Z","0.1.5":"2021-04-02T23:45:57.447Z","0.1.6-internal.1326":"2021-07-09T01:04:46.961Z","0.1.6-internal.1327":"2021-07-09T01:12:43.687Z","0.1.6-internal.1328":"2021-07-09T01:23:08.733Z","0.1.6-internal.1330":"2021-08-03T14:07:53.927Z","0.1.6-internal.1332":"2021-08-03T14:27:58.041Z","0.1.6-internal.1333":"2021-08-03T14:43:42.908Z","0.1.6-internal.1334":"2021-08-03T15:08:02.673Z","0.1.6-internal.1338":"2021-08-03T16:27:29.800Z","0.1.6-internal.1339":"2021-08-03T17:11:04.817Z","0.1.6-internal.1341":"2021-08-03T17:27:21.576Z","0.1.1-internal.1":"2021-08-03T17:47:54.646Z","0.1.1-internal.0":"2021-08-03T18:26:38.092Z","0.1.1-canary.2":"2021-08-03T18:32:10.462Z","0.1.1-canary.1307":"2021-08-06T03:00:26.537Z","0.1.1-canary.1310":"2021-08-06T03:50:59.879Z","0.1.1-canary.1313":"2021-08-06T17:40:28.559Z","0.1.1-canary.1318":"2021-08-06T21:44:43.011Z","0.1.1-canary.1320":"2021-08-10T04:00:27.209Z","0.1.1-canary.1321":"2021-08-10T04:21:18.024Z","0.1.1-canary.1322":"2021-08-10T04:52:36.916Z","0.1.1-canary.1323":"2021-08-10T05:25:35.857Z","0.1.1-canary.1324":"2021-08-10T05:48:11.449Z","0.1.1-canary.1328":"2021-08-10T06:52:52.091Z","0.1.1-canary.1329":"2021-08-10T13:46:44.614Z","0.1.1-canary.1333":"2021-08-10T22:21:39.786Z","0.1.1-canary.1334":"2021-08-10T22:45:07.947Z","0.1.1-canary.1335":"2021-08-11T16:21:58.906Z","0.1.1-canary.1336":"2021-08-13T03:00:31.519Z","0.1.1-canary.1337":"2021-08-19T20:11:59.157Z","0.1.1-canary.1338":"2021-08-19T23:03:21.244Z","0.1.1-canary.1339":"2021-08-20T19:22:46.172Z","0.1.1-canary.1340":"2021-08-23T22:50:32.357Z","0.1.1-canary.1341":"2021-08-24T15:22:04.865Z","0.1.1-canary.1342":"2021-08-24T16:12:46.949Z","0.1.1-alpha.0":"2021-08-24T17:39:51.555Z","0.1.1-alpha.1":"2021-09-21T18:18:24.432Z","0.1.1-alpha.2":"2021-11-13T00:10:12.986Z","0.1.1-beta.0":"2021-11-19T18:17:31.152Z","0.1.1-beta.1":"2021-11-25T02:00:22.702Z","0.1.1-beta.2":"2021-12-20T22:48:30.254Z","0.1.1-rc.0":"2022-01-12T23:01:31.884Z","0.1.6":"2022-04-23T00:21:23.917Z","0.2.0":"2022-04-28T15:16:07.266Z","0.3.0":"2022-05-20T20:53:46.340Z","0.4.0":"2022-06-09T21:07:03.940Z","0.4.1":"2022-06-17T15:05:35.361Z","0.4.2":"2022-06-24T20:51:19.631Z","0.5.0":"2022-07-27T19:42:51.757Z","0.5.1":"2022-08-15T20:19:05.151Z","0.5.2-alpha.0":"2022-08-26T15:43:34.403Z","0.5.2-alpha.1":"2022-09-06T18:40:49.487Z","0.5.2-alpha.3":"2022-09-06T20:24:35.935Z","0.5.2":"2022-09-07T15:41:53.627Z","0.5.3-alpha.0":"2022-09-23T22:04:35.426Z","0.5.3":"2022-10-05T20:13:16.082Z","0.6.0":"2022-10-25T19:47:16.026Z","0.7.0":"2022-12-15T18:26:19.797Z","0.7.1":"2023-02-01T22:55:55.037Z","0.8.0":"2023-04-13T00:15:05.438Z","0.9.0":"2023-07-05T21:35:12.346Z","0.9.1":"2023-08-24T23:49:57.138Z","0.9.2":"2023-08-25T00:44:41.995Z"},"maintainers":[{"name":"jeff.smale","email":"jeff.smale@consensys.net"},{"name":"truffle-cicd","email":"david+truffle@trufflesuite.com"},{"name":"davidmurdoch","email":"david@davidmurdoch.com"},{"name":"micaiahreid","email":"micaiahreid@gmail.com"}],"description":"Ganache's Filecoin client implementation","homepage":"https://github.com/trufflesuite/ganache/tree/develop/src/filecoin#readme","keywords":["ganache","ganache-filecoin","filecoin","blockchain","smart contracts","dapps","web3","tooling"],"repository":{"type":"git","url":"git+https://github.com/trufflesuite/ganache.git","directory":"src/chains/filecoin"},"author":{"name":"Tim Coulter"},"bugs":{"url":"https://github.com/trufflesuite/ganache/issues"},"license":"MIT","readme":"# `@ganache/filecoin`\n\nThis package provides Ganache's Filecoin client implementation.\n\n## Table of Contents\n\n1. [CLI Usage](#cli-usage)\n1. [NodeJS Usage](#nodejs-usage)\n1. [Startup Options](#startup-options)\n1. [Supported RPC Methods](#supported-rpc-methods)\n\n## CLI Usage\n\nTo use Filecoin-flavored Ganache via the CLI, follow the below instructions:\n\n1. Remove any existing version of Ganache CLI\n   ```bash\n   npm uninstall --global ganache-cli\n   npm uninstall --global ganache\n   ```\n1. Install the `ganache` package globally\n   ```bash\n   npm install --global ganache\n   ```\n1. Install the `@ganache/filecoin` globally\n   ```bash\n   npm install --global @ganache/filecoin\n   ```\n1. Run Filecoin-flavored Ganache\n   ```bash\n   ganache --flavor @ganache/filecoin\n   ```\n1. See available [options](#startup-options)\n   ```bash\n   ganache --flavor @ganache/filecoin --help\n   ```\n1. You can use Ethereum-flavored Ganache still\n\n   ```bash\n   # Running \"ganache\" defaults to Ethereum\n   ganache\n\n   # or you can specify ethereum as the flavor\n   ganache ethereum\n   ```\n\n## NodeJS Usage\n\n### Install\n\nIf you're using Filecoin-flavored Ganache as a NodeJS dependency, you need to make sure you install both the `ganache` package (with the `filecoin` tag) and the `@ganache/filecoin` package.\n\n```bash\n# install the base Ganache package\nnpm install ganache\n\n# install the Filecoin peer dependency package\nnpm install @ganache/filecoin\n```\n\n### Usage\n\nIn your code, you will use the `ganache` package directly to instantiate the Filecoin flavor. Below is an example on how to do that with the default [options](#startup-options).\n\n```javascript\nimport Ganache from \"ganache\";\n\nconst startupOptions = {\n  flavor: \"@ganache/filecoin\";\n}\n\n// Provider usage\nconst provider = Ganache.provider(startupOptions);\nconst result = await provider.send({\n  jsonrpc: \"2.0\",\n  id: \"0\",\n  method: \"Filecoin.Version\",\n  params: []\n});\n\n// Server usage (starts up a HTTP and WebSocket server)\nconst server = Ganache.server(startupOptions);\nserver.listen(7777, () => {\n  console.log(\"Lotus RPC endpoint listening at http://localhost:7777/rpc/v0\");\n});\n```\n\n## Startup Options\n\nSee available startup options [in `@ganache/filecoin-options`](../options/README.md).\n\n## Supported RPC Methods\n\n`@ganache/filecoin` does not support all of the RPC methods implemented within Lotus; further, it implements some custom methods. Below is a list of each method.\n\n### Ganache Specific RPC Methods\n\n- `Ganache.MineTipset`: Manually mine a tipset immediately. Mines even if the miner is disabled. No parameters.\n- `Ganache.EnableMiner`: Enables the miner. No parameters.\n- `Ganache.DisableMiner`: Disables the miner. No parameters.\n- `Ganache.MinerEnabled`: The current status on whether or not the miner is enabled. The initial value is determined by the option `miner.mine`. If true, then auto-mining (`miner.blockTime = 0`) and interval mining (`miner.blockTime > 0`) will be processed. If false, tipsets/blocks will only be mined with `Ganache.MineTipset`. No parameters.\n- `Ganache.MinerEnabledNotify`: A subscription method that provides an update whenever the miner is enabled or disabled. No parameters.\n- `Ganache.GetDealById`: Retrieves an internal `DealInfo` by its `DealID`. Takes a single parameter, `DealID`, of type `number`.\n\n### Supported Lotus RPC methods\n\n- `Filecoin.ChainGetBlock`\n- `Filecoin.ChainGetBlockMessages`\n- `Filecoin.ChainGetGenesis`\n- `Filecoin.ChainGetMessage`\n- `Filecoin.ChainGetTipSet`\n- `Filecoin.ChainGetTipSetByHeight`\n- `Filecoin.ChainHead`\n- `Filecoin.ChainNotify`\n- `Filecoin.ClientFindData`\n- `Filecoin.ClientGetDealInfo`\n- `Filecoin.ClientGetDealStatus`\n- `Filecoin.ClientGetDealUpdates`\n- `Filecoin.ClientListDeals`\n- `Filecoin.ClientRetrieve`\n- `Filecoin.ClientStartDeal`\n- `Filecoin.ID` - Returns a hardcoded ID of `bafzkbzaced47iu7qygeshb3jamzkh2cqcmlxzcpxrnqsj6yoipuidor523jyg`\n- `Filecoin.MpoolBatchPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolBatchPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolClear`\n- `Filecoin.MpoolGetNonce`\n- `Filecoin.MpoolPending`\n- `Filecoin.MpoolPush` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolPushMessage` - FIL transfer only (`Method = 0`)\n- `Filecoin.MpoolSelect`\n- `Filecoin.StateListMiners`\n- `Filecoin.StateMinerInfo`\n- `Filecoin.StateMinerPower`\n- `Filecoin.WalletBalance`\n- `Filecoin.WalletDefaultAddress`\n- `Filecoin.WalletDelete`\n- `Filecoin.WalletExport`\n- `Filecoin.WalletHas`\n- `Filecoin.WalletImport` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletList`\n- `Filecoin.WalletNew` - `KeyInfo.Type` of type `secpk1-ledger` is not supported\n- `Filecoin.WalletSetDefault`\n- `Filecoin.WalletSign`\n- `Filecoin.WalletSignMessage`\n- `Filecoin.WalletValidateAddress`\n- `Filecoin.WalletVerify`\n- `Filecoin.ActorAddress`\n- `Filecoin.Version`\n","readmeFilename":"README.md"}