{"_id":"@d11k-ts/ethereum","_rev":"6-5c884ef18abff70f9c693195c7fdd677","name":"@d11k-ts/ethereum","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@d11k-ts/ethereum","version":"0.1.0","description":"ethereum module for d11k chain","keywords":["d11k","ethereum","dojima"],"author":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"homepage":"https://github.com/dojimanetwork/d11k-ts#readme","license":"ISC","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dojimanetwork/d11k-ts.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn && yarn clean && rollup -c","test":"jest","lint":"eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"bugs":{"url":"https://github.com/dojimanetwork/d11k-ts/issues"},"dependencies":{"@d11k-ts/client":"^0.1.1","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.1"},"devDependencies":{"axios":"^0.27.2","ethers":"^5.6.6"},"peerDependencies":{"@d11k-ts/client":"^0.1.1","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.1","axios":"^0.27.2","ethers":"^5.6.6"},"_id":"@d11k-ts/ethereum@0.1.0","dist":{"shasum":"bae3485044b68baa76684618624abaa0953d1c1a","integrity":"sha512-Oja/2mlOH3AR9C3ynkIBUOIHvj9Te48nm7rxTIQIl0Qapi9M9d8ei7D5hiyJ+xT7QvlBXdoyWMUC7ipXV08LXQ==","tarball":"https://registry.npmjs.org/@d11k-ts/ethereum/-/ethereum-0.1.0.tgz","fileCount":19,"unpackedSize":244281,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSxWf2QfPolKRRfkQVTz3qqxMvGbQYqpTBwKGFfNKKvwIgbXiiDJpa0RFPeNnmYcrl4RXWwsuK+Mnka37+ErHYsyM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgGrzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotzA/+O5fzFwNKOfS5jynC7onodUEYZW1IxK5nf7jdWevfmsqAtv7T\r\nD5rhmIPiVh0Y8CtkCwqk+5jezm5pfoIe+WJm4JVPBaM8oc522XMeDMFWxirb\r\nX5dO5KXJBz7gpTQvuDJFwCJ2SdtRn5pm9nHVZfaM7eq/XshH7mboMCEsH4/Y\r\nuf8Wp0pxX1ul7dT3M8hfvVu9kwCh+exQ1KXytdYfbevOyPkHiH9Ka1r5tmWG\r\nrD7zMgL/7JHX21iwogz+yhChoH5J4g9WdAhK8CbjLXrGycWxzN4EDDIe8iKO\r\n3gh5iXqawuL0qlPQcbC6+LEOP0ZSURnJ+MaBPqXyh6vFEmUQ1YhcA+8VYIec\r\n9lSFTxFAqoXtBFOlIE2h9UzLt7wVQEWdfZvb3tYDL54bINq/LtDk1Vnxt6jd\r\nVd6aeVeafyYbwfUwmI0OAYUzrxdR0EwelNTo/ytJV1alfPPqUuDXro2Db3Ip\r\nR+tZEmpfLhscXSQqi6AzSssotS8jgHmmnhN9AaiITd/cOtRDNnzQSsowjYEz\r\nK5O/wUqfZ/c6CEo2dym0HMmtmcOHAEmzgsba/5bWL1TZtVcz4SL8GLCDDOoB\r\nG38YYvzghVI0/NQ4P6M5+8OPKJjMR/IviVB+e2IGq3xm4jzbwIGAE44k4+gj\r\nwUTdvXvfzI4tzOv5TYyrv8WTP7RuPKdWGr8=\r\n=BLGb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dojima-network","email":"dojimanetwork@gmail.com"},"directories":{},"maintainers":[{"name":"dojima-network","email":"dojimanetwork@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum_0.1.0_1669360370918_0.25972818640135253"},"_hasShrinkwrap":false},"0.1.1":{"name":"@d11k-ts/ethereum","version":"0.1.1","description":"ethereum module for d11k chain","keywords":["d11k","ethereum","dojima"],"author":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"homepage":"https://github.com/dojimanetwork/d11k-ts#readme","license":"ISC","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dojimanetwork/d11k-ts.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn && yarn clean && rollup -c","test":"jest","lint":"eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"bugs":{"url":"https://github.com/dojimanetwork/d11k-ts/issues"},"dependencies":{"@d11k-ts/client":"^0.1.3","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.2"},"devDependencies":{"axios":"^0.27.2","ethers":"^5.6.6"},"peerDependencies":{"@d11k-ts/client":"^0.1.3","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.2","axios":"^0.27.2","ethers":"^5.6.6"},"_id":"@d11k-ts/ethereum@0.1.1","dist":{"shasum":"dc5718a6b37972d3db85811fdbe4069cec5bfacd","integrity":"sha512-N0+klr2mDKYs9uVwBv/x4NlfjX2rUgcruzHHT0CeHNYGJPeh0d+HCk8cQ5clJ+dvUa5POpvuEjFriBGffnqo2g==","tarball":"https://registry.npmjs.org/@d11k-ts/ethereum/-/ethereum-0.1.1.tgz","fileCount":19,"unpackedSize":354564,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGV4JudkhbSHhAoSYfIm/WCjYkEbvUo8PdwSscqZ5JTwAiEAuSIpWXtmxsaAl8CaqqhvjkSyGahcEBwvC1hKs9XFwCw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkYIKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBUA//ZYsYLNRsELkiEwtDWXFNFp4snZwA9J6IM3jAOSnJw6SIvOdT\r\nQ2O/d1ifCg+9AifiDS3XoXQjA7u8RW6Ov8VWva8rtLNVgJotEULqISEjoWJF\r\nDSG6VoiJdECUOceVEQrVMFWLCj4PXcpXXgkaz2FbB9HvA3Et60j48D1Ug47T\r\nUqbxkjHwTtqtlZD8ll6GSz3jtcp53w/jpSwEP1BEswMwZqFqPjylSwvWid5G\r\nASEInhwvGNJf4K5kVWcJMCwfYf6EZI4puMKo3htHDLm1rP0BglaD7zKGEKp0\r\nYbadHeqveB3njXAIz3FIx7aPOE0whCN7Y+9qpNTPsIeom28k9iAmsKG7YcRI\r\n6qQ2AbvkLk9MxazyETmcxWKJAfOFlxM3k4ACRgXYdSAGMxLWNzWK4uxS/vVA\r\ngWulg391AhpJcqmD5Xisy2KXxkLdapaDrV+lwFNj3jzzciVc6u0dI50g2Iab\r\n7+qT5OU3EwqhurbwHAC4Tis9YXglgP5nTmQSojYvAR1VBFBIEh6jiQl1oLfW\r\n8rui3Wf8yT2cYVTxzqo/QEHKVM//FNa0S1r2zCHAd0OGm6Mil9KzJZP3zG9c\r\noB6ogpMHSBFIIPUIRmUQJ5pf+w7LuL1q7R9Tj5PjVYcx6GgLciitOEqZWrJt\r\nHlGIBpWzA8yobQFMjqlV4xSeFaWe9cNL2P8=\r\n=1nhm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dojima-network","email":"dojimanetwork@gmail.com"},"directories":{},"maintainers":[{"name":"dojima-network","email":"dojimanetwork@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum_0.1.1_1670480394437_0.6248172699209646"},"_hasShrinkwrap":false},"0.1.2":{"name":"@d11k-ts/ethereum","version":"0.1.2","description":"ethereum module for d11k chain","keywords":["d11k","ethereum","dojima"],"author":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"homepage":"https://github.com/dojimanetwork/d11k-ts#readme","license":"ISC","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dojimanetwork/d11k-ts.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn && yarn clean && rollup -c","test":"jest","lint":"eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"bugs":{"url":"https://github.com/dojimanetwork/d11k-ts/issues"},"dependencies":{"@d11k-ts/client":"^0.1.4","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3"},"devDependencies":{"axios":"^0.27.2","ethers":"^5.6.6"},"peerDependencies":{"@d11k-ts/client":"^0.1.4","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3","axios":"^0.27.2","ethers":"^5.6.6"},"_id":"@d11k-ts/ethereum@0.1.2","dist":{"shasum":"bd55477bcbce76efc4cdab38d3b18ec4bf2b7220","integrity":"sha512-bzL5x0yLI5/d5qFbPG1OB7hgU78g+sUJ8O7GkBiv3BUqkcEknvAvBmgAiBsrfGM81bmaA/10GqImWnnX3yw1Lg==","tarball":"https://registry.npmjs.org/@d11k-ts/ethereum/-/ethereum-0.1.2.tgz","fileCount":19,"unpackedSize":360085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBevYwMWS81EUf5wlAqBzF0DT+XCNapkp1+NOKu7OQ68AiEAplswcAxstfi/rl92aDkUEQ1VLWl1ZuHPLGD1CP2789c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm0w8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRjA//RjPD++G03UfAI8uPqrAUGK/GdfHIDoLnDNDnHwZgR37qo9Q+\r\nJwXaxzNtTIiRD7mYjnOClvxfKXG/QKm1lDA+IJ2w7jKp8Rege9061Q9nR3P5\r\nMs0jrNTQZ8TCXYP0tgHTvrFjjG1imq5jkGxuHxumXOQ9uv9JOMMMhkn38+mo\r\n7jAu0FRU0Tn5gaBqB7ywuesEdt7TE5xG+MOYjBFBVaity7+3FzHo7Fwootp6\r\n9N+C3ZvUNBR50LlhsdllPjCnnHhdQqzkIZlNraMBkzRwvZtexymw3HONwFAJ\r\ndLzzR3qPj0WHC4Ch1SnrFUaeONMYTIGpXDwc1/jED/ULpbXJn8d2jAyCe5Qs\r\nhR7IDvu9apflt6lEPvhlEbgXYfnZMnnc5sCEd5IamK7imWEWAm41yJbO1/un\r\nCraUOBNMMz//KyqoM31TXOYRZ9HNOT5dfst4ymHr6OIBVkEFNyYvzXNLXG2n\r\nLLkzavVsUmmoWNQz5usVEPT8tK76sWOOTOg+k1WmIZWM+5RqtdxL4s2ffbDb\r\nuLxAKbPqBGFI8IJ5ZDECLwG55//kDI+Q5CRjRM8doPpfNbzgR6i1TyVWDvNC\r\nxnbFDcBIBjmDD5Iv+aCiBL6MRucCq/9txnT5EParTFhZ0PuqJ61/EvfIhq0I\r\n97XZFWm8KPeOFSeQ3XSDY4LbBhKjrVf0/4I=\r\n=f9av\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dojima-network","email":"dojimanetwork@gmail.com"},"directories":{},"maintainers":[{"name":"dojima-network","email":"dojimanetwork@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum_0.1.2_1671121980619_0.6842300081843138"},"_hasShrinkwrap":false},"0.1.3":{"name":"@d11k-ts/ethereum","version":"0.1.3","description":"ethereum module for d11k chain","keywords":["d11k","ethereum","dojima"],"author":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"homepage":"https://github.com/dojimanetwork/d11k-ts#readme","license":"ISC","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dojimanetwork/d11k-ts.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn && yarn clean && rollup -c","test":"jest","lint":"eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"bugs":{"url":"https://github.com/dojimanetwork/d11k-ts/issues"},"dependencies":{"@d11k-ts/client":"^0.1.5","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3","axios":"^1.2.1","ethers":"^5.7.2"},"devDependencies":{},"peerDependencies":{"@d11k-ts/client":"^0.1.5","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3","axios":"^1.2.1","ethers":"^5.7.2"},"_id":"@d11k-ts/ethereum@0.1.3","dist":{"shasum":"77bf1ed3686fb2b530119089428ab4fe02fe84ef","integrity":"sha512-r4mGI5QZMhwmAl/cIvl7hM36XbfJVBtiODopXWkZ4GvhoC4i8IZErbRBHTwZJjEnO8iJbkD2tLPSkneijLDeIw==","tarball":"https://registry.npmjs.org/@d11k-ts/ethereum/-/ethereum-0.1.3.tgz","fileCount":19,"unpackedSize":359538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEmxXTYCrG7KFOYXhMpEhcnaNL4mel6DjZJGpJ8DuR3AiEAwH7hwKATzMCpV9A/KzoQwYLB8qycH8ppEdVJWrYzu+s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqxj1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKchAAkuCZkEhr2NWcbCzE/6wy/bp/O2x+/PXmWaNxAswgkHHbF+q0\r\nYY7z1mMEmWeHpsS519z1Oarjm00/lGAUZyu0U0xri1Qk4LLir+AgcFOSF5rw\r\n99RTZbQ57POrZDQ7LZDFABTCm+Oxng7QuaOo5obFQgm/bI9R+vxmNMQ9jwuC\r\nhxAmoHFsX0rL293VrXauD5VMaKkncSetK5rvumbMrl3Sg/pPi9B1waG/uFu8\r\n547GoYizmRab978gjlYD+a8025V4ZjpHMjjyU0G52RHJglW7UQQSYHXOd9Ss\r\nHOlhZpOCEiavHsTyq8VYkbOdnq//lnOuk17OooI/RvbOrjDUWUnZ/vATOZEF\r\nikBL8EiXdBu3lZykNwwy++z3xz4Yw7Ew3716z2q7ZlKa+SL0d06G4P1Dogcd\r\ndst36vmyIt5V5SQPe+54YSUN6bTYiUTexdl6n5aDbYxqJu/UiS/9wTlMSFwl\r\niXJTOoMhkFzS17t/HCGRgeFjqHGIKKvNr6Dpxy8SneVfYvhAglOIpN6/Ppg2\r\ninPwhfmVLxg6gTuG3Pb+UiXZnh+gGrvxTRUicokRCxf6UoHTCZDdjId5RFgd\r\nkUMsHnXxL1zGVv1dtvvwwp1OY5WLnxiqkzQ+6+Ic5Lsrw5DqYG1CwI6DbVog\r\ncC9/NVb0JrfoZRuLKqNm7UpvGGwtW/SivNU=\r\n=YJjF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dojima-network","email":"dojimanetwork@gmail.com"},"directories":{},"maintainers":[{"name":"dojima-network","email":"dojimanetwork@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum_0.1.3_1672157429255_0.5371779966278205"},"_hasShrinkwrap":false},"0.1.4":{"name":"@d11k-ts/ethereum","version":"0.1.4","description":"ethereum module for d11k chain","keywords":["d11k","ethereum","dojima"],"author":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"homepage":"https://github.com/dojimanetwork/d11k-ts#readme","license":"ISC","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dojimanetwork/d11k-ts.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn && yarn clean && rollup -c","test":"jest","lint":"eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"bugs":{"url":"https://github.com/dojimanetwork/d11k-ts/issues"},"dependencies":{"@d11k-ts/client":"^0.1.5","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3","axios":"^1.2.1","bignumber.js":"^9.1.1","ethers":"^5.7.2","web3":"^1.8.1"},"devDependencies":{},"peerDependencies":{"@d11k-ts/client":"^0.1.5","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3","axios":"^1.2.1","ethers":"^5.7.2"},"_id":"@d11k-ts/ethereum@0.1.4","dist":{"shasum":"a03633248f3e8371c772a4e0974c1d78e5460e40","integrity":"sha512-NXZ9/K7eSf3FxwSjI9TwYcs+28ShyaVFD23ftC0knfJrWoCTjCBCHO7a6kHvwvGHk65MRDO/aFre6e6IMMhlZQ==","tarball":"https://registry.npmjs.org/@d11k-ts/ethereum/-/ethereum-0.1.4.tgz","fileCount":20,"unpackedSize":12001962,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNI+7TzgYIzN9ijndnlfgslBO6oJtIvFVm5JS5wJb60AiA2yfkNIsgXRdUd1SEseFsvXJo6u7jyUdQKnnUUOe1fvQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvUHTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNCw//VJBNLe9C+84Jug9tz4DT9Z5AQft1Y13+nGrm84EsWPci0UHV\r\nylObktTIXJ1/nxrVVaPrTIckfz6T17OM18rb8U/PuGU/8xpC264znlfv0uS/\r\n+BeiS89HQtPL25lchS/XzVkTn7sBBr99fYWMy+1OpV40GryjCsAxg/Sy6RyR\r\nEPwD3qnlaHHcxtgIbzv+SxHTbbrk0Npo8RPMnKj6v4hdb2PO4TiAyhX1Uw+0\r\nRKjdmlfnUh6h/rOfHIf8TWL8ixsbBhZHp0MaeEw0T+1xRzffYPJMaIZF1jMA\r\nKlctZ2mmjWLTQ6I7P0GE2+ZsZIVLs0i8F29yDJfYSA5E4rja08Ua6rqVlUii\r\nN55mjLW/RpKyOzWdWsAJY8JbiKISCVMoaZvDXCkcafUKQjgVrXVForl87A4+\r\nSqBogMapRI9chp/oAU9BxqNSh2YKM57/62GgRtmNi6zVMfE/zTAkfhg804JT\r\niCMptFVT9r1thZ6TAbeuPCm4SP5yAZuyyeIE5ce+TqI2Qq+RG53bukP9b0O9\r\n2/NZl2lGN+aMEhpvPVHDPTvxcGetz2UQucRpvIqZbgw8lrDgFECelttWuo52\r\nPfGneDDhM8RDf2ogvzWWOB32uapm/1IP7y1hyppRGbB3mlNoT5OVxceCh5Jq\r\nKGYx2nUvM/ZyBjQR/lqa/wbEp6yby9PfmR4=\r\n=ZW2v\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dojima-network","email":"dojimanetwork@gmail.com"},"directories":{},"maintainers":[{"name":"dojima-network","email":"dojimanetwork@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum_0.1.4_1673347538750_0.5993291223939832"},"_hasShrinkwrap":false},"0.1.5":{"name":"@d11k-ts/ethereum","version":"0.1.5","description":"ethereum module for d11k chain","keywords":["d11k","ethereum","dojima"],"author":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"homepage":"https://github.com/dojimanetwork/d11k-ts#readme","license":"ISC","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dojimanetwork/d11k-ts.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn && yarn clean && rollup -c","test":"jest","lint":"eslint \"{src,__tests__, __mocks__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"bugs":{"url":"https://github.com/dojimanetwork/d11k-ts/issues"},"dependencies":{"@d11k-ts/client":"^0.1.5","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3","axios":"^1.2.1","bignumber.js":"^9.1.1","ethers":"^5.7.2","moment":"^2.29.4","web3":"^1.8.1"},"devDependencies":{},"peerDependencies":{"@d11k-ts/client":"^0.1.5","@d11k-ts/crypto":"^0.1.1","@d11k-ts/utils":"^0.1.3","axios":"^1.2.1","ethers":"^5.7.2","moment":"^2.29.4"},"_id":"@d11k-ts/ethereum@0.1.5","dist":{"shasum":"16eb25b4553cad4609391abaf9fb5099622b90b4","integrity":"sha512-zW3yvfzfuywc+Sn+nMaoZE9favOrrbenv2U4MdQejBEALtFh+UJLZwJw60ExGwsatTw7uEYVAiSkLx7WvxyUdA==","tarball":"https://registry.npmjs.org/@d11k-ts/ethereum/-/ethereum-0.1.5.tgz","fileCount":19,"unpackedSize":12026562,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGT19cFDG54dk1vqbzqakIMFLxd8hYzjwcnP7+uh1aH8AiAu8ZHWb4tYKKcWkbO2DjCi2sOEQBel8cXFCACz+VchGg=="}]},"_npmUser":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"directories":{},"maintainers":[{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},{"name":"dojima-network","email":"dojimanetwork@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum_0.1.5_1686200905786_0.6878832559829207"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-25T07:12:50.841Z","0.1.0":"2022-11-25T07:12:51.097Z","modified":"2023-06-08T05:08:26.184Z","0.1.1":"2022-12-08T06:19:54.642Z","0.1.2":"2022-12-15T16:33:00.792Z","0.1.3":"2022-12-27T16:10:29.424Z","0.1.4":"2023-01-10T10:45:38.972Z","0.1.5":"2023-06-08T05:08:26.026Z"},"maintainers":[{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},{"name":"dojima-network","email":"dojimanetwork@gmail.com"}],"description":"ethereum module for d11k chain","homepage":"https://github.com/dojimanetwork/d11k-ts#readme","keywords":["d11k","ethereum","dojima"],"repository":{"type":"git","url":"git+https://github.com/dojimanetwork/d11k-ts.git"},"author":{"name":"yerramreddyuday","email":"uday.prasad@dojima.network"},"bugs":{"url":"https://github.com/dojimanetwork/d11k-ts/issues"},"license":"ISC","readme":"# `@d11k-ts/ethereum`\n\n## Modules\n\n- `client` - Custom client for communicating with Ethereum by using [`web3`](https://github.com/ethereum/web3.js) and [`ethers`](https://github.com/ethers-io/ethers.js)\n\n## Installation\n\n```\nyarn add @d11k-ts/ethereum\n```\n\n## Documentation : Basic usage examples\n\n### Connect wallet to new EthereumClient\n\n- Create new EthereumChain client\n- Network default is `Mainnet`\n- InfuraApiKey: Optional (Api key provided by 'Infura' for mainnet calls. Sign up for getting one)\n\n```ts\n// Imports\nimport {Network} from '@d11k-ts/client'\nimport {EthereumClient} from '@d11k-ts/ethereum'\n\n//Connect wallet, validate address and check balance \nconst connectWallet = async () => {\n  let phrase = \"phrase\"\n  // Mainnet\n  const ethClient = new EthereumClient({\n    phrase\n  })\n  // testnet\n  // const ethClient = new EthereumClient({ \n  //    phrase,\n  //    network: Network.DojTestnet,\n  //    rpcUrl: 'https://eth-test.h4s.dojima.network/',\n  //        If above rpc url doesn't work use below one\n  //    rpcUrl: 'https://eth-test.h4s.dojima.network:9545/',\n  //    network: Network.Testnet,\n  //    rpcUrl: 'https://goerli.infura.io/v3/',\n  //    infuraApiKey: '***********************',\n  //  })\n  let address = ethClient.getAddress()\n  try {\n    const balance = await ethClient.getBalance(address)\n    console.log(`Adress: ${address} with balance ${balance}`)\n\n  } catch (error) {\n    console.log(`Caught: ${error} `)\n  }\n}\n```\n\n### Transfer eth using EthereumClient\n\n- Create new EthereumClient instance\n- Returns txHash as string\n- Note: Uses only required gas for Tx and remaining will be sent back\n\n```ts\nconst transferEth = async () => {\n  // First initiate EthereumClient\n  let amount = 0.001\n  let recipient = 'insert address'\n  console.log(\"Building transaction\")\n  try {\n    const txid = await ethClient.transfer({\n      amount,\n      recipient,\n      // fee: number,  // optional. Calculated by default(if not provided) based on input amount.\n      // memo: string,  // optional\n    })\n    console.log(`Transaction sent: ${txid}`)\n    return txid\n  } catch (error) {\n    console.log(`Caught: ${error} `)\n  }\n}\n```\n\n### Get transaction Data\n\n- Create new EthereumClient instance\n- Call getTransactionData(hash) returns hash-details\n- Call getTransactionsHistory(address) returns list of transactions (if any)\n- Get 'Etherscan' api key for txs list\n- Note : DojTestnet doesn't provide txs list\n\n```ts\n// Retrieve transaction data for a particular hash\nconst transactionData = async () => {\n  let hash = \"insert hash\"\n  try {\n    const txData = await ethClient.getTransactionData(\n      hash,\n    )\n    console.log(`Transaction data ${txData}`)\n  } catch (error) {\n    console.log(`Caught: ${error} `)\n  }\n}\n\n// Retrieve transaction history for a particular address\nconst transactionHistory = async () => {\n  let Address = ethClient.getAddress()\n  try {\n    const txHistory = await ethClient.getTransactionsHistory({\n      address: Address,\n      apiKey: '********',\n    })\n    console.log(`Found ${txHistory.total.toString()}`)\n    txHistory.txs.forEach(tx => console.log(tx))\n  } catch (error) {\n    console.log(`Caught: ${error} `)\n  }\n}\n\n```\n\n### Get transfer Fees estimations\n\n- Retrieve estimated gas fees from ethereum client\n\n```ts\n// Retrieve fee estimations from transaction parameters\nconst feeEstimations = async () => {\n  let amountToTransfer = 0.001\n  try {\n    const fees = await ethClient.gasFees({\n      amount: amount,\n      // memo: string          // optional\n    })\n    console.log(`Fees : ${fees}`)\n\n  } catch (error) {\n    console.log(`Caught: ${error} `)\n  }\n}\n```\n\n### Add ETH token into liquidity pool\n\n- Add ETH tokens into liquidity pool\n- Get Ethereum Inbound address from hermes chain\n\n```ts\nconst addETHToLiquidityPool = async () => {\n  let amountToTransfer = 0.001\n  const inboundAddress = await ethClient.getEthereumInboundAddress()\n  try {\n    const liquidityPoolHash = await ethClient.addLiquidityPool(\n      amountToTransfer,\n      inboundAddress,\n      dojAddress,           // optional dojima address\n    )\n    console.log('Liquidity pool hash : ', liquidityPoolHash)\n  } catch (error) {\n    console.log(`Caught ${error}`)\n  }\n}\n```\n\n### Swap ETH tokens\n\n- Swap ETH tokens to required token using receiver address\n- Get Ethereum Inbound address from hermes chain\n- Supported tokens for swapping - 'DOT', 'DOJ', 'AR', 'SOL'\n\n```ts\nimport {SwapAssetList} from '@d11k-ts/utils'\n\nconst swapETH = async () => {\n  let amountToTransfer = 0.001\n  const inboundAddress = await ethClient.getEthereumInboundAddress()\n  try {\n    const swapHash = await ethClient.swap(\n       amountToTransfer,\n      SwapAssetList,\n      inboundAddress,\n      reciepient                // Respective receiver SwapAssetList token address\n    )\n    console.log('Swap tx hash : ', swapHash)\n  } catch (error) {\n    console.log(`Caught ${error}`)\n  }\n}\n```\n\n[//]: # (# `@d11k-ts/ethereum`)\n\n[//]: # ()\n[//]: # (## Modules)\n\n[//]: # ()\n[//]: # (- `client` - Custom client for communicating with Ethereum by using [`ethers`]&#40;https://github.com/ethers-io/ethers.js&#41;)\n\n[//]: # ()\n[//]: # (## Installation)\n\n[//]: # ()\n[//]: # (```)\n\n[//]: # (yarn add @d11k-ts/ethereum)\n\n[//]: # (```)\n\n[//]: # ()\n[//]: # (Following dependencies have to be installed into your project. These are not included in `@d11k-ts/ethereum`.)\n\n[//]: # ()\n[//]: # (```)\n\n[//]: # (yarn add axios ethers)\n\n[//]: # (```)\n\n[//]: # ()\n[//]: # (## Service Providers)\n\n[//]: # ()\n[//]: # (This package uses the following service providers:)\n\n[//]: # ()\n[//]: # (| Function                  | Service   | Notes                                                                          |)\n\n[//]: # (| ------------------------- | --------- | ------------------------------------------------------------------------------ |)\n\n[//]: # (| ETH balances              | Etherscan | https://etherscan.io/apis#accounts &#40;module=`account`, action=`balance`&#41;        |)\n\n[//]: # (| Token balances            | Etherscan | https://etherscan.io/apis#tokens &#40;module=`account`, action=`tokenbalance`&#41;     |)\n\n[//]: # (| ETH transaction history   | Etherscan | https://etherscan.io/apis#accounts &#40;module=`account`, action=`txlistinternal`&#41; |)\n\n[//]: # (| Token transaction history | Etherscan | https://etherscan.io/apis#accounts &#40;module=`account`, action=`tokentx`&#41;        |)\n\n[//]: # (| Transaction fees          | Etherscan | https://etherscan.io/apis#gastracker &#40;module=`gastracker`, action=`gasoracle`&#41; |)\n\n[//]: # (| Transaction broadcast     | Etherscan | https://sebs.github.io/etherscan-api/#eth_sendrawtransaction                   |)\n\n[//]: # (| Explorer                  | Etherscan | https://etherscan.io/                                                          |)\n\n[//]: # ()\n[//]: # (Etherscan API rate limits: https://info.etherscan.com/api-return-errors/)\n\n[//]: # ()\n[//]: # (- Testnet API - https://api-goerli.etherscan.io , Explorer - https://goerli.etherscan.io/)\n\n[//]: # ()\n[//]: # (- This package uses `etherjs` library, by default it uses several providers. &#40;`https://docs.ethers.io/v5/api-keys/`&#41;)\n\n[//]: # ()\n[//]: # (## Documentation : Basic usage examples)\n\n[//]: # ()\n[//]: # (### Connect wallet to new EthereumClient)\n\n[//]: # ()\n[//]: # (- Create new EthereumChain client)\n\n[//]: # (- Network default is `Mainnet`)\n\n[//]: # ()\n[//]: # (```ts)\n\n[//]: # (// Imports)\n\n[//]: # (import {Network} from '@d11k-ts/client')\n\n[//]: # (import {ETH_DECIMAL, EthereumClient} from '@d11k-ts/ethereum')\n\n[//]: # (import {assetAmount, assetToBase, baseToAsset} from '@d11k-ts/utils')\n\n[//]: # ()\n[//]: # (//Connect wallet, validate address and check balance )\n\n[//]: # (const connectWallet = async &#40;&#41; => {)\n\n[//]: # (  let phrase = \"phrase\")\n\n[//]: # (  // Mainnet)\n\n[//]: # (  const ethClient = new EthereumClient&#40;{phrase}&#41;)\n\n[//]: # (  // testnet)\n\n[//]: # (  // const ethClient = new EthereumClient&#40;{ )\n\n[//]: # (  //    phrase, )\n\n[//]: # (  //    network: Network.Testnet,)\n\n[//]: # (  //    etherscanApiKey: 'get-etherscan-api-key',)\n\n[//]: # (  //    ethplorerApiKey: 'get-ethplorer-api-key',)\n\n[//]: # (  //  }&#41;)\n\n[//]: # (  let address = ethClient.getAddress&#40;&#41;)\n\n[//]: # (  let isValid = ethClient.validateAddress&#40;address&#41;)\n\n[//]: # (  console.log&#40;address&#41;)\n\n[//]: # (  if &#40;isValid === true&#41; {)\n\n[//]: # (    try {)\n\n[//]: # (      const balance = await ethClient.getBalance&#40;address&#41;)\n\n[//]: # (      let assetAmount = &#40;baseToAsset&#40;balance[0].amount&#41;&#41;.amount&#40;&#41;)\n\n[//]: # (      console.log&#40;`Adress: ${address} with balance ${assetAmount}`&#41;)\n\n[//]: # ()\n[//]: # (    } catch &#40;error&#41; {)\n\n[//]: # (      console.log&#40;`Caught: ${error} `&#41;)\n\n[//]: # (    })\n\n[//]: # (  } else {)\n\n[//]: # (    console.log&#40;`Address: ${address} is invalid`&#41;)\n\n[//]: # (  })\n\n[//]: # (})\n\n[//]: # ()\n[//]: # (```)\n\n[//]: # ()\n[//]: # (### Transfer eth using EthereumClient)\n\n[//]: # ()\n[//]: # (- Create new EthereumClient instance)\n\n[//]: # (- Convert amount to transfer to base amount)\n\n[//]: # (- Build transaction)\n\n[//]: # (- Returns txHash as string)\n\n[//]: # ()\n[//]: # (```ts)\n\n[//]: # (// Transfer ethereum other TxParams > feeOptionKey?, gasLimit?, gasPrice? )\n\n[//]: # (const transferEth = async &#40;&#41; => {)\n\n[//]: # (  // First initiate EthereumClient)\n\n[//]: # (  let amountToTransfer = 0.001)\n\n[//]: # (  let recipient = 'insert address')\n\n[//]: # (  let amount = assetToBase&#40;assetAmount&#40;amountToTransfer, ETH_DECIMAL&#41;&#41;)\n\n[//]: # (  console.log&#40;\"Building transaction\"&#41;)\n\n[//]: # (  try {)\n\n[//]: # (    const txid = await ethClient.transfer&#40;{)\n\n[//]: # (      amount,)\n\n[//]: # (      recipient,)\n\n[//]: # (      \"memo\": \"memo\",               // optional)\n\n[//]: # (      \"walletIndex\": 0,             // optional &#40;default&#41;)\n\n[//]: # (      \"asset\": AssetETH,            // optional &#40;default&#41;)\n\n[//]: # (    }&#41;)\n\n[//]: # (    console.log&#40;`Transaction sent: ${txid}`&#41;)\n\n[//]: # (    return txid)\n\n[//]: # (  } catch &#40;error&#41; {)\n\n[//]: # (    console.log&#40;`Caught: ${error} `&#41;)\n\n[//]: # (  })\n\n[//]: # (})\n\n[//]: # ()\n[//]: # (```)\n\n[//]: # ()\n[//]: # (### Get transaction Data & transaction History)\n\n[//]: # ()\n[//]: # (- Create new EthereumClient instance)\n\n[//]: # (- Call getTransactionData&#40;hash&#41; returns hash-details)\n\n[//]: # (- Call getTransactions&#40;address&#41; returns list of transactions &#40;if any&#41;)\n\n[//]: # ()\n[//]: # (```ts)\n\n[//]: # (// Retrieve transaction data for a particular hash)\n\n[//]: # (const transactionData = async &#40;&#41; => {)\n\n[//]: # (  let hash = \"insert hash\")\n\n[//]: # (  let Address = ethClient.getAddress&#40;&#41;)\n\n[//]: # (  try {)\n\n[//]: # (    const txData = await ethClient.getTransactionData&#40;)\n\n[//]: # (      hash,)\n\n[//]: # (      Address         // optional)\n\n[//]: # (    &#41;)\n\n[//]: # (    console.log&#40;`Transaction data ${txData}`&#41;)\n\n[//]: # (  } catch &#40;error&#41; {)\n\n[//]: # (    console.log&#40;`Caught: ${error} `&#41;)\n\n[//]: # (  })\n\n[//]: # (})\n\n[//]: # ()\n[//]: # (// Retrieve transaction history for a particular address)\n\n[//]: # (const transactionHistory = async &#40;&#41; => {)\n\n[//]: # (  let Address = ethClient.getAddress&#40;&#41;)\n\n[//]: # (  try {)\n\n[//]: # (    const txHistory = await ethClient.getTransactions&#40;{address: Address}&#41;)\n\n[//]: # (    console.log&#40;`Found ${txHistory.total.toString&#40;&#41;}`&#41;)\n\n[//]: # (    txHistory.txs.forEach&#40;tx => console.log&#40;tx&#41;&#41;)\n\n[//]: # (  } catch &#40;error&#41; {)\n\n[//]: # (    console.log&#40;`Caught: ${error} `&#41;)\n\n[//]: # (  })\n\n[//]: # (})\n\n[//]: # ()\n[//]: # (```)\n\n[//]: # ()\n[//]: # (### Get transfer Fees estimations)\n\n[//]: # ()\n[//]: # (- Retrieve estimated gas prices and gas limits from ethereum client)\n\n[//]: # ()\n[//]: # (```ts)\n\n[//]: # (// Retrieve fee estimations from transaction parameters)\n\n[//]: # (const feeEstimations = async &#40;&#41; => {)\n\n[//]: # (  let amountToTransfer = 0.001)\n\n[//]: # (  let amount = assetToBase&#40;assetAmount&#40;amountToTransfer, ETH_DECIMAL&#41;&#41;)\n\n[//]: # (  let recipient = \"insert address\")\n\n[//]: # (  try {)\n\n[//]: # (    const fees = await ethClient.estimateFeesWithGasPricesAndLimits&#40;{)\n\n[//]: # (      \"amount\": amount,)\n\n[//]: # (      \"recipient\": recipient)\n\n[//]: # (    }&#41;)\n\n[//]: # (    console.log&#40;`Fees average : ${baseToAsset&#40;fees.fees.average&#41;.amount&#40;&#41;}, gas limits: ${fees.gasLimit}, gas prices average: ${baseToAsset&#40;fees.gasPrices.average&#41;.amount&#40;&#41;}`&#41;)\n\n[//]: # ()\n[//]: # (  } catch &#40;error&#41; {)\n\n[//]: # (    console.log&#40;`Caught: ${error} `&#41;)\n\n[//]: # (  })\n\n[//]: # (})\n\n[//]: # ()\n[//]: # (```)\n\n### Example Code\n\nFor sample code check out example test case in `./examples/test.ts`","readmeFilename":"README.md"}