This repository has been archived by the owner on Dec 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from confio/initial-changes
initial commit
- Loading branch information
Showing
12 changed files
with
776 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,44 @@ | ||
{ | ||
"name": "cosmwasm", | ||
"version": "0.0.1", | ||
"description": "A CosmJS wrapper for CosmWasm projects", | ||
"main": "index.js", | ||
"version": "0.27.1", | ||
"description": "A wrapper package for all relevant cosmjs packages.", | ||
"main": "build/index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "rm -rf ./build && tsc" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/confio/cosmwasm.js.git" | ||
}, | ||
"author": "", | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Simon Warta", | ||
"email": "webmaster128@users.noreply.github.com" | ||
}, | ||
{ | ||
"name": "Milan Steiner", | ||
"email": "msteiner96@users.noreply.github.com" | ||
} | ||
], | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/confio/cosmwasm.js/issues" | ||
}, | ||
"homepage": "https://github.com/confio/cosmwasm.js#readme" | ||
"homepage": "https://github.com/confio/cosmwasm.js#readme", | ||
"dependencies": { | ||
"@cosmjs/amino": "0.27.1", | ||
"@cosmjs/cosmwasm-stargate": "0.27.1", | ||
"@cosmjs/crypto": "0.27.1", | ||
"@cosmjs/encoding": "0.27.1", | ||
"@cosmjs/proto-signing": "0.27.1", | ||
"@cosmjs/stargate": "0.27.1" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.5.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
export { | ||
pubkeyToAddress, | ||
pubkeyToRawAddress, | ||
rawSecp256k1PubkeyToRawAddress, | ||
decodeAminoPubkey, | ||
decodeBech32Pubkey, | ||
encodeAminoPubkey, | ||
Coin, | ||
coin, | ||
coins, | ||
parseCoins, | ||
encodeBech32Pubkey, | ||
encodeSecp256k1Pubkey, | ||
makeCosmoshubPath, | ||
isSecp256k1Pubkey, | ||
isSinglePubkey, | ||
Pubkey, | ||
pubkeyType, | ||
Secp256k1Pubkey, | ||
SinglePubkey, | ||
Secp256k1HdWallet, | ||
Secp256k1HdWalletOptions, | ||
Secp256k1Wallet, | ||
decodeSignature, | ||
encodeSecp256k1Signature, | ||
StdSignature, | ||
AminoMsg, | ||
makeSignDoc, | ||
serializeSignDoc, | ||
StdFee, | ||
StdSignDoc, | ||
AccountData, | ||
Algo, | ||
AminoSignResponse, | ||
OfflineAminoSigner, | ||
isStdTx, | ||
makeStdTx, | ||
StdTx, | ||
} from "@cosmjs/amino"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export { | ||
ChangeAdminResult, | ||
ExecuteResult, | ||
InstantiateOptions, | ||
InstantiateResult, | ||
MigrateResult, | ||
CosmWasmClient, | ||
SigningCosmWasmClient, | ||
SigningCosmWasmClientOptions, | ||
UploadResult, | ||
} from "@cosmjs/cosmwasm-stargate"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export { | ||
HdPath, | ||
pathToString, | ||
} from "@cosmjs/crypto"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export * from "./amino"; | ||
export * from "./cosmwasm-stargate"; | ||
export * from "./crypto"; | ||
export * from "./proto-signing"; | ||
export * from "./stargate"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export { | ||
DirectSecp256k1HdWallet, | ||
Registry, | ||
OfflineDirectSigner, | ||
OfflineSigner | ||
} from "@cosmjs/proto-signing"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export { | ||
IndexedTx, | ||
StargateClient, | ||
SigningStargateClient, | ||
GasPrice, | ||
QueryClient, | ||
Block | ||
} from "@cosmjs/stargate"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2018", | ||
"module": "commonjs", | ||
"declaration": true, | ||
"outDir": "./build", | ||
"strict": true | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "**/__tests__/*"] | ||
} |
Oops, something went wrong.