From d0bc9d4a621979140fceb8bd789f0c577ebb79bd Mon Sep 17 00:00:00 2001 From: ducphamle2 Date: Tue, 12 Nov 2024 08:50:55 -0800 Subject: [PATCH 1/6] fix: pump cosmjs temp --- package.json | 16 +- .../cosmjs-stargate/query-custom-height.ts | 88 ++++---- .../cosmwasm-stargate/basic-custom-height.ts | 50 ++--- yarn.lock | 206 ++++++++++++++++-- 4 files changed, 261 insertions(+), 99 deletions(-) diff --git a/package.json b/package.json index d2ba6af..ed9eeee 100644 --- a/package.json +++ b/package.json @@ -18,17 +18,17 @@ "node": ">=18.18.0" }, "dependencies": { - "@cosmjs/amino": "^0.31.3", - "@cosmjs/cosmwasm-stargate": "^0.31.3", - "@cosmjs/crypto": "^0.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/proto-signing": "^0.31.3", - "@cosmjs/stargate": "^0.31.3", - "@cosmjs/tendermint-rpc": "^0.31.3" + "@cosmjs/amino": "0.32.4", + "@cosmjs/cosmwasm-stargate": "0.32.4", + "@cosmjs/crypto": "0.32.4", + "@cosmjs/encoding": "0.32.4", + "@cosmjs/proto-signing": "0.32.4", + "@cosmjs/stargate": "0.32.4", + "@cosmjs/tendermint-rpc": "0.32.4" }, "devDependencies": { "@eslint/js": "^9.7.0", - "@oraichain/cw-simulate": "^2.8.87", + "@oraichain/cw-simulate": "^2.8.103", "@types/eslint__js": "^8.42.3", "@types/lodash": "^4.17.0", "@types/node": "^20.11.30", diff --git a/packages/examples/src/cosmjs-stargate/query-custom-height.ts b/packages/examples/src/cosmjs-stargate/query-custom-height.ts index 60cc8b7..dc51c4e 100644 --- a/packages/examples/src/cosmjs-stargate/query-custom-height.ts +++ b/packages/examples/src/cosmjs-stargate/query-custom-height.ts @@ -1,48 +1,48 @@ -import { StargateClient } from "@cosmjs/stargate"; -import { ORAI } from "@oraichain/common"; -import { assert } from "console"; -import { setTimeout } from "timers/promises"; +// import { StargateClient } from "@cosmjs/stargate"; +// import { ORAI } from "@oraichain/common"; +// import { assert } from "console"; +// import { setTimeout } from "timers/promises"; -(async () => { - const rpc = "https://rpc.orai.io"; - const { account: distributionAccount } = await fetch( - "https://lcd.orai.io/cosmos/auth/v1beta1/module_accounts/distribution" - ).then((data) => data.json()); +// (async () => { +// const rpc = "https://rpc.orai.io"; +// const { account: distributionAccount } = await fetch( +// "https://lcd.orai.io/cosmos/auth/v1beta1/module_accounts/distribution" +// ).then((data) => data.json()); - const { address } = distributionAccount.base_account; - const stargateClient = await StargateClient.connect(rpc); - const latestHeight = await stargateClient.getHeight(); - const { amount: distrBalance } = await stargateClient.getBalance( - address, - ORAI - ); - const stargateClientTenHeightBefore = await StargateClient.connect(rpc, { - desiredHeight: latestHeight - 10 - }); - const stargateClientDesiredFiveHeightBefore = await StargateClient.connect( - rpc, - { - desiredHeight: latestHeight - 5 - } - ); +// const { address } = distributionAccount.base_account; +// const stargateClient = await StargateClient.connect(rpc); +// const latestHeight = await stargateClient.getHeight(); +// const { amount: distrBalance } = await stargateClient.getBalance( +// address, +// ORAI +// ); +// const stargateClientTenHeightBefore = await StargateClient.connect(rpc, { +// desiredHeight: latestHeight - 10 +// }); +// const stargateClientDesiredFiveHeightBefore = await StargateClient.connect( +// rpc, +// { +// desiredHeight: latestHeight - 5 +// } +// ); - // query balance of distribution module at latest, 10 and 5 heights before that - const { amount: distrBalanceTenBefore } = - await stargateClientTenHeightBefore.getBalance(address, ORAI); - const { amount: distrBalanceFiveBefore } = - await stargateClientDesiredFiveHeightBefore.getBalance(address, ORAI); +// // query balance of distribution module at latest, 10 and 5 heights before that +// const { amount: distrBalanceTenBefore } = +// await stargateClientTenHeightBefore.getBalance(address, ORAI); +// const { amount: distrBalanceFiveBefore } = +// await stargateClientDesiredFiveHeightBefore.getBalance(address, ORAI); - // after several blocks, the balances 10 heights before should stay the same, proving that we can query states at a specific height - await setTimeout(2000); - const { amount: distrBalanceTenBeforeAgain } = - await stargateClientTenHeightBefore.getBalance(address, ORAI); - assert(distrBalanceTenBeforeAgain === distrBalanceTenBefore); - assert(distrBalanceTenBeforeAgain !== distrBalance); - assert(distrBalanceTenBeforeAgain !== distrBalanceFiveBefore); - console.log( - distrBalance, - distrBalanceTenBefore, - distrBalanceTenBeforeAgain, - distrBalanceFiveBefore - ); -})(); +// // after several blocks, the balances 10 heights before should stay the same, proving that we can query states at a specific height +// await setTimeout(2000); +// const { amount: distrBalanceTenBeforeAgain } = +// await stargateClientTenHeightBefore.getBalance(address, ORAI); +// assert(distrBalanceTenBeforeAgain === distrBalanceTenBefore); +// assert(distrBalanceTenBeforeAgain !== distrBalance); +// assert(distrBalanceTenBeforeAgain !== distrBalanceFiveBefore); +// console.log( +// distrBalance, +// distrBalanceTenBefore, +// distrBalanceTenBeforeAgain, +// distrBalanceFiveBefore +// ); +// })(); diff --git a/packages/examples/src/cosmwasm-stargate/basic-custom-height.ts b/packages/examples/src/cosmwasm-stargate/basic-custom-height.ts index 2402014..0f5d69d 100644 --- a/packages/examples/src/cosmwasm-stargate/basic-custom-height.ts +++ b/packages/examples/src/cosmwasm-stargate/basic-custom-height.ts @@ -1,28 +1,28 @@ -import dotenv from "dotenv"; -import { ORAI_TOKEN_CONTRACTS } from "@oraichain/common"; -import { SigningCosmWasmClient } from "@cosmjs/cosmwasm-stargate"; -import assert from "assert"; -dotenv.config(); +// import dotenv from "dotenv"; +// import { ORAI_TOKEN_CONTRACTS } from "@oraichain/common"; +// import { SigningCosmWasmClient } from "@cosmjs/cosmwasm-stargate"; +// import assert from "assert"; +// dotenv.config(); -(async () => { - const oldStatus = await queryCheckpointByIndex(process.env.RPC, 36975367); - const newStatus = await queryCheckpointByIndex(process.env.RPC, 36975369); +// (async () => { +// const oldStatus = await queryCheckpointByIndex(process.env.RPC, 36975367); +// const newStatus = await queryCheckpointByIndex(process.env.RPC, 36975369); - assert(oldStatus !== newStatus); -})(); +// assert(oldStatus !== newStatus); +// })(); -async function queryCheckpointByIndex( - rpc: string, - height: number -): Promise { - const client = await SigningCosmWasmClient.connect(rpc, height); - // client.setQueryClientWithHeight(36975367); - const result = await client.queryContractSmart( - "orai12sxqkgsystjgd9faa48ghv3zmkfqc6qu05uy20mvv730vlzkpvls5zqxuz", - { - checkpoint_by_index: { index: 13 } - } - ); - console.log(result.status); - return result.status; -} +// async function queryCheckpointByIndex( +// rpc: string, +// height: number +// ): Promise { +// const client = await SigningCosmWasmClient.connect(rpc, height); +// // client.setQueryClientWithHeight(36975367); +// const result = await client.queryContractSmart( +// "orai12sxqkgsystjgd9faa48ghv3zmkfqc6qu05uy20mvv730vlzkpvls5zqxuz", +// { +// checkpoint_by_index: { index: 13 } +// } +// ); +// console.log(result.status); +// return result.status; +// } diff --git a/yarn.lock b/yarn.lock index f1b5ce9..4457816 100644 --- a/yarn.lock +++ b/yarn.lock @@ -147,6 +147,18 @@ __metadata: languageName: node linkType: hard +"@cosmjs/amino@npm:0.32.4, @cosmjs/amino@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/amino@npm:0.32.4" + dependencies: + "@cosmjs/crypto": "npm:^0.32.4" + "@cosmjs/encoding": "npm:^0.32.4" + "@cosmjs/math": "npm:^0.32.4" + "@cosmjs/utils": "npm:^0.32.4" + checksum: 10c0/cd8e215b0406f5c7b73ab0a21106d06b6f76b1da12f1ab7b612884e1dd8bc626966dc67d4e7580090ade131546cbec70000f854e6596935299d054b788929a7e + languageName: node + linkType: hard + "@cosmjs/amino@npm:^0.31.0, @cosmjs/amino@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/amino@npm:0.31.3" @@ -159,7 +171,25 @@ __metadata: languageName: node linkType: hard -"@cosmjs/cosmwasm-stargate@npm:^0.31.0, @cosmjs/cosmwasm-stargate@npm:^0.31.3": +"@cosmjs/cosmwasm-stargate@npm:0.32.4": + version: 0.32.4 + resolution: "@cosmjs/cosmwasm-stargate@npm:0.32.4" + dependencies: + "@cosmjs/amino": "npm:^0.32.4" + "@cosmjs/crypto": "npm:^0.32.4" + "@cosmjs/encoding": "npm:^0.32.4" + "@cosmjs/math": "npm:^0.32.4" + "@cosmjs/proto-signing": "npm:^0.32.4" + "@cosmjs/stargate": "npm:^0.32.4" + "@cosmjs/tendermint-rpc": "npm:^0.32.4" + "@cosmjs/utils": "npm:^0.32.4" + cosmjs-types: "npm:^0.9.0" + pako: "npm:^2.0.2" + checksum: 10c0/f7e285c51ef8b1098a9ea5ca2546a1e226b4fa0a990d95faa6f3b752f3638b6c55f36a56b6f4b11f0a66fd61e3ae8772921d8e99418218df0b2205efe1c82f37 + languageName: node + linkType: hard + +"@cosmjs/cosmwasm-stargate@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/cosmwasm-stargate@npm:0.31.3" dependencies: @@ -178,6 +208,21 @@ __metadata: languageName: node linkType: hard +"@cosmjs/crypto@npm:0.32.4, @cosmjs/crypto@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/crypto@npm:0.32.4" + dependencies: + "@cosmjs/encoding": "npm:^0.32.4" + "@cosmjs/math": "npm:^0.32.4" + "@cosmjs/utils": "npm:^0.32.4" + "@noble/hashes": "npm:^1" + bn.js: "npm:^5.2.0" + elliptic: "npm:^6.5.4" + libsodium-wrappers-sumo: "npm:^0.7.11" + checksum: 10c0/94e742285eb8c7c5393055ba0635f10c06bf87710e953aedc71e3edc2b8e21a12a0d9b5e8eff37e326765f57c9eb3c7fd358f24f639efad4f1a6624eb8189534 + languageName: node + linkType: hard + "@cosmjs/crypto@npm:^0.31.0, @cosmjs/crypto@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/crypto@npm:0.31.3" @@ -193,6 +238,17 @@ __metadata: languageName: node linkType: hard +"@cosmjs/encoding@npm:0.32.4, @cosmjs/encoding@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/encoding@npm:0.32.4" + dependencies: + base64-js: "npm:^1.3.0" + bech32: "npm:^1.1.4" + readonly-date: "npm:^1.0.0" + checksum: 10c0/4a30d5ae1a2d1247d44bda46101ce208c7666d8801ca9a33de94edc35cc22460c16b4834ec84d5a65ffef5e2a4b58605e0a0a056c46bc0a042979ec84acf20cd + languageName: node + linkType: hard + "@cosmjs/encoding@npm:^0.31.0, @cosmjs/encoding@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/encoding@npm:0.31.3" @@ -214,6 +270,16 @@ __metadata: languageName: node linkType: hard +"@cosmjs/json-rpc@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/json-rpc@npm:0.32.4" + dependencies: + "@cosmjs/stream": "npm:^0.32.4" + xstream: "npm:^11.14.0" + checksum: 10c0/b3ebd240f4fb21260e284d2e503ecc61bac898842187ab717f0efb9a5f21272f161f267cc145629caeb9735f80946844384e2bd410275a4744147a44518c0fa0 + languageName: node + linkType: hard + "@cosmjs/math@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/math@npm:0.31.3" @@ -223,6 +289,29 @@ __metadata: languageName: node linkType: hard +"@cosmjs/math@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/math@npm:0.32.4" + dependencies: + bn.js: "npm:^5.2.0" + checksum: 10c0/91e47015be5634d27d71d14c5a05899fb4992b69db02cab1558376dedf8254f96d5e24f097c5601804ae18ed33c7c25d023653ac2bf9d20250fd3e5637f6b101 + languageName: node + linkType: hard + +"@cosmjs/proto-signing@npm:0.32.4, @cosmjs/proto-signing@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/proto-signing@npm:0.32.4" + dependencies: + "@cosmjs/amino": "npm:^0.32.4" + "@cosmjs/crypto": "npm:^0.32.4" + "@cosmjs/encoding": "npm:^0.32.4" + "@cosmjs/math": "npm:^0.32.4" + "@cosmjs/utils": "npm:^0.32.4" + cosmjs-types: "npm:^0.9.0" + checksum: 10c0/6915059d2e6dbe1abda4a747c3b1abd47a9eff4f8cb2cf9a5545f939b656b4a15bbde2bfc1364357f9b2a081a066280c3b469f6d13dd5fc51b429b0f90a54913 + languageName: node + linkType: hard + "@cosmjs/proto-signing@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/proto-signing@npm:0.31.3" @@ -250,6 +339,36 @@ __metadata: languageName: node linkType: hard +"@cosmjs/socket@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/socket@npm:0.32.4" + dependencies: + "@cosmjs/stream": "npm:^0.32.4" + isomorphic-ws: "npm:^4.0.1" + ws: "npm:^7" + xstream: "npm:^11.14.0" + checksum: 10c0/2d94c1fb39016bea3c7c145f4565c8a0fed20c805ac569ea604cd3646c15147b82b8db18a4e3c832d6ae0c3dd14363d4db3d91bcacac922679efba164ed49386 + languageName: node + linkType: hard + +"@cosmjs/stargate@npm:0.32.4, @cosmjs/stargate@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/stargate@npm:0.32.4" + dependencies: + "@confio/ics23": "npm:^0.6.8" + "@cosmjs/amino": "npm:^0.32.4" + "@cosmjs/encoding": "npm:^0.32.4" + "@cosmjs/math": "npm:^0.32.4" + "@cosmjs/proto-signing": "npm:^0.32.4" + "@cosmjs/stream": "npm:^0.32.4" + "@cosmjs/tendermint-rpc": "npm:^0.32.4" + "@cosmjs/utils": "npm:^0.32.4" + cosmjs-types: "npm:^0.9.0" + xstream: "npm:^11.14.0" + checksum: 10c0/c30a3519516aaa7eae58ba827c80fcf74c7fe7a9d3aa5cc8138c3a2768f5f241f59c2f5cec27e9037b4df12b1c6605b4fac9eadb4de97bd84edddc3a80a02e24 + languageName: node + linkType: hard + "@cosmjs/stargate@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/stargate@npm:0.31.3" @@ -279,6 +398,33 @@ __metadata: languageName: node linkType: hard +"@cosmjs/stream@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/stream@npm:0.32.4" + dependencies: + xstream: "npm:^11.14.0" + checksum: 10c0/c677c53f9101c2a36fa03a475d92dea2fa69c475f896751b5e18a5d07087eeecbf6bca2e62a8940003da53fa235a9b2dd78c8257bf19c3f96e3f69fa8d5f183d + languageName: node + linkType: hard + +"@cosmjs/tendermint-rpc@npm:0.32.4, @cosmjs/tendermint-rpc@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/tendermint-rpc@npm:0.32.4" + dependencies: + "@cosmjs/crypto": "npm:^0.32.4" + "@cosmjs/encoding": "npm:^0.32.4" + "@cosmjs/json-rpc": "npm:^0.32.4" + "@cosmjs/math": "npm:^0.32.4" + "@cosmjs/socket": "npm:^0.32.4" + "@cosmjs/stream": "npm:^0.32.4" + "@cosmjs/utils": "npm:^0.32.4" + axios: "npm:^1.6.0" + readonly-date: "npm:^1.0.0" + xstream: "npm:^11.14.0" + checksum: 10c0/5fae7afcdf98cc7dd36922aa1586254cc8c202cf8fe66804e61d793d31dcff816f40d33f7a0eb72c1b9226c7c361d4848e4ff12d0489f6fa66f47f0c86ae18dd + languageName: node + linkType: hard + "@cosmjs/tendermint-rpc@npm:^0.31.3": version: 0.31.3 resolution: "@cosmjs/tendermint-rpc@npm:0.31.3" @@ -304,6 +450,13 @@ __metadata: languageName: node linkType: hard +"@cosmjs/utils@npm:^0.32.4": + version: 0.32.4 + resolution: "@cosmjs/utils@npm:0.32.4" + checksum: 10c0/d5ff8b235094be1150853a715116049f73eb5cdfeea8ce8e22ecccc61ec99792db457404d4307782b1a2f935dcf438f5c485beabfcfbc1dc5df26eb6e6da9062 + languageName: node + linkType: hard + "@cspotcode/source-map-support@npm:^0.8.0": version: 0.8.1 resolution: "@cspotcode/source-map-support@npm:0.8.1" @@ -1634,9 +1787,9 @@ __metadata: languageName: unknown linkType: soft -"@oraichain/cosmwasm-vm-js@npm:^0.2.86": - version: 0.2.86 - resolution: "@oraichain/cosmwasm-vm-js@npm:0.2.86" +"@oraichain/cosmwasm-vm-js@npm:^0.2.88": + version: 0.2.89 + resolution: "@oraichain/cosmwasm-vm-js@npm:0.2.89" dependencies: "@cosmjs/amino": "npm:^0.31.0" "@cosmjs/crypto": "npm:^0.31.0" @@ -1646,25 +1799,27 @@ __metadata: bech32: "npm:1.1.4" elliptic: "npm:^6.5.4" secp256k1: "npm:^4.0.3" - checksum: 10c0/f708bc4685aa3850ecc384e9d37f680261c7ecbeb77aac13047f4ac70e4a1a31d452256bbfd59e993756e180206d3baea084504ccf8f3bf556edb9f1db69a2ea + checksum: 10c0/753fe6d9dd54fb899de964c49f2e98cbfcf25f16ff71bd1aec29e09125eab12113339d5167eb25a06f678147f05014a78afc65afc81b2946c6ebabe487a5db24 languageName: node linkType: hard -"@oraichain/cw-simulate@npm:^2.8.87": - version: 2.8.87 - resolution: "@oraichain/cw-simulate@npm:2.8.87" +"@oraichain/cw-simulate@npm:^2.8.103": + version: 2.8.103 + resolution: "@oraichain/cw-simulate@npm:2.8.103" dependencies: - "@cosmjs/amino": "npm:^0.31.0" - "@cosmjs/cosmwasm-stargate": "npm:^0.31.0" - "@cosmjs/crypto": "npm:^0.31.0" - "@cosmjs/encoding": "npm:^0.31.0" + "@cosmjs/amino": "npm:^0.31.3" + "@cosmjs/cosmwasm-stargate": "npm:^0.31.3" + "@cosmjs/crypto": "npm:^0.31.3" + "@cosmjs/encoding": "npm:^0.31.3" + "@cosmjs/stargate": "npm:^0.31.3" "@kiruse/serde": "npm:^0.8.0-rc.6" - "@oraichain/cosmwasm-vm-js": "npm:^0.2.86" + "@oraichain/common": "npm:^1.1.1" + "@oraichain/cosmwasm-vm-js": "npm:^0.2.88" eventemitter3: "npm:^5.0.0" protobufjs: "npm:^7.2.3" ts-results: "npm:^3.3.0" tslib: "npm:^2.6.1" - checksum: 10c0/80a2ddcf9dad33d6797823b2ef6fc80dea89aaff7a3a095ca970beb444bf428eba74cedf803dc500bea2ee6026c8e30ec1665ad605913fe57d21ddc509315f2e + checksum: 10c0/8f0a34d9ab32fc19ff147a5c50d53231c334904cb65f5b03dbdcfe297dcd03b3f2dfa2c4d4b25b9319637cb7be7cd60af18333a2f524a8f456c83da0b73cfff8 languageName: node linkType: hard @@ -3295,6 +3450,13 @@ __metadata: languageName: node linkType: hard +"cosmjs-types@npm:^0.9.0": + version: 0.9.0 + resolution: "cosmjs-types@npm:0.9.0" + checksum: 10c0/bc20f4293fb34629d7c5f96bafe533987f753df957ff68eb078d0128ae5a418320cb945024441769a07bb9bc5dde9d22b972fd40d485933e5706ea191c43727b + languageName: node + linkType: hard + "create-require@npm:^1.1.0": version: 1.1.1 resolution: "create-require@npm:1.1.1" @@ -7469,15 +7631,15 @@ __metadata: version: 0.0.0-use.local resolution: "root@workspace:." dependencies: - "@cosmjs/amino": "npm:^0.31.3" - "@cosmjs/cosmwasm-stargate": "npm:^0.31.3" - "@cosmjs/crypto": "npm:^0.31.3" - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/proto-signing": "npm:^0.31.3" - "@cosmjs/stargate": "npm:^0.31.3" - "@cosmjs/tendermint-rpc": "npm:^0.31.3" + "@cosmjs/amino": "npm:0.32.4" + "@cosmjs/cosmwasm-stargate": "npm:0.32.4" + "@cosmjs/crypto": "npm:0.32.4" + "@cosmjs/encoding": "npm:0.32.4" + "@cosmjs/proto-signing": "npm:0.32.4" + "@cosmjs/stargate": "npm:0.32.4" + "@cosmjs/tendermint-rpc": "npm:0.32.4" "@eslint/js": "npm:^9.7.0" - "@oraichain/cw-simulate": "npm:^2.8.87" + "@oraichain/cw-simulate": "npm:^2.8.103" "@types/eslint__js": "npm:^8.42.3" "@types/lodash": "npm:^4.17.0" "@types/node": "npm:^20.11.30" From 25e6d41fae45341a22d712dfa9253a8cfaddb9cf Mon Sep 17 00:00:00 2001 From: ducphamle2 Date: Tue, 12 Nov 2024 08:51:28 -0800 Subject: [PATCH 2/6] v1.2.0 --- lerna.json | 2 +- packages/common/package.json | 2 +- packages/examples/package.json | 4 ++-- yarn.lock | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lerna.json b/lerna.json index ce5120a..71c0287 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", "npmClient": "yarn", - "version": "1.1.1", + "version": "1.2.0", "command": { "publish": { "registry": "https://registry.npmjs.org/" diff --git a/packages/common/package.json b/packages/common/package.json index 7d15330..4fb3917 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/common", - "version": "1.1.1", + "version": "1.2.0", "main": "build/index.js", "license": "MIT", "scripts": { diff --git a/packages/examples/package.json b/packages/examples/package.json index 5966f2d..1b5f680 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/examples", - "version": "1.1.1", + "version": "1.2.0", "main": "build/index.js", "license": "MIT", "scripts": { @@ -10,7 +10,7 @@ "build/" ], "dependencies": { - "@oraichain/common": "^1.1.1", + "@oraichain/common": "^1.2.0", "bech32": "^1.1.4", "cosmjs-types": "^0.8.0", "dotenv": "^16.4.5" diff --git a/yarn.lock b/yarn.lock index 4457816..ff79bdb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1772,7 +1772,7 @@ __metadata: languageName: node linkType: hard -"@oraichain/common@npm:^1.1.1, @oraichain/common@workspace:packages/common": +"@oraichain/common@npm:^1.1.1, @oraichain/common@npm:^1.2.0, @oraichain/common@workspace:packages/common": version: 0.0.0-use.local resolution: "@oraichain/common@workspace:packages/common" dependencies: @@ -1827,7 +1827,7 @@ __metadata: version: 0.0.0-use.local resolution: "@oraichain/examples@workspace:packages/examples" dependencies: - "@oraichain/common": "npm:^1.1.1" + "@oraichain/common": "npm:^1.2.0" bech32: "npm:^1.1.4" cosmjs-types: "npm:^0.8.0" dotenv: "npm:^16.4.5" From 6a59dbfa944f8ed83d7c680a4e4e5a8d0a46899d Mon Sep 17 00:00:00 2001 From: trung2891 Date: Wed, 13 Nov 2024 01:06:23 +0700 Subject: [PATCH 3/6] feat: register doge --- chains/0x38.json | 9 +++++++++ chains/Oraichain.json | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/chains/0x38.json b/chains/0x38.json index fa0c3c9..0ba9820 100644 --- a/chains/0x38.json +++ b/chains/0x38.json @@ -73,6 +73,15 @@ "coinGeckoId": "binancecoin", "bridgeTo": ["Oraichain"], "coinImageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/1839.png" + }, + { + "coinDenom": "DOGE", + "coinMinimalDenom": "erc20:0xbA2aE424d960c26247Dd6c32edC70B295c744C43:Dogecoin", + "contractAddress": "0xbA2aE424d960c26247Dd6c32edC70B295c744C43", + "coinDecimals": 8, + "coinGeckoId": "dogecoin", + "bridgeTo": ["Oraichain"], + "coinImageUrl": "https://assets.coingecko.com/coins/images/5/standard/dogecoin.png?1696501409" } ], "txExplorer": { diff --git a/chains/Oraichain.json b/chains/Oraichain.json index d41751d..c47b7c1 100644 --- a/chains/Oraichain.json +++ b/chains/Oraichain.json @@ -265,6 +265,14 @@ "bridgeTo": ["ton"], "coinDecimals": 9, "coinImageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/32195.png" + }, + { + "coinDenom": "DOGE", + "coinGeckoId": "dogecoin", + "coinMinimalDenom": "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/DogeBNB", + "bridgeTo": ["0x38"], + "coinDecimals": 8, + "coinImageUrl": "https://assets.coingecko.com/coins/images/5/standard/dogecoin.png?1696501409" } ] } From fd0873cb17859c6e48943d9f3c142929b1bf078b Mon Sep 17 00:00:00 2001 From: trung2891 Date: Thu, 14 Nov 2024 09:24:49 +0700 Subject: [PATCH 4/6] chore: remove cw-simulate --- package.json | 1 - yarn.lock | 308 +-------------------------------------------------- 2 files changed, 4 insertions(+), 305 deletions(-) diff --git a/package.json b/package.json index ed9eeee..2af7532 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ }, "devDependencies": { "@eslint/js": "^9.7.0", - "@oraichain/cw-simulate": "^2.8.103", "@types/eslint__js": "^8.42.3", "@types/lodash": "^4.17.0", "@types/node": "^20.11.30", diff --git a/yarn.lock b/yarn.lock index ff79bdb..6982976 100644 --- a/yarn.lock +++ b/yarn.lock @@ -159,18 +159,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/amino@npm:^0.31.0, @cosmjs/amino@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/amino@npm:0.31.3" - dependencies: - "@cosmjs/crypto": "npm:^0.31.3" - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/math": "npm:^0.31.3" - "@cosmjs/utils": "npm:^0.31.3" - checksum: 10c0/2f5f866df043bef072ef8802844beacd282027dcc32f69428fe98e256d5fec0dd4a45a4c7d6c45c8a7d7f4387893ef02c8b471a32d6450215f56157d6eaa467e - languageName: node - linkType: hard - "@cosmjs/cosmwasm-stargate@npm:0.32.4": version: 0.32.4 resolution: "@cosmjs/cosmwasm-stargate@npm:0.32.4" @@ -189,25 +177,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/cosmwasm-stargate@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/cosmwasm-stargate@npm:0.31.3" - dependencies: - "@cosmjs/amino": "npm:^0.31.3" - "@cosmjs/crypto": "npm:^0.31.3" - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/math": "npm:^0.31.3" - "@cosmjs/proto-signing": "npm:^0.31.3" - "@cosmjs/stargate": "npm:^0.31.3" - "@cosmjs/tendermint-rpc": "npm:^0.31.3" - "@cosmjs/utils": "npm:^0.31.3" - cosmjs-types: "npm:^0.8.0" - long: "npm:^4.0.0" - pako: "npm:^2.0.2" - checksum: 10c0/905b2139672d6ac947e19daad86b46cb1a0ff62781344e8514d41a4935911bdd75b833b4fe88fc602502358cad7cf231b40f68e5825e3e8da7852415e23991cc - languageName: node - linkType: hard - "@cosmjs/crypto@npm:0.32.4, @cosmjs/crypto@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/crypto@npm:0.32.4" @@ -223,21 +192,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/crypto@npm:^0.31.0, @cosmjs/crypto@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/crypto@npm:0.31.3" - dependencies: - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/math": "npm:^0.31.3" - "@cosmjs/utils": "npm:^0.31.3" - "@noble/hashes": "npm:^1" - bn.js: "npm:^5.2.0" - elliptic: "npm:^6.5.4" - libsodium-wrappers-sumo: "npm:^0.7.11" - checksum: 10c0/595de61be8832c0f012e80343427efc5f7dec6157f31410908edefcae710f31bed723b50d0979b66d961765854e76d89e6942b5430a727f458b8d7e67fc7b174 - languageName: node - linkType: hard - "@cosmjs/encoding@npm:0.32.4, @cosmjs/encoding@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/encoding@npm:0.32.4" @@ -249,27 +203,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/encoding@npm:^0.31.0, @cosmjs/encoding@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/encoding@npm:0.31.3" - dependencies: - base64-js: "npm:^1.3.0" - bech32: "npm:^1.1.4" - readonly-date: "npm:^1.0.0" - checksum: 10c0/48eb9f9259bdfd88db280b6b5ea970fd1b3b0f81a8f4253f315ff2c736b27dbe0fdf74405c52ad35fcd4b16f1fde4250c4de936997b9d92e79cb97d98cc538c7 - languageName: node - linkType: hard - -"@cosmjs/json-rpc@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/json-rpc@npm:0.31.3" - dependencies: - "@cosmjs/stream": "npm:^0.31.3" - xstream: "npm:^11.14.0" - checksum: 10c0/8cc8fa9490e512a2865e888b162e2cc38477a6a5b6261fce885579712c880087c8bb2733717eb5fe03c131f31064e1f9060f87ae2a4d1d01d6c465761ab1a32d - languageName: node - linkType: hard - "@cosmjs/json-rpc@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/json-rpc@npm:0.32.4" @@ -280,15 +213,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/math@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/math@npm:0.31.3" - dependencies: - bn.js: "npm:^5.2.0" - checksum: 10c0/7dd742ee6ff52bc322d3cd43b9ab0e15d70b41b74a487f64c23609ffe5abce9a02cbec46a729155608a1abb3bc0067ac97361f0af23453fb0b4c438b17e37a99 - languageName: node - linkType: hard - "@cosmjs/math@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/math@npm:0.32.4" @@ -312,33 +236,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/proto-signing@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/proto-signing@npm:0.31.3" - dependencies: - "@cosmjs/amino": "npm:^0.31.3" - "@cosmjs/crypto": "npm:^0.31.3" - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/math": "npm:^0.31.3" - "@cosmjs/utils": "npm:^0.31.3" - cosmjs-types: "npm:^0.8.0" - long: "npm:^4.0.0" - checksum: 10c0/91bc6c0d03462b16e85fd6acfd3d28ab56a8de9a199f97601aac30aace75b64250bf0efcdda0aa5e3ea9e6defa46844b5f8e4358aabaeeb16d439480f55bbff7 - languageName: node - linkType: hard - -"@cosmjs/socket@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/socket@npm:0.31.3" - dependencies: - "@cosmjs/stream": "npm:^0.31.3" - isomorphic-ws: "npm:^4.0.1" - ws: "npm:^7" - xstream: "npm:^11.14.0" - checksum: 10c0/35ce93726f1c5c7d4cdf49c68d754b5587ac94fa65fd66f3db625c4794413359e225ddcaa55ee0bb17806a0b9cc13f884a7ec780503267addc6d03aacee1770c - languageName: node - linkType: hard - "@cosmjs/socket@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/socket@npm:0.32.4" @@ -369,35 +266,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/stargate@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/stargate@npm:0.31.3" - dependencies: - "@confio/ics23": "npm:^0.6.8" - "@cosmjs/amino": "npm:^0.31.3" - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/math": "npm:^0.31.3" - "@cosmjs/proto-signing": "npm:^0.31.3" - "@cosmjs/stream": "npm:^0.31.3" - "@cosmjs/tendermint-rpc": "npm:^0.31.3" - "@cosmjs/utils": "npm:^0.31.3" - cosmjs-types: "npm:^0.8.0" - long: "npm:^4.0.0" - protobufjs: "npm:~6.11.3" - xstream: "npm:^11.14.0" - checksum: 10c0/85ce69ac6314f5194206c01f6ef346dd3e1fbfbe4489adf5926badfabcc61913ef97e5f6d155bd2370e4e5cdedfcfb951248321b37fdfaf8e866fa0711c5cfbd - languageName: node - linkType: hard - -"@cosmjs/stream@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/stream@npm:0.31.3" - dependencies: - xstream: "npm:^11.14.0" - checksum: 10c0/e0279b925c4f02535ba9b1f6f9563a1db4fb53ed1396e4e3958fcad887e047a78b431a227dd7c159aadb6e0e054db9dfb34b7a9128f2082ff3114bcfd74516c3 - languageName: node - linkType: hard - "@cosmjs/stream@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/stream@npm:0.32.4" @@ -425,31 +293,6 @@ __metadata: languageName: node linkType: hard -"@cosmjs/tendermint-rpc@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/tendermint-rpc@npm:0.31.3" - dependencies: - "@cosmjs/crypto": "npm:^0.31.3" - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/json-rpc": "npm:^0.31.3" - "@cosmjs/math": "npm:^0.31.3" - "@cosmjs/socket": "npm:^0.31.3" - "@cosmjs/stream": "npm:^0.31.3" - "@cosmjs/utils": "npm:^0.31.3" - axios: "npm:^0.21.2" - readonly-date: "npm:^1.0.0" - xstream: "npm:^11.14.0" - checksum: 10c0/1d8d8a78cc1dc54884c0916e709c98d533215f2235ce48f2079cbd8b3a9edf7aa14f216b815d727cacabfead54c0b15ca622fd43243260d8d311bc408edd0f11 - languageName: node - linkType: hard - -"@cosmjs/utils@npm:^0.31.3": - version: 0.31.3 - resolution: "@cosmjs/utils@npm:0.31.3" - checksum: 10c0/26266e1206ed8c7c4e744db1e97fc7a341ffee383ca9f43e6c9e8ff596039a90068c39aadc4f6524b6f2b5b6d581318657f3eb272f98b9e430f2d0df79382b6a - languageName: node - linkType: hard - "@cosmjs/utils@npm:^0.32.4": version: 0.32.4 resolution: "@cosmjs/utils@npm:0.32.4" @@ -1189,15 +1032,6 @@ __metadata: languageName: node linkType: hard -"@kiruse/serde@npm:^0.8.0-rc.6": - version: 0.8.0-rc.6 - resolution: "@kiruse/serde@npm:0.8.0-rc.6" - dependencies: - hash-sum: "npm:^2.0.0" - checksum: 10c0/bdea0b877b4ae900f5bb3146e2a8836dbe3b6be7c83ff1cd2c7c7a2e655c2306124b2db16914a709a777967e5d529572f927c4f9fe461a25a8beb84c36abc756 - languageName: node - linkType: hard - "@lerna/create@npm:8.1.6": version: 8.1.6 resolution: "@lerna/create@npm:8.1.6" @@ -1772,7 +1606,7 @@ __metadata: languageName: node linkType: hard -"@oraichain/common@npm:^1.1.1, @oraichain/common@npm:^1.2.0, @oraichain/common@workspace:packages/common": +"@oraichain/common@npm:^1.2.0, @oraichain/common@workspace:packages/common": version: 0.0.0-use.local resolution: "@oraichain/common@workspace:packages/common" dependencies: @@ -1787,42 +1621,6 @@ __metadata: languageName: unknown linkType: soft -"@oraichain/cosmwasm-vm-js@npm:^0.2.88": - version: 0.2.89 - resolution: "@oraichain/cosmwasm-vm-js@npm:0.2.89" - dependencies: - "@cosmjs/amino": "npm:^0.31.0" - "@cosmjs/crypto": "npm:^0.31.0" - "@cosmjs/encoding": "npm:^0.31.0" - "@oraichain/immutable": "npm:^4.3.9" - "@oraichain/wasm-json-toolkit": "npm:^1.0.24" - bech32: "npm:1.1.4" - elliptic: "npm:^6.5.4" - secp256k1: "npm:^4.0.3" - checksum: 10c0/753fe6d9dd54fb899de964c49f2e98cbfcf25f16ff71bd1aec29e09125eab12113339d5167eb25a06f678147f05014a78afc65afc81b2946c6ebabe487a5db24 - languageName: node - linkType: hard - -"@oraichain/cw-simulate@npm:^2.8.103": - version: 2.8.103 - resolution: "@oraichain/cw-simulate@npm:2.8.103" - dependencies: - "@cosmjs/amino": "npm:^0.31.3" - "@cosmjs/cosmwasm-stargate": "npm:^0.31.3" - "@cosmjs/crypto": "npm:^0.31.3" - "@cosmjs/encoding": "npm:^0.31.3" - "@cosmjs/stargate": "npm:^0.31.3" - "@kiruse/serde": "npm:^0.8.0-rc.6" - "@oraichain/common": "npm:^1.1.1" - "@oraichain/cosmwasm-vm-js": "npm:^0.2.88" - eventemitter3: "npm:^5.0.0" - protobufjs: "npm:^7.2.3" - ts-results: "npm:^3.3.0" - tslib: "npm:^2.6.1" - checksum: 10c0/8f0a34d9ab32fc19ff147a5c50d53231c334904cb65f5b03dbdcfe297dcd03b3f2dfa2c4d4b25b9319637cb7be7cd60af18333a2f524a8f456c83da0b73cfff8 - languageName: node - linkType: hard - "@oraichain/examples@workspace:packages/examples": version: 0.0.0-use.local resolution: "@oraichain/examples@workspace:packages/examples" @@ -1834,23 +1632,6 @@ __metadata: languageName: unknown linkType: soft -"@oraichain/immutable@npm:^4.3.9": - version: 4.3.9 - resolution: "@oraichain/immutable@npm:4.3.9" - checksum: 10c0/9d784768cb8bd6349b5f0eb6afcb85bf66978870b201d446a27ad806bbfe4110f56575248e8de4ee63375c0fef9cd54dc8a9e81fa9bc6a397a0962af13c47bc3 - languageName: node - linkType: hard - -"@oraichain/wasm-json-toolkit@npm:^1.0.24": - version: 1.0.24 - resolution: "@oraichain/wasm-json-toolkit@npm:1.0.24" - bin: - json2wasm: bin/json2wasm - wasm2json: bin/wasm2json - checksum: 10c0/d7cce6a07a7c82b73ef0f7ef45f9ee87b4f8bd48fb0549a185e7691f29dcab197e5e53b7142955f2295f1f1d2bca10344668c647b14e7490c93eb60a23e61c8a - languageName: node - linkType: hard - "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -2771,7 +2552,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:0.21.4, axios@npm:^0.21.2": +"axios@npm:0.21.4": version: 0.21.4 resolution: "axios@npm:0.21.4" dependencies: @@ -4008,13 +3789,6 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^5.0.0": - version: 5.0.1 - resolution: "eventemitter3@npm:5.0.1" - checksum: 10c0/4ba5c00c506e6c786b4d6262cfbce90ddc14c10d4667e5c83ae993c9de88aa856033994dd2b35b83e8dc1170e224e66a319fa80adc4c32adcd2379bbc75da814 - languageName: node - linkType: hard - "execa@npm:5.0.0": version: 5.0.0 resolution: "execa@npm:5.0.0" @@ -4701,13 +4475,6 @@ __metadata: languageName: node linkType: hard -"hash-sum@npm:^2.0.0": - version: 2.0.0 - resolution: "hash-sum@npm:2.0.0" - checksum: 10c0/45dee9cf318d7a9b0ba5f766d35bfa14eb9483f9b878b1f980f097a87c2a490219774d42962c0c5c9bf53b1cca51724307bc35a0781218236da3d33715b4962d - languageName: node - linkType: hard - "hash.js@npm:1.1.7, hash.js@npm:^1.0.0, hash.js@npm:^1.0.3": version: 1.1.7 resolution: "hash.js@npm:1.1.7" @@ -5820,13 +5587,6 @@ __metadata: languageName: node linkType: hard -"long@npm:^5.0.0": - version: 5.2.3 - resolution: "long@npm:5.2.3" - checksum: 10c0/6a0da658f5ef683b90330b1af76f06790c623e148222da9d75b60e266bbf88f803232dd21464575681638894a84091616e7f89557aa087fd14116c0f4e0e43d9 - languageName: node - linkType: hard - "longest@npm:^2.0.1": version: 2.0.1 resolution: "longest@npm:2.0.1" @@ -6343,15 +6103,6 @@ __metadata: languageName: node linkType: hard -"node-addon-api@npm:^2.0.0": - version: 2.0.2 - resolution: "node-addon-api@npm:2.0.2" - dependencies: - node-gyp: "npm:latest" - checksum: 10c0/ade6c097ba829fa4aee1ca340117bb7f8f29fdae7b777e343a9d5cbd548481d1f0894b7b907d23ce615c70d932e8f96154caed95c3fa935cfe8cf87546510f64 - languageName: node - linkType: hard - "node-fetch@npm:2.6.7": version: 2.6.7 resolution: "node-fetch@npm:2.6.7" @@ -6380,17 +6131,6 @@ __metadata: languageName: node linkType: hard -"node-gyp-build@npm:^4.2.0": - version: 4.8.1 - resolution: "node-gyp-build@npm:4.8.1" - bin: - node-gyp-build: bin.js - node-gyp-build-optional: optional.js - node-gyp-build-test: build-test.js - checksum: 10c0/e36ca3d2adf2b9cca316695d7687207c19ac6ed326d6d7c68d7112cebe0de4f82d6733dff139132539fcc01cf5761f6c9082a21864ab9172edf84282bc849ce7 - languageName: node - linkType: hard - "node-gyp@npm:^10.0.0, node-gyp@npm:latest": version: 10.2.0 resolution: "node-gyp@npm:10.2.0" @@ -7234,7 +6974,7 @@ __metadata: languageName: node linkType: hard -"protobufjs@npm:^6.8.8, protobufjs@npm:~6.11.2, protobufjs@npm:~6.11.3": +"protobufjs@npm:^6.8.8, protobufjs@npm:~6.11.2": version: 6.11.4 resolution: "protobufjs@npm:6.11.4" dependencies: @@ -7258,26 +6998,6 @@ __metadata: languageName: node linkType: hard -"protobufjs@npm:^7.2.3": - version: 7.3.2 - resolution: "protobufjs@npm:7.3.2" - dependencies: - "@protobufjs/aspromise": "npm:^1.1.2" - "@protobufjs/base64": "npm:^1.1.2" - "@protobufjs/codegen": "npm:^2.0.4" - "@protobufjs/eventemitter": "npm:^1.1.0" - "@protobufjs/fetch": "npm:^1.1.0" - "@protobufjs/float": "npm:^1.0.2" - "@protobufjs/inquire": "npm:^1.1.0" - "@protobufjs/path": "npm:^1.1.2" - "@protobufjs/pool": "npm:^1.1.0" - "@protobufjs/utf8": "npm:^1.1.0" - "@types/node": "npm:>=13.7.0" - long: "npm:^5.0.0" - checksum: 10c0/b87e38fffc989793099010439a7ff45a0a57ef5b8f44b5209f06bfa5085ac96a365aa37eb3c79bd6954d6ef1b50fc69da37dae8ea2a31d90b7bc8fb2fa0e3955 - languageName: node - linkType: hard - "protocols@npm:^2.0.0, protocols@npm:^2.0.1": version: 2.0.1 resolution: "protocols@npm:2.0.1" @@ -7639,7 +7359,6 @@ __metadata: "@cosmjs/stargate": "npm:0.32.4" "@cosmjs/tendermint-rpc": "npm:0.32.4" "@eslint/js": "npm:^9.7.0" - "@oraichain/cw-simulate": "npm:^2.8.103" "@types/eslint__js": "npm:^8.42.3" "@types/lodash": "npm:^4.17.0" "@types/node": "npm:^20.11.30" @@ -7719,18 +7438,6 @@ __metadata: languageName: node linkType: hard -"secp256k1@npm:^4.0.3": - version: 4.0.3 - resolution: "secp256k1@npm:4.0.3" - dependencies: - elliptic: "npm:^6.5.4" - node-addon-api: "npm:^2.0.0" - node-gyp: "npm:latest" - node-gyp-build: "npm:^4.2.0" - checksum: 10c0/de0a0e525a6f8eb2daf199b338f0797dbfe5392874285a145bb005a72cabacb9d42c0197d0de129a1a0f6094d2cc4504d1f87acb6a8bbfb7770d4293f252c401 - languageName: node - linkType: hard - "semver@npm:2 || 3 || 4 || 5, semver@npm:^5.6.0": version: 5.7.2 resolution: "semver@npm:5.7.2" @@ -8347,13 +8054,6 @@ __metadata: languageName: node linkType: hard -"ts-results@npm:^3.3.0": - version: 3.3.0 - resolution: "ts-results@npm:3.3.0" - checksum: 10c0/507659005733dd102895e868fe1de6f4c39998bcf188863bdc2d18dc5e8ced57be2e83fe9ee53adbabc414fd53e26e8654c7fa0273d2668decc1731d274dbf74 - languageName: node - linkType: hard - "tsconfig-paths@npm:^4.1.2": version: 4.2.0 resolution: "tsconfig-paths@npm:4.2.0" @@ -8365,7 +8065,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0, tslib@npm:^2.6.1": +"tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0": version: 2.6.3 resolution: "tslib@npm:2.6.3" checksum: 10c0/2598aef53d9dbe711af75522464b2104724d6467b26a60f2bdac8297d2b5f1f6b86a71f61717384aa8fd897240467aaa7bcc36a0700a0faf751293d1331db39a From 2523df435181cf460ddb0168fca59c5f37741a03 Mon Sep 17 00:00:00 2001 From: trung2891 Date: Thu, 14 Nov 2024 09:27:22 +0700 Subject: [PATCH 5/6] @oraichain/common v1.2.1 --- packages/common/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/package.json b/packages/common/package.json index 4fb3917..e042c95 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/common", - "version": "1.2.0", + "version": "1.2.1", "main": "build/index.js", "license": "MIT", "scripts": { From 11e029f28a253babe6bd575ce9b2c463a8c08fdd Mon Sep 17 00:00:00 2001 From: quangdz1704 Date: Mon, 18 Nov 2024 11:49:20 +0700 Subject: [PATCH 6/6] feat: add bsc pepe --- chains/0x38.json | 10 ++++++++++ packages/common/package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/chains/0x38.json b/chains/0x38.json index 0ba9820..5ee4f58 100644 --- a/chains/0x38.json +++ b/chains/0x38.json @@ -82,6 +82,16 @@ "coinGeckoId": "dogecoin", "bridgeTo": ["Oraichain"], "coinImageUrl": "https://assets.coingecko.com/coins/images/5/standard/dogecoin.png?1696501409" + }, + { + "coinDenom": "PEPE", + "coinMinimalDenom": "erc20:0x25d887Ce7a35172C62FeBFD67a1856F20FaEbB00:Pepe", + "contractAddress": "0x25d887Ce7a35172C62FeBFD67a1856F20FaEbB00", + "coinDecimals": 18, + "coinGeckoId": "pepe", + "bridgeTo": ["Oraichain"], + "prefixToken": "oraib", + "coinImageUrl": "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776" } ], "txExplorer": { diff --git a/packages/common/package.json b/packages/common/package.json index e042c95..67ed8f0 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/common", - "version": "1.2.1", + "version": "1.2.2", "main": "build/index.js", "license": "MIT", "scripts": {