{"_id":"@auranw/aurajs","_rev":"2-4bba4c87785cd919d64e832e135791f4","name":"@auranw/aurajs","dist-tags":{"alpha":"1.0.0-alpha2","latest":"1.0.0-alpha1"},"versions":{"1.0.0-alpha1":{"name":"@auranw/aurajs","version":"1.0.0-alpha1","description":"AuraJs a JavaScript SDK for writing applications that interact with the smart contract Aura blockchain from either Node.js","author":{"name":"PhanHoc"},"repository":{"type":"git","url":"git+https://github.com/aura-nw/aurajs.git"},"license":"MIT","keywords":["typescript","aurajs","nft"],"main":"./dist/tsc/main.js","types":"./dist/tsc/main.d.ts","bin":{"my-cli-tool":"dist/esbuild/cli.js"},"scripts":{"lint":"eslint src/ --ext .js,.jsx,.ts,.tsx","test":"jest","clean":"rm -rf dist build package","ts-node":"ts-node","docs":"typedoc --entryPoints src/main.ts","build":"tsc -p tsconfig.json","build-all":"yarn clean && yarn build"},"devDependencies":{"@types/jest":"^26.0.21","@types/node":"^15.0.1","@typescript-eslint/eslint-plugin":"^4.19.0","@typescript-eslint/parser":"^4.19.0","esbuild":"^0.11.11","eslint":"^7.22.0","jest":"^26.6.3","ts-jest":"^26.5.4","ts-node":"^9.1.1","typedoc":"^0.20.35","typescript":"^4.2.3","@types/pako":"^1.0.3"},"dependencies":{"@cosmjs/encoding":"^0.27.0","@cosmjs/stargate":"^0.27.0","cosmjs-types":"^0.4.0","long":"^4.0.0","pako":"^2.0.4"},"gitHead":"a883966d01407d8357f7b8c89aa8a8637e3648fd","bugs":{"url":"https://github.com/aura-nw/aurajs/issues"},"homepage":"https://github.com/aura-nw/aurajs#readme","_id":"@auranw/aurajs@1.0.0-alpha1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-hzXR44iB5HxteS9rkHMVmKIadoaYGQr1ljxE7B4xNb3uWKuyfUV+Hoq84qvy7RVb0+r/sFxnq/ePsdfnc4sW7w==","shasum":"7bdbbacd864d86b277cf2ddf5347a22b47440ec3","tarball":"https://registry.npmjs.org/@auranw/aurajs/-/aurajs-1.0.0-alpha1.tgz","fileCount":39,"unpackedSize":155587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh39qUCRA9TVsSAnZWagAA4cQP/iXsjsyLve4uCCYm6f+Z\nY5qbBIDJG0529zMztPl7hOILTPKYNnsT0c5azb4YmHI1VpHrPOdtf7yV7vBB\nEzJwrMgR11uS8r5ahYLqNRX7glyJeoGIdQq/x5UhSggQ8cbl2QZQ+CW43FsE\nsa8MZ+gVV97y16jTTFDNpQ+umohZ+haO8tly3cB1mYG7nvoTAy90Om/MLVa0\nWo+B3akGGYlrS8LgNhnx6z91YQgGb+fzYsBIM2/FclXM7ZGucej3GsJNUjKp\nemVkQVh6wRLlWk4cbXTfPPknzgUcJYeJmF1ouMgMdavnCzykyP68+xWaxE+/\nHkiFQiX9E7yvgyRkJVw11r9EnvP8Z91p28NzUp7GmG8fxz6iACxWT3sRz0aX\niI5D1cojDPcOYxMqbc36I3E3s9EmmSNcpDNdCDFqDuDIogRi769bHJiisWlM\n9R2r3aMLy+uWpzcghQaF3h2GnFKiU9mCHHsaZfiWduxZiC3g2jDGLzPTyQA+\ndH31T/QP6IoxSrVGugf+G9V7FN3GSVO64ZDwvt03nCsUcouG95ke7YNuEeBR\n11CnwMto7G1/ms4AUaotfJBhwWux9egS+zQYTY9slCrOunHbnXaolZ02XcJG\nXOda4LdZygCWF5VIb/6MWhpLQY0HYo3Aw3ivjRWa7p7PTnN/haKQdIcJOHNN\nxNiQ\r\n=ie6/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtO5x45/8PeDWvoGMdwvgtg3LsCOi7vHmjMrVRENvmRAiEAqq5Xi68hFb5cMIZANLWYDxgEgp4B3LU1S7+NEY8aiBk="}]},"_npmUser":{"name":"yeshidolma","email":"phanhocit@gmail.com"},"directories":{},"maintainers":[{"name":"yeshidolma","email":"phanhocit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aurajs_1.0.0-alpha1_1642060436668_0.7025253846014212"},"_hasShrinkwrap":false},"1.0.0-alpha2":{"name":"@auranw/aurajs","version":"1.0.0-alpha2","description":"AuraJs a JavaScript SDK for writing applications that interact with the smart contract Aura blockchain from either Node.js","author":{"name":"PhanHoc"},"repository":{"type":"git","url":"git+https://github.com/aura-nw/aurajs.git"},"license":"MIT","keywords":["typescript","aurajs","nft"],"main":"./dist/tsc/main.js","types":"./dist/tsc/main.d.ts","bin":{"my-cli-tool":"dist/esbuild/cli.js"},"scripts":{"lint":"eslint src/ --ext .js,.jsx,.ts,.tsx","test":"jest","clean":"rm -rf dist build package","ts-node":"ts-node","docs":"typedoc --entryPoints src/main.ts","build":"tsc -p tsconfig.json","build-all":"yarn clean && yarn build"},"devDependencies":{"@types/jest":"^26.0.21","@types/node":"^15.0.1","@typescript-eslint/eslint-plugin":"^4.19.0","@typescript-eslint/parser":"^4.19.0","esbuild":"^0.11.11","eslint":"^7.22.0","jest":"^26.6.3","ts-jest":"^26.5.4","ts-node":"^9.1.1","typedoc":"^0.20.35","typescript":"^4.2.3","@types/pako":"^1.0.3"},"dependencies":{"@cosmjs/encoding":"^0.27.0","@cosmjs/stargate":"^0.27.0","cosmjs-types":"^0.4.0","long":"^4.0.0","pako":"^2.0.4"},"readme":"# AuraJs SDK\nAuraJs a JavaScript SDK for writing applications that interact with the smart contract Aura blockchain from either Node.js or browser environments\n\n## Features\n- Written in TypeScript, with type definitions\n- Works in Node.js, in the browser\n\n## Installation\nGrab the latest version off NPM:\n\n```bash\nnpm install @auranw/aurajs\n```\n\n## Usage\nAuraJs can be use in Node.js\n\n```typescript\nimport {SigningAuraWasmClient} from '@auranw/aurajs';\nimport {DirectSecp256k1HdWallet} from '@cosmjs/proto-signing';\n\nconst wallet = await DirectSecp256k1HdWallet.fromMnemonic(mnemonic, {prefix:'aura'});\nconst [firstAccount] = await wallet.getAccounts();\n\nconst mnemonic = 'xxx';\nconst rpcEndpoint = 'http://x.x.x.x:26657'; // rpc of testnet aura: http://18.138.28.51:26657\nconst client = await SigningAuraWasmClient.connectWithSigner(rpcEndpoint, wallet);\n\nconst contractAddress = 'aura14hj2tavq8fpesdwxxcu44rty3hh90vhurzxerr';\nconst mintMsg = {\n  mint: {\n    token_id: 'token1',\n    owner: 'aura1mmsenr5nejugxqv6jtetlckwjhsmft7f8dqud4',\n    token_uri: 'ANFT',\n    extension: {}\n  }\n};\nconst fee = {\n  amount: [\n    {\n      denom: 'uaura',\n      amount: '16',\n    },\n  ],\n  gas: '152375',\n}\nconst result = await client.execute(firstAccount.address, contractAddress, mintMsg, fee);\n\n```\n## License\nThis software is licensed under the MIT license\n","readmeFilename":"README.md","gitHead":"c9e1796fb2e040c4655c5d8769a698529062894b","bugs":{"url":"https://github.com/aura-nw/aurajs/issues"},"homepage":"https://github.com/aura-nw/aurajs#readme","_id":"@auranw/aurajs@1.0.0-alpha2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-EKn5XfQb6WzzZWGHLMJQnOh10mHNj1JEK2Asm+oVdH7dzZyOG5+XmvJrqe4DpGVT0RKPzvaeMl/6NaZJRHov7w==","shasum":"e73d445c97fadbd397cd26e642a4e3a317d5188f","tarball":"https://registry.npmjs.org/@auranw/aurajs/-/aurajs-1.0.0-alpha2.tgz","fileCount":47,"unpackedSize":535664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6NIYCRA9TVsSAnZWagAAR0EP/iBEZ3kjC8dUSR5ccJD9\naOSN1X4xcEN9D0SZBswmxAB/b1T9Dae9nJy1z+F4wny6AwWAFMZEjdfHaOhj\nxRjzOJ0Xq75IBCW/7w7gFJOwsHrleNv7nWYISbyeNwoCZcugZ0nxw8n5iDX/\nMUFbwbOHvtWcBFTWWwv/eymrbZNbdl0bpty7tvdMWY/x0VMWF30eLRz7qyD8\n/f06D2uPtgYDaDAbQmw8Oq83n5U2QpLD3hXur43OmYFHwl6jNUel78dP60qR\n4cTHmWVNggggehIH/Izwg0wCKvUM6iY5JmSlKchh0/9CSuqvvjx+DpjWNL0F\ndIUS85QRtubrDqiWmInnS7P5/txjZxovp+7s+U0gNjGddwlE8k1d85k2dFKM\nqFZpGVVN8ZLLBPgyWZvn3RnBpzN9C2s8FWTFmhsEgj1D0ZLRBH3PtKCOmYj8\nLUwrVSzKigK+31n4FWy4H7EFNRmychmQnOeMRdnEcj92YT9z6oxpT8T+QEx4\n1aNwnV6uRsDAFvQ8okEK3vjNhEhdDuAlzQOveiE5JFtA4ajrzs/cSzCV12yn\nQTR7XszCYwWqMxe0EAu2SWS8wGPCXUA/Z7ZJs8gBJgPY5wNzjyTXxEF/9l8b\nhUGlbXgYSsezQgPrSGCY5WbYhr6C0D87e2Hk+ZNpxVCIfxxPcGKefHHvPCHV\nCwFp\r\n=8RM8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDJFOcCRf0tjR3LrYxA3VScPzW+MM9DB3C6hBtoDb1TAiBbUg7oQ3GIn5Hj2OZ0GdK78pF+Kg14ROPXubcvIhMp/w=="}]},"_npmUser":{"name":"yeshidolma","email":"phanhocit@gmail.com"},"directories":{},"maintainers":[{"name":"yeshidolma","email":"phanhocit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aurajs_1.0.0-alpha2_1642648087548_0.9246284125318078"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-13T07:53:56.622Z","1.0.0-alpha1":"2022-01-13T07:53:56.938Z","modified":"2022-04-04T16:25:07.509Z","1.0.0-alpha2":"2022-01-20T03:08:08.163Z"},"maintainers":[{"name":"yeshidolma","email":"phanhocit@gmail.com"}],"description":"AuraJs a JavaScript SDK for writing applications that interact with the smart contract Aura blockchain from either Node.js","homepage":"https://github.com/aura-nw/aurajs#readme","keywords":["typescript","aurajs","nft"],"repository":{"type":"git","url":"git+https://github.com/aura-nw/aurajs.git"},"author":{"name":"PhanHoc"},"bugs":{"url":"https://github.com/aura-nw/aurajs/issues"},"license":"MIT","readme":"","readmeFilename":""}