{"_id":"@onflow/six-usdc-setup","_rev":"29-c3214711f33c9ef106b48873ed9e7297","name":"@onflow/six-usdc-setup","dist-tags":{"alpha":"0.0.4-alpha.0","latest":"0.0.6"},"versions":{"0.0.1":{"name":"@onflow/six-usdc-setup","version":"0.0.1","author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","_id":"@onflow/six-usdc-setup@0.0.1","maintainers":[{"name":"chasefleming","email":"chaseefleming@gmail.com"},{"name":"dapperj","email":"justin.barry@dapperlabs.com"},{"name":"gregsantos","email":"greg.santos@dapperlabs.com"},{"name":"mackenzie_dapper","email":"mackenzie.kieran@dapperlabs.com"},{"name":"derrickpelletier","email":"derrick@dpelletier.com"},{"name":"dapper_labs","email":"billing@dapperlabs.com"},{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},{"name":"qvvg","email":"npm@qv.vg"},{"name":"harry.eth","email":"harry.xue.eth@gmail.com"},{"name":"mackenzie","email":"remember.mackenzie@gmail.com"},{"name":"psiemens","email":"peterjsiemens@gmail.com"},{"name":"turbolent_flow","email":"bastian@dapperlabs.com"}],"homepage":"https://onflow.org","bugs":{"url":"https://github.com/onflow/flow-js-sdk/issues"},"dist":{"shasum":"75dcd14783f34077a0e6f4e3e0b146c8ea05fdc7","tarball":"https://registry.npmjs.org/@onflow/six-usdc-setup/-/six-usdc-setup-0.0.1.tgz","fileCount":29,"integrity":"sha512-k7q1cZPPgx8wa6QYnaRkiOIW9hLgKq/57ryrXIHjKv/gQbixCsKvTBDlCex544XMIlo1mg/2s8fNnd9vSCw+sg==","signatures":[{"sig":"MEYCIQDWyYYu9QPt10HuA0msAE+BKB93Cpa4pv5TS5gUfhi+DQIhAPLaoivh0Lu7r7JhzWelfeo2NR914gsQ8HwxKW9WYWFz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":287417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOfwJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHlA/7BYVpZA3cemcDiqn0KOPUt9HFwY2K/g90DobEcE9+tr0uLcip\r\n0Bs1MEAefaNeI6ztOxyHrKIt0iHQ5DQU2pJMClCV5twmKw1A6e4P+EjzD/5I\r\n0g/6VaaGITx8PeQqJO7UzqrUO29ierpo4j2Ow7b1AQwBXDZvSGtoSsGuUERA\r\nrI6SXpakDl8JQjuoT0fGjmoEhKSCoFD9Gg5nllubTa0rvdWRaTzohRi1qCdx\r\nUsydu8EOSFWEehOrrz0+G4WTyLrSqtKy5dP7tRp+FR5oAoIHx+K3VJJFjta1\r\nXf7t3Uv+ykSxnaSbBVueRKmTU0Em3zEIlGz/Ojr0fLUUCM0QUYnXbWbSWUO2\r\n+qNGqp63rY3bZ7XoKGSXSrKvdFzvTV4ayGqi2czDvlxBHgKkeA4bEb/OnG8U\r\n+PlnLYpkjy/a1Fnzw7J8g6be4GLqaAbGQw49CDdxm3DAFTIH9ytHy5UsBAPU\r\ngzeNcEyQ4AV74KF3pcw8tIMblNGE8ynGDfBAZVdy4wS2qY7T19UF/TEzU0s5\r\nI6oxN1CWIAUnC6spZFreDHwUEqDIhBRzyzK3MpbHUnJ9/kNmaHZM6Of+PSQi\r\n+YcEBqacgTpNSwOMSmdzt2Vp31E7eCqZBTKHNFEL8Xf2dnVzehAvGgC4byZ9\r\ntz1J78F7I56VJcms+SL7ZsUVWNZ+2tVqpgw=\r\n=c6Wl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transform":{".js":"jest-esm-transformer"}},"main":"dist/six-usdc-setup.js","type":"module","unpkg":"dist/six-usdc-setup.umd.js","module":"dist/six-usdc-setup.module.js","source":"src/six-usdc-setup.js","gitHead":"596d5916e80321017354c5e1ac55df1b31d0f7a3","scripts":{"test":"jest","build":"microbundle","start":"microbundle watch","test:watch":"jest --watch","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},"repository":{"url":"git+ssh://git@github.com/onflow/flow-js-sdk.git","type":"git"},"_npmVersion":"8.4.1","description":"Flow SDK Stored Interaction - USDC Setup","directories":{},"_nodeVersion":"17.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"25.3.0","microbundle":"0.12.0-next.8","jest-esm-transformer":"1.0.0"},"peerDependencies":{"@onflow/fcl":">=0.0.70","@onflow/types":">=0.0.4","@onflow/config":">=0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/six-usdc-setup_0.0.1_1647967241050_0.8860521304834772","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@onflow/six-usdc-setup","version":"0.0.2","author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","_id":"@onflow/six-usdc-setup@0.0.2","maintainers":[{"name":"chasefleming","email":"chaseefleming@gmail.com"},{"name":"dapperj","email":"justin.barry@dapperlabs.com"},{"name":"gregsantos","email":"greg.santos@dapperlabs.com"},{"name":"mackenzie_dapper","email":"mackenzie.kieran@dapperlabs.com"},{"name":"derrickpelletier","email":"derrick@dpelletier.com"},{"name":"dapper_labs","email":"billing@dapperlabs.com"},{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},{"name":"qvvg","email":"npm@qv.vg"},{"name":"harry.eth","email":"harry.xue.eth@gmail.com"},{"name":"mackenzie","email":"remember.mackenzie@gmail.com"},{"name":"psiemens","email":"peterjsiemens@gmail.com"},{"name":"turbolent_flow","email":"bastian@dapperlabs.com"}],"homepage":"https://onflow.org","bugs":{"url":"https://github.com/onflow/flow-js-sdk/issues"},"dist":{"shasum":"1a815868e03ac52e6466238970f88f29c9f8191a","tarball":"https://registry.npmjs.org/@onflow/six-usdc-setup/-/six-usdc-setup-0.0.2.tgz","fileCount":29,"integrity":"sha512-hBU0i92p2y6EfYE6Ruv42j255wM5SookD8XfbcidYopse8oEdiT79SxZ5vlooAoEehdx7xtc/kA8DuNCmAvuPA==","signatures":[{"sig":"MEQCIAqwk4nwmkSnvTlqA1QapiyJN8kE/MBbl/ZCCORenSQmAiBCzKcz4D7XxtFt2EIuNRI+Ke8C7be8UZLJq4XOVT+3AA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":287435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOmawACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTiw/+P4S8chHKeRX1N1ZpNsCxYjCqVtSj2+RlNK5TnlbH3SXlDndr\r\nvzorOn5AHo44nLyMjZVyBUQpafYFajYD/LKTiNjF7xMMGFHFuspAvFJa0Bq+\r\nspS7cJyAFRRKJVr7VgCJ7htDBN3ih7sAhtqsCJZrwFcwfgyYYJKKV3PfM+//\r\naEe/deZmz+mCkxpQCdVUgUO7yPvMNGsC/YItGRgwWtFzBBLDhgZkIJqVPtVW\r\nYgRXO+XKOUFOTuNOkTDvhI7n2lxtmCzDwxTg8oEVid5V+AtkYquK/TXWAsNN\r\nQSdTWT8TG+NYlK2EBKUYis8W3HdLv+trrM8JkFmtybqpiosy6cfoUiUuwPPJ\r\nLczlHvzL2zX3nLOhlZEfYfp7pb0yvO+ooTZZT9/gM8qWHC+g7RlxirPSmm+I\r\nudEYNLubM96JWZxGCZlNqYNeDklgYztpp5Xk7Qx+fwcjBErwVefcOq6iwe15\r\nYGZC2zvjyfaFOAdhxxwWxPsTjKXFkUyWQzIt9tx2VIkTZA/4N0O11Mwuv4E5\r\nsRflYeiz5anM4zmeVG7n9shkh/i/iSEZFm4jIouMGVTiPTSQBCWAyWmyQO4l\r\nBHXmQhfV+pxt+IZZbrnMcDvKtkXulS14ysI699Ate6NORKX9GNyWxArHeJsm\r\ne/86qgdMzHMOsO0+pORlUUu65MqLaujzj6A=\r\n=QE88\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transform":{".js":"jest-esm-transformer"}},"main":"dist/six-usdc-setup.js","type":"module","unpkg":"dist/six-usdc-setup.umd.js","module":"dist/six-usdc-setup.module.js","source":"src/six-usdc-setup.js","gitHead":"6b017ca76118ab6ced831843ba4c99ef709eab93","scripts":{"test":"jest","build":"microbundle","start":"microbundle watch","test:watch":"jest --watch","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},"repository":{"url":"git+ssh://git@github.com/onflow/flow-js-sdk.git","type":"git"},"_npmVersion":"8.4.1","description":"Flow SDK Stored Interaction - USDC Setup","directories":{},"_nodeVersion":"17.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"25.3.0","microbundle":"0.12.0-next.8","jest-esm-transformer":"1.0.0"},"peerDependencies":{"@onflow/fcl":">=0.0.70","@onflow/types":">=0.0.4","@onflow/config":">=0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/six-usdc-setup_0.0.2_1647994544680_0.9657038031056866","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@onflow/six-usdc-setup","version":"0.0.3","author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","_id":"@onflow/six-usdc-setup@0.0.3","maintainers":[{"name":"chasefleming","email":"chaseefleming@gmail.com"},{"name":"dapperj","email":"justin.barry@dapperlabs.com"},{"name":"gregsantos","email":"greg.santos@dapperlabs.com"},{"name":"mackenzie_dapper","email":"mackenzie.kieran@dapperlabs.com"},{"name":"derrickpelletier","email":"derrick@dpelletier.com"},{"name":"dapper_labs","email":"billing@dapperlabs.com"},{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},{"name":"qvvg","email":"npm@qv.vg"},{"name":"harry.eth","email":"harry.xue.eth@gmail.com"},{"name":"mackenzie","email":"remember.mackenzie@gmail.com"},{"name":"psiemens","email":"peterjsiemens@gmail.com"},{"name":"turbolent_flow","email":"bastian@dapperlabs.com"}],"homepage":"https://onflow.org","bugs":{"url":"https://github.com/onflow/flow-js-sdk/issues"},"dist":{"shasum":"b0edc6aa22f0d9687060da76c2f312f17f58e5ce","tarball":"https://registry.npmjs.org/@onflow/six-usdc-setup/-/six-usdc-setup-0.0.3.tgz","fileCount":29,"integrity":"sha512-NgsRpey90lGZC9ZUOiX1my2Hkxxz13NdJy8hzUonDSG3vjhOiQOxCI0XPpN1w4F9uNxtUo0J+4S5GL9SNbd4Yg==","signatures":[{"sig":"MEYCIQDA1xUb5Az5EegjtlZ7nzmPKiwPV3lgeb/kULwR3GZ3zgIhANx57Jy7JtVZik0iU5jxQpvqIIK6CbTHU5xEQ5PKWCkf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":287426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOmiAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeqQ/+I/bokQo9K7iqA9uP3VTXZ4OoZ+c3sNUMyAsvnwZzyMBWTTNX\r\nYeXtRH9OWBE3f6MEcBKp03a22F3bQgWGZ27gqL93OzBsdhXJ3VyamBSk34Rh\r\nHEZtu+VQp6AEqvndTt0uQeFo0RoYEY7tsvZsOXLuGeawaYasrSFe9FgMPVtS\r\nR1A6BIzbATovAMNtw5LcLWc1oF8zcw/TK8VCqCtWqk4Crg7c/9FbuJ5igC1y\r\nAXH2nLxWGVo/rqGEk1tigcOQw7xugiHyrGjAS4KlfJnsPTz46E8/XuzQvhZC\r\n25GH/UuR3EEQ+Gk0ni2qvc0C2Aguvx2BIUrhEYeoqMF41ijfXqOll3My4KeH\r\n6d2IinvMbVEKZO6qbPudCO4Ni40+R3QgCjVkK6oIYnyKCdDdCKvbMScdRAns\r\nx1TLD5CJbfrFWWi+HDf8QyRSVAmGLnTF64HVnLmIYC8BEL749qbFPJ2YwF+N\r\njud8uYmlJKhk40rJJlfbsAGlC+DC8BI69K2+xyKYQ8JUFfy3Apoz0+Gv3lqO\r\nb3GJzZXMpMV/huWaXDT2DTo19em7Qs3hLYfF5J3p7oDCeNygvwwH0CWKwxwe\r\nImQ9nh6lZwmmYNl57GXZr4CgUpV57nnCzN7mn8oHH1evTmvs/KFn9AUf/XGS\r\nDzewP7TPl05vRJrvCRS0z9ZJv00QsinoYtU=\r\n=//9j\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transform":{".js":"jest-esm-transformer"}},"main":"dist/six-usdc-setup.js","type":"module","unpkg":"dist/six-usdc-setup.umd.js","module":"dist/six-usdc-setup.module.js","source":"src/six-usdc-setup.js","gitHead":"a1458c49f8d105e05b6d07453a11eea3092a6cba","scripts":{"test":"jest","build":"microbundle","start":"microbundle watch","test:watch":"jest --watch","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},"repository":{"url":"git+ssh://git@github.com/onflow/flow-js-sdk.git","type":"git"},"_npmVersion":"8.4.1","description":"Flow SDK Stored Interaction - USDC Setup","directories":{},"_nodeVersion":"17.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"25.3.0","microbundle":"0.12.0-next.8","jest-esm-transformer":"1.0.0"},"peerDependencies":{"@onflow/fcl":">=0.0.70","@onflow/types":">=0.0.4","@onflow/config":">=0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/six-usdc-setup_0.0.3_1647995008441_0.20412378857252844","host":"s3://npm-registry-packages"}},"0.0.4-alpha.0":{"name":"@onflow/six-usdc-setup","version":"0.0.4-alpha.0","author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","_id":"@onflow/six-usdc-setup@0.0.4-alpha.0","maintainers":[{"name":"nialexsan","email":"nialexsan@gmail.com"},{"name":"bakii_agl","email":"satyam0499@gmail.com"},{"name":"han210","email":"hannah.lee@dapperlabs.com"},{"name":"gregorggg","email":"gregor.gololicic@dapperlabs.com"},{"name":"chasefleming","email":"chaseefleming@gmail.com"},{"name":"dapperj","email":"justin.barry@dapperlabs.com"},{"name":"gregsantos","email":"greg.santos@dapperlabs.com"},{"name":"derrickpelletier","email":"derrick@dpelletier.com"},{"name":"dapper_labs","email":"billing@dapperlabs.com"},{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},{"name":"harry.eth","email":"harry.xue.eth@gmail.com"},{"name":"turbolent_flow","email":"bastian@dapperlabs.com"}],"homepage":"https://onflow.org","bugs":{"url":"https://github.com/onflow/fcl-six/issues"},"dist":{"shasum":"cd77010601fa6e4523b42c7b52161da3263e5be9","tarball":"https://registry.npmjs.org/@onflow/six-usdc-setup/-/six-usdc-setup-0.0.4-alpha.0.tgz","fileCount":13,"integrity":"sha512-fj0U38C+40F0xLj4ZzUpbb70PeWRLmeZdfHbESWTQEO952sQ3eIARF7q2j21Re5hcAIQiF3d7DbdC0LBieCxng==","signatures":[{"sig":"MEUCIHd++j8Npq2/D+0OZuQv6DEkwR3SsYg5gLk1PNHUI0+QAiEAwHmhS6uShBVLHFmirqpzfOEshqktbJZdk+3Swa4UT50=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":143172},"jest":{"transform":{".js":"jest-esm-transformer"}},"main":"dist/six-usdc-setup.js","type":"module","unpkg":"dist/six-usdc-setup.umd.js","module":"dist/six-usdc-setup.module.js","readme":"# @onflow/six-usdc-setup\n\nStored Interaction for setting up a USDC Vault and Receiver\n\n# Status\n\n- **Last Updated:** March 21 2022\n- **Stable:** No\n- **Risk of Breaking Change:** Very High\n\nKnown Upcoming Changes:\n\n- Potential changes to all aspects of Stored Interactions\n\n# Install\n\nnpm install @onflow/six-usdc-setup\n\n# Configuration \n\nTo use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.\n\n| Dependencies           | Mainnet            | Testnet            |\n| ---------------------- | ------------------ | ------------------ |\n| 0xFUNGIBLETOKENADDRESS | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |\n| 0xUSDCADDRESS          | 0xb19436aae4d94622 | 0x1ab3c177460e1e4a |\n\nExample (for mainnet):\n\n```javascript\nfcl.config()\n  .put(\"0xFUNGIBLETOKENADDRESS\", \"0xf233dcee88fe0abe\")\n  .put(\"0xUSDCADDRESS\", \"0xb19436aae4d94622\")\n```\n\nExample (for testnet):\n\n```javascript\nfcl.config()\n  .put(\"0xFUNGIBLETOKENADDRESS\", \"0x9a0766d93b6608b7\")\n  .put(\"0xUSDCADDRESS\", \"0x1ab3c177460e1e4a\")\n```\n\nLearn more about configuring FCL here: https://github.com/onflow/fcl-six/blob/master/docs/configure-fcl.mdx\n\n# Usage:\n\n```javascript\nimport * as fcl from \"@onflow/fcl\"\nimport { template as usdcSetup } from \"@onflow/six-usdc-setup\"\n\nfcl.config().put(\"accessNode\", \"http://localhost:8080\");\n\nconst response = await fcl.send([\n    usdcSetup({\n        proposer: fcl.currentUser().authorization,\n        authorization: fcl.currentUser().authorization,     \n        payer: fcl.currentUser().authorization,             \n    })\n])\n\n```\n\n# Hashing\n\nHashing Code:\n```javascript\n    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))\n```","source":"src/six-usdc-setup.js","gitHead":"4b764e186ec58132b2ea78f1106f4438383048a0","scripts":{"test":"jest","build":"microbundle","start":"microbundle watch","test:watch":"jest --watch","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"nialexsan","email":"nialexsan@gmail.com"},"repository":{"url":"git+ssh://git@github.com/onflow/fcl-six.git","type":"git"},"_npmVersion":"9.6.7","description":"Flow SDK Stored Interaction - USDC Setup","directories":{},"_nodeVersion":"16.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"25.3.0","microbundle":"0.12.0-next.8","jest-esm-transformer":"1.0.0"},"peerDependencies":{"@onflow/fcl":">=1.4.0 || >=1.5.0 || >=1.5.0-alpha","@onflow/types":">=1.1.0","@onflow/config":">=1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/six-usdc-setup_0.0.4-alpha.0_1689348228182_0.443808574390939","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@onflow/six-usdc-setup","version":"0.0.4","author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","_id":"@onflow/six-usdc-setup@0.0.4","maintainers":[{"name":"nialexsan","email":"nialexsan@gmail.com"},{"name":"bakii_agl","email":"satyam0499@gmail.com"},{"name":"han210","email":"hannah.lee@dapperlabs.com"},{"name":"gregorggg","email":"gregor.gololicic@dapperlabs.com"},{"name":"chasefleming","email":"chaseefleming@gmail.com"},{"name":"dapperj","email":"justin.barry@dapperlabs.com"},{"name":"gregsantos","email":"greg.santos@dapperlabs.com"},{"name":"derrickpelletier","email":"derrick@dpelletier.com"},{"name":"dapper_labs","email":"billing@dapperlabs.com"},{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},{"name":"harry.eth","email":"harry.xue.eth@gmail.com"},{"name":"turbolent_flow","email":"bastian@dapperlabs.com"}],"homepage":"https://onflow.org","bugs":{"url":"https://github.com/onflow/fcl-six/issues"},"dist":{"shasum":"ce7ad7501136601a9080d04741c8b9e317899d57","tarball":"https://registry.npmjs.org/@onflow/six-usdc-setup/-/six-usdc-setup-0.0.4.tgz","fileCount":13,"integrity":"sha512-vIunJ9obG0gK1snX7M27f/vwAb86vzSE8ozqK3v/FCwr1LmX3T63y2vMR1zd7aCVPE+elZghlHW8Y1HJ3/lx9A==","signatures":[{"sig":"MEUCIQDX4ZH3UxF049Dqudw0zylmQsrMpGVYswWRILJApD/fFgIgJxjEP9tWwPDfnTcNFUKp9R5tBN0rmwqea7RVOuz4XAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":143133},"jest":{"transform":{".js":"jest-esm-transformer"}},"main":"dist/six-usdc-setup.js","type":"module","unpkg":"dist/six-usdc-setup.umd.js","module":"dist/six-usdc-setup.module.js","source":"src/six-usdc-setup.js","gitHead":"0e8ad811ea6298dc24b61a23c60e6d0be4d51b60","scripts":{"test":"jest","build":"microbundle","start":"microbundle watch","test:watch":"jest --watch","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"nialexsan","email":"nialexsan@gmail.com"},"repository":{"url":"git+ssh://git@github.com/onflow/fcl-six.git","type":"git"},"_npmVersion":"8.19.4","description":"Flow SDK Stored Interaction - USDC Setup","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"devDependencies":{"jest":"25.3.0","microbundle":"0.12.0-next.8","jest-esm-transformer":"1.0.0"},"peerDependencies":{"@onflow/fcl":">=1.4.0 <2.0.0","@onflow/types":">=1.1.0","@onflow/config":">=1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/six-usdc-setup_0.0.4_1693579660890_0.8168570316150177","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@onflow/six-usdc-setup","version":"0.0.5","author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","_id":"@onflow/six-usdc-setup@0.0.5","maintainers":[{"name":"nialexsan","email":"nialexsan@gmail.com"},{"name":"bakii_agl","email":"satyam0499@gmail.com"},{"name":"han210","email":"hannah.lee@dapperlabs.com"},{"name":"gregorggg","email":"gregor.gololicic@dapperlabs.com"},{"name":"chasefleming","email":"chaseefleming@gmail.com"},{"name":"dapperj","email":"justin.barry@dapperlabs.com"},{"name":"gregsantos","email":"greg.santos@dapperlabs.com"},{"name":"derrickpelletier","email":"derrick@dpelletier.com"},{"name":"dapper_labs","email":"billing@dapperlabs.com"},{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},{"name":"harry.eth","email":"harry.xue.eth@gmail.com"},{"name":"turbolent_flow","email":"bastian@dapperlabs.com"}],"homepage":"https://onflow.org","bugs":{"url":"https://github.com/onflow/fcl-six/issues"},"dist":{"shasum":"997af5bf447e70bea73265401a2192618bf8f44e","tarball":"https://registry.npmjs.org/@onflow/six-usdc-setup/-/six-usdc-setup-0.0.5.tgz","fileCount":13,"integrity":"sha512-tyJbMkD/sXPpapGPX11LevbNCyPRY498KoQXfcM/zV9ncFLGDB2sv3epPgD+NUiPiDmyztYvHFjbMds7TDPi0Q==","signatures":[{"sig":"MEUCIQD0k9CUHSTe9lDgfac5tMfSiCyqJFPxrf/5EKfFdiD3LgIgbCqRJKIw0zHRqorQRxev1yiyrgL2/Apm+34cZlx3Hto=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":143179},"jest":{"transform":{".js":"jest-esm-transformer"}},"main":"dist/six-usdc-setup.js","type":"module","unpkg":"dist/six-usdc-setup.umd.js","module":"dist/six-usdc-setup.module.js","source":"src/six-usdc-setup.js","gitHead":"014a575ff7c030cc695c46638c6ea587182da05a","scripts":{"test":"jest","build":"microbundle","start":"microbundle watch","test:watch":"jest --watch","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"nialexsan","email":"nialexsan@gmail.com"},"repository":{"url":"git+ssh://git@github.com/onflow/fcl-six.git","type":"git"},"_npmVersion":"8.19.4","description":"Flow SDK Stored Interaction - USDC Setup","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"devDependencies":{"jest":"25.3.0","microbundle":"0.12.0-next.8","jest-esm-transformer":"1.0.0"},"peerDependencies":{"@onflow/fcl":"^1.4.0","@onflow/types":">=1.1.0","@onflow/config":">=1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/six-usdc-setup_0.0.5_1693583002734_0.7684394101015688","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@onflow/six-usdc-setup","version":"0.0.6","author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","_id":"@onflow/six-usdc-setup@0.0.6","maintainers":[{"name":"nialexsan","email":"nialexsan@gmail.com"},{"name":"bakii_agl","email":"satyam0499@gmail.com"},{"name":"han210","email":"hannah.lee@dapperlabs.com"},{"name":"gregorggg","email":"gregor.gololicic@dapperlabs.com"},{"name":"chasefleming","email":"chaseefleming@gmail.com"},{"name":"dapperj","email":"justin.barry@dapperlabs.com"},{"name":"gregsantos","email":"greg.santos@dapperlabs.com"},{"name":"derrickpelletier","email":"derrick@dpelletier.com"},{"name":"dapper_labs","email":"billing@dapperlabs.com"},{"name":"jeffreydoyle","email":"jeffreydoylec@gmail.com"},{"name":"harry.eth","email":"harry.xue.eth@gmail.com"},{"name":"turbolent_flow","email":"bastian@dapperlabs.com"}],"homepage":"https://onflow.org","bugs":{"url":"https://github.com/onflow/fcl-six/issues"},"dist":{"shasum":"4451aaaffb608abf21e2372a312eaeb7352f8e26","tarball":"https://registry.npmjs.org/@onflow/six-usdc-setup/-/six-usdc-setup-0.0.6.tgz","fileCount":13,"integrity":"sha512-b3c0v7gMvmNTUc/JRtXiVDydl+NXZfY/pCmWhiuOL3dqNXvte+dea5OzZNRdVI6lGQBcv7VOWhGCQt/FGZJQEA==","signatures":[{"sig":"MEQCIFYLY6C+LPPzlvna29eV+tHItlqfNjqh4cS64ew5x1ndAiBIbTAMEZb29hLxrqWMsEZxx/owY4zOvyI09hdb95pIFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":143282},"jest":{"transform":{".js":"jest-esm-transformer"}},"main":"dist/six-usdc-setup.js","type":"module","unpkg":"dist/six-usdc-setup.umd.js","module":"dist/six-usdc-setup.module.js","source":"src/six-usdc-setup.js","gitHead":"abca7f635424763cbc412babefd63c9921d6211e","scripts":{"test":"jest","build":"microbundle","start":"microbundle watch","test:watch":"jest --watch","prepublishOnly":"npm test && npm run build"},"_npmUser":{"name":"nialexsan","email":"nialexsan@gmail.com"},"repository":{"url":"git+ssh://git@github.com/onflow/fcl-six.git","type":"git"},"_npmVersion":"8.19.4","description":"Flow SDK Stored Interaction - USDC Setup","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"devDependencies":{"jest":"25.3.0","microbundle":"0.12.0-next.8","jest-esm-transformer":"1.0.0"},"peerDependencies":{"@onflow/fcl":">=1.4.0 || >=1.5.0 || >=1.6.0 || >=1.7.0","@onflow/types":">=1.1.0","@onflow/config":">=1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/six-usdc-setup_0.0.6_1693584100189_0.011491263235858806","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-03-22T16:40:41.048Z","modified":"2026-05-12T19:42:24.387Z","0.0.1":"2022-03-22T16:40:41.194Z","0.0.2":"2022-03-23T00:15:44.883Z","0.0.3":"2022-03-23T00:23:28.609Z","0.0.4-alpha.0":"2023-07-14T15:23:48.379Z","0.0.4":"2023-09-01T14:47:41.063Z","0.0.5":"2023-09-01T15:43:22.904Z","0.0.6":"2023-09-01T16:01:40.478Z"},"bugs":{"url":"https://github.com/onflow/fcl-six/issues"},"author":{"name":"Dapper Labs","email":"dev@dapperlabs.com"},"license":"Apache-2.0","homepage":"https://onflow.org","repository":{"url":"git+ssh://git@github.com/onflow/fcl-six.git","type":"git"},"description":"Flow SDK Stored Interaction - USDC Setup","maintainers":[{"email":"hannah.lee@dapperlabs.com","name":"han210"},{"email":"justin.barry@dapperlabs.com","name":"dapperj"},{"email":"billing@dapperlabs.com","name":"dapper_labs"},{"email":"jeffreydoylec@gmail.com","name":"jeffreydoyle"},{"email":"harry.xue.eth@gmail.com","name":"harry.eth"},{"email":"chaseefleming@gmail.com","name":"chasefleming"},{"email":"gregor.gololicic@dapperlabs.com","name":"gregorggg"},{"email":"bastian.mueller@flowfoundation.org","name":"turbolent_ff"},{"email":"jribbink@telus.net","name":"jribbink"},{"email":"kan.zhang@flowfoundation.com","name":"kan-flow-foundation"},{"email":"michael.fabozzi@flowfoundation.org","name":"michael_flow"},{"email":"hao.fu@flowfoundation.org","name":"lmcmze"}],"readme":"# @onflow/six-usdc-setup\n\nStored Interaction for setting up a USDC Vault and Receiver\n\n# Status\n\n- **Last Updated:** March 21 2022\n- **Stable:** No\n- **Risk of Breaking Change:** Very High\n\nKnown Upcoming Changes:\n\n- Potential changes to all aspects of Stored Interactions\n\n# Install\n\nnpm install @onflow/six-usdc-setup\n\n# Configuration \n\nTo use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.\n\n| Dependencies           | Mainnet            | Testnet            |\n| ---------------------- | ------------------ | ------------------ |\n| 0xFUNGIBLETOKENADDRESS | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |\n| 0xUSDCADDRESS          | 0xb19436aae4d94622 | 0x1ab3c177460e1e4a |\n\nExample (for mainnet):\n\n```javascript\nfcl.config()\n  .put(\"0xFUNGIBLETOKENADDRESS\", \"0xf233dcee88fe0abe\")\n  .put(\"0xUSDCADDRESS\", \"0xb19436aae4d94622\")\n```\n\nExample (for testnet):\n\n```javascript\nfcl.config()\n  .put(\"0xFUNGIBLETOKENADDRESS\", \"0x9a0766d93b6608b7\")\n  .put(\"0xUSDCADDRESS\", \"0x1ab3c177460e1e4a\")\n```\n\nLearn more about configuring FCL here: https://github.com/onflow/fcl-six/blob/master/docs/configure-fcl.mdx\n\n# Usage:\n\n```javascript\nimport * as fcl from \"@onflow/fcl\"\nimport { template as usdcSetup } from \"@onflow/six-usdc-setup\"\n\nfcl.config().put(\"accessNode\", \"http://localhost:8080\");\n\nconst response = await fcl.send([\n    usdcSetup({\n        proposer: fcl.currentUser().authorization,\n        authorization: fcl.currentUser().authorization,     \n        payer: fcl.currentUser().authorization,             \n    })\n])\n\n```\n\n# Hashing\n\nHashing Code:\n```javascript\n    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))\n```","readmeFilename":"README.md"}