@gnolang/gnonative 4.1.1 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/libs/gnocore.aar +0 -0
- package/build/GnonativeModule.web.d.ts.map +1 -1
- package/build/api/GnoNativeApi.d.ts +4 -2
- package/build/api/GnoNativeApi.d.ts.map +1 -1
- package/build/api/GnoNativeApi.js +10 -0
- package/build/api/GnoNativeApi.js.map +1 -1
- package/build/api/types.d.ts +2 -0
- package/build/api/types.d.ts.map +1 -1
- package/build/api/types.js.map +1 -1
- package/build/api/vendor/gnonativetypes_pb.d.ts +56 -0
- package/build/api/vendor/gnonativetypes_pb.d.ts.map +1 -1
- package/build/api/vendor/gnonativetypes_pb.js +26 -6
- package/build/api/vendor/gnonativetypes_pb.js.map +1 -1
- package/build/api/vendor/rpc_pb.d.ts +23 -1
- package/build/api/vendor/rpc_pb.d.ts.map +1 -1
- package/build/api/vendor/rpc_pb.js +1 -1
- package/build/api/vendor/rpc_pb.js.map +1 -1
- package/build/provider/gnonative-provider.js.map +1 -1
- package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/GnoCore +0 -0
- package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/GnoCore +0 -0
- package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/GnoCore +0 -0
- package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/GnoCore +0 -0
- package/package.json +3 -3
- package/src/api/GnoNativeApi.ts +12 -0
- package/src/api/types.ts +2 -0
- package/src/api/vendor/gnonativetypes_pb.ts +74 -6
- package/src/api/vendor/rpc_pb.ts +24 -2
- package/src/provider/gnonative-provider.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc_pb.js","sourceRoot":"","sources":["../../../src/api/vendor/rpc_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AA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;;OAIG;IACH,iEAAuB,CAAA;IAEvB;;;;OAIG;IACH,+DAAsB,CAAA;IAEtB;;;;OAIG;IACH,uEAA0B,CAAA;IAE1B;;;;;OAKG;IACH,6DAAqB,CAAA;IAErB;;;;OAIG;IACH,qEAAyB,CAAA;IAEzB;;;;OAIG;IACH,qDAAiB,CAAA;IAEjB;;;;OAIG;IACH,6DAAqB,CAAA;IAErB;;;;OAIG;IACH,mEAAwB,CAAA;IAExB;;;;OAIG;IACH,uEAA0B,CAAA;IAE1B;;;;OAIG;IACH,6DAAqB,CAAA;IAErB;;;;OAIG;IACH,2DAAoB,CAAA;IAEpB;;;;OAIG;IACH,iEAAuB,CAAA;IAEvB;;OAEG;IACH,2DAAoB,CAAA;IAEpB;;OAEG;IACH,2DAAoB,CAAA;AACtB,CAAC,EAjOW,OAAO,KAAP,OAAO,QAiOlB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GA6ZxB,aAAa,CAChB,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC","sourcesContent":["// @generated by protoc-gen-es v2.2.5 with parameter \"target=ts\"\n// @generated from file rpc.proto (package land.gno.gnonative.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { ActivateAccountRequestSchema, ActivateAccountResponseSchema, AddressFromBech32RequestSchema, AddressFromBech32ResponseSchema, AddressFromMnemonicRequestSchema, AddressFromMnemonicResponseSchema, AddressToBech32RequestSchema, AddressToBech32ResponseSchema, BroadcastTxCommitRequestSchema, BroadcastTxCommitResponseSchema, CallRequestSchema, CallResponseSchema, CreateAccountRequestSchema, CreateAccountResponseSchema, DeleteAccountRequestSchema, DeleteAccountResponseSchema, EstimateGasRequestSchema, EstimateGasResponseSchema, GenerateRecoveryPhraseRequestSchema, GenerateRecoveryPhraseResponseSchema, GetActivatedAccountRequestSchema, GetActivatedAccountResponseSchema, GetChainIDRequestSchema, GetChainIDResponseSchema, GetKeyInfoByAddressRequestSchema, GetKeyInfoByAddressResponseSchema, GetKeyInfoByNameOrAddressRequestSchema, GetKeyInfoByNameOrAddressResponseSchema, GetKeyInfoByNameRequestSchema, GetKeyInfoByNameResponseSchema, GetRemoteRequestSchema, GetRemoteResponseSchema, HasKeyByAddressRequestSchema, HasKeyByAddressResponseSchema, HasKeyByNameOrAddressRequestSchema, HasKeyByNameOrAddressResponseSchema, HasKeyByNameRequestSchema, HasKeyByNameResponseSchema, HelloRequestSchema, HelloResponseSchema, HelloStreamRequestSchema, HelloStreamResponseSchema, ListKeyInfoRequestSchema, ListKeyInfoResponseSchema, MakeTxResponseSchema, QEvalRequestSchema, QEvalResponseSchema, QueryAccountRequestSchema, QueryAccountResponseSchema, QueryRequestSchema, QueryResponseSchema, RenderRequestSchema, RenderResponseSchema, RotatePasswordRequestSchema, RotatePasswordResponseSchema, RunRequestSchema, RunResponseSchema, SendRequestSchema, SendResponseSchema, SetChainIDRequestSchema, SetChainIDResponseSchema, SetPasswordRequestSchema, SetPasswordResponseSchema, SetRemoteRequestSchema, SetRemoteResponseSchema, SignTxRequestSchema, SignTxResponseSchema } from \"./gnonativetypes_pb\";\nimport { file_gnonativetypes } from \"./gnonativetypes_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file rpc.proto.\n */\nexport const file_rpc: GenFile = /*@__PURE__*/\n fileDesc(\"CglycGMucHJvdG8SFWxhbmQuZ25vLmdub25hdGl2ZS52MSI7CgpFcnJEZXRhaWxzEi0KBWNvZGVzGAEgAygOMh4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkVyckNvZGUqtAYKB0VyckNvZGUSDQoJVW5kZWZpbmVkEAAS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gzMhItLmxhbmQuZ25vLmdub25hdGl2ZS52MS5BZGRyZXNzVG9CZWNoMzJSZXF1ZXN0Gi4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkFkZHJlc3NUb0JlY2gzMlJlc3BvbnNlEnYKEUFkZHJlc3NGcm9tQmVjaDMyEi8ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkFkZHJlc3NGcm9tQmVjaDMyUmVxdWVzdBowLmxhbmQuZ25vLmdub25hdGl2ZS52MS5BZGRyZXNzRnJvbUJlY2gzMlJlc3BvbnNlEnwKE0FkZHJlc3NGcm9tTW5lbW9uaWMSMS5sYW5kLmduby5nbm9uYXRpdmUudjEuQWRkcmVzc0Zyb21NbmVtb25pY1JlcXVlc3QaMi5sYW5kLmduby5nbm9uYXRpdmUudjEuQWRkcmVzc0Zyb21NbmVtb25pY1Jlc3BvbnNlElIKBUhlbGxvEiMubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkhlbGxvUmVxdWVzdBokLmxhbmQuZ25vLmdub25hdGl2ZS52MS5IZWxsb1Jlc3BvbnNlEmYKC0hlbGxvU3RyZWFtEikubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkhlbGxvU3RyZWFtUmVxdWVzdBoqLmxhbmQuZ25vLmdub25hdGl2ZS52MS5IZWxsb1N0cmVhbVJlc3BvbnNlMAFCL1onZ2l0aHViLmNvbS9nbm9sYW5nL2dub25hdGl2ZS9hcGkvZ2VuL2dvogIDUlRHYgZwcm90bzM\", [file_gnonativetypes]);\n\n/**\n * @generated from message land.gno.gnonative.v1.ErrDetails\n */\nexport type ErrDetails = Message<\"land.gno.gnonative.v1.ErrDetails\"> & {\n /**\n * @generated from field: repeated land.gno.gnonative.v1.ErrCode codes = 1;\n */\n codes: ErrCode[];\n};\n\n/**\n * Describes the message land.gno.gnonative.v1.ErrDetails.\n * Use `create(ErrDetailsSchema)` to create a new message.\n */\nexport const ErrDetailsSchema: GenMessage<ErrDetails> = /*@__PURE__*/\n messageDesc(file_rpc, 0);\n\n/**\n * The ErrCode enum defines errors for gRPC API functions. These are converted\n * from the Go error types returned by gnoclient.\n *\n * ----------------\n * Special errors\n * ----------------\n *\n * @generated from enum land.gno.gnonative.v1.ErrCode\n */\nexport enum ErrCode {\n /**\n * Undefined is the default value. It should never be set manually\n *\n * @generated from enum value: Undefined = 0;\n */\n Undefined = 0,\n\n /**\n * TODO indicates that you plan to create an error later\n *\n * @generated from enum value: TODO = 1;\n */\n TODO = 1,\n\n /**\n * ErrNotImplemented indicates that a method is not implemented yet\n *\n * @generated from enum value: ErrNotImplemented = 2;\n */\n ErrNotImplemented = 2,\n\n /**\n * ErrInternal indicates an unknown error (without Code), i.e. in gRPC\n *\n * @generated from enum value: ErrInternal = 3;\n */\n ErrInternal = 3,\n\n /**\n * @generated from enum value: ErrInvalidInput = 100;\n */\n ErrInvalidInput = 100,\n\n /**\n * @generated from enum value: ErrBridgeInterrupted = 101;\n */\n ErrBridgeInterrupted = 101,\n\n /**\n * @generated from enum value: ErrMissingInput = 102;\n */\n ErrMissingInput = 102,\n\n /**\n * @generated from enum value: ErrSerialization = 103;\n */\n ErrSerialization = 103,\n\n /**\n * @generated from enum value: ErrDeserialization = 104;\n */\n ErrDeserialization = 104,\n\n /**\n * @generated from enum value: ErrInitService = 105;\n */\n ErrInitService = 105,\n\n /**\n * @generated from enum value: ErrSetRemote = 106;\n */\n ErrSetRemote = 106,\n\n /**\n * @generated from enum value: ErrCryptoKeyTypeUnknown = 150;\n */\n ErrCryptoKeyTypeUnknown = 150,\n\n /**\n * ErrCryptoKeyNotFound indicates that the doesn't exist in the keybase\n *\n * @generated from enum value: ErrCryptoKeyNotFound = 151;\n */\n ErrCryptoKeyNotFound = 151,\n\n /**\n * ErrNoActiveAccount indicates that no account with the given address has been activated with ActivateAccount\n *\n * @generated from enum value: ErrNoActiveAccount = 152;\n */\n ErrNoActiveAccount = 152,\n\n /**\n * @generated from enum value: ErrRunGRPCServer = 153;\n */\n ErrRunGRPCServer = 153,\n\n /**\n * ErrDecryptionFailed indicates a decryption failure including a wrong password\n *\n * @generated from enum value: ErrDecryptionFailed = 154;\n */\n ErrDecryptionFailed = 154,\n\n /**\n * @generated from enum value: ErrTxDecode = 200;\n */\n ErrTxDecode = 200,\n\n /**\n * @generated from enum value: ErrInvalidSequence = 201;\n */\n ErrInvalidSequence = 201,\n\n /**\n * @generated from enum value: ErrUnauthorized = 202;\n */\n ErrUnauthorized = 202,\n\n /**\n * ErrInsufficientFunds indicates that there are insufficient funds to pay for fees\n *\n * @generated from enum value: ErrInsufficientFunds = 203;\n */\n ErrInsufficientFunds = 203,\n\n /**\n * ErrUnknownRequest indicates that the path of a realm function call is unrecognized\n *\n * @generated from enum value: ErrUnknownRequest = 204;\n */\n ErrUnknownRequest = 204,\n\n /**\n * ErrInvalidAddress indicates that an account address is blank or the bech32 can't be decoded\n *\n * @generated from enum value: ErrInvalidAddress = 205;\n */\n ErrInvalidAddress = 205,\n\n /**\n * ErrUnknownAddress indicates that the address is unknown on the blockchain\n *\n * @generated from enum value: ErrUnknownAddress = 206;\n */\n ErrUnknownAddress = 206,\n\n /**\n * ErrInvalidPubKey indicates that the public key was not found or has an invalid algorithm or format\n *\n * @generated from enum value: ErrInvalidPubKey = 207;\n */\n ErrInvalidPubKey = 207,\n\n /**\n * ErrInsufficientCoins indicates that the transaction has insufficient account funds to send\n *\n * @generated from enum value: ErrInsufficientCoins = 208;\n */\n ErrInsufficientCoins = 208,\n\n /**\n * ErrInvalidCoins indicates that the transaction Coins are not sorted, or don't have a\n * positive amount, or the coin Denom contains upper case characters\n *\n * @generated from enum value: ErrInvalidCoins = 209;\n */\n ErrInvalidCoins = 209,\n\n /**\n * ErrInvalidGasWanted indicates that the transaction gas wanted is too large or otherwise invalid\n *\n * @generated from enum value: ErrInvalidGasWanted = 210;\n */\n ErrInvalidGasWanted = 210,\n\n /**\n * ErrOutOfGas indicates that the transaction doesn't have enough gas\n *\n * @generated from enum value: ErrOutOfGas = 211;\n */\n ErrOutOfGas = 211,\n\n /**\n * ErrMemoTooLarge indicates that the transaction memo is too large\n *\n * @generated from enum value: ErrMemoTooLarge = 212;\n */\n ErrMemoTooLarge = 212,\n\n /**\n * ErrInsufficientFee indicates that the gas fee is insufficient\n *\n * @generated from enum value: ErrInsufficientFee = 213;\n */\n ErrInsufficientFee = 213,\n\n /**\n * ErrTooManySignatures indicates that the transaction has too many signatures\n *\n * @generated from enum value: ErrTooManySignatures = 214;\n */\n ErrTooManySignatures = 214,\n\n /**\n * ErrNoSignatures indicates that the transaction has no signatures\n *\n * @generated from enum value: ErrNoSignatures = 215;\n */\n ErrNoSignatures = 215,\n\n /**\n * ErrGasOverflow indicates that an action results in a gas consumption unsigned integer overflow\n *\n * @generated from enum value: ErrGasOverflow = 216;\n */\n ErrGasOverflow = 216,\n\n /**\n * ErrInvalidPkgPath indicates that the package path is not recognized.\n *\n * @generated from enum value: ErrInvalidPkgPath = 217;\n */\n ErrInvalidPkgPath = 217,\n\n /**\n * @generated from enum value: ErrInvalidStmt = 218;\n */\n ErrInvalidStmt = 218,\n\n /**\n * @generated from enum value: ErrInvalidExpr = 219;\n */\n ErrInvalidExpr = 219,\n}\n\n/**\n * Describes the enum land.gno.gnonative.v1.ErrCode.\n */\nexport const ErrCodeSchema: GenEnum<ErrCode> = /*@__PURE__*/\n enumDesc(file_rpc, 0);\n\n/**\n * GnoNativeService is the service to interact with the Gno blockchain\n *\n * @generated from service land.gno.gnonative.v1.GnoNativeService\n */\nexport const GnoNativeService: GenService<{\n /**\n * Set the connection address for the remote node. If you don't call this,\n * the default is \"127.0.0.1:26657\"\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetRemote\n */\n setRemote: {\n methodKind: \"unary\";\n input: typeof SetRemoteRequestSchema;\n output: typeof SetRemoteResponseSchema;\n },\n /**\n * Get the connection address for the remote node. The response is either\n * the initial default, or the value which was set with SetRemote\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetRemote\n */\n getRemote: {\n methodKind: \"unary\";\n input: typeof GetRemoteRequestSchema;\n output: typeof GetRemoteResponseSchema;\n },\n /**\n * Set the chain ID for the remote node. If you don't call this, the default\n * is \"dev\"\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetChainID\n */\n setChainID: {\n methodKind: \"unary\";\n input: typeof SetChainIDRequestSchema;\n output: typeof SetChainIDResponseSchema;\n },\n /**\n * Get the chain ID for the remote node. The response is either\n * the initial default, or the value which was set with SetChainID\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetChainID\n */\n getChainID: {\n methodKind: \"unary\";\n input: typeof GetChainIDRequestSchema;\n output: typeof GetChainIDResponseSchema;\n },\n /**\n * Generate a recovery phrase of BIP39 mnemonic words using entropy from the\n * crypto library random number generator. This can be used as the mnemonic in\n * CreateAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GenerateRecoveryPhrase\n */\n generateRecoveryPhrase: {\n methodKind: \"unary\";\n input: typeof GenerateRecoveryPhraseRequestSchema;\n output: typeof GenerateRecoveryPhraseResponseSchema;\n },\n /**\n * Get the information for all keys in the keybase\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ListKeyInfo\n */\n listKeyInfo: {\n methodKind: \"unary\";\n input: typeof ListKeyInfoRequestSchema;\n output: typeof ListKeyInfoResponseSchema;\n },\n /**\n * Check for the key in the keybase with the given name.\n * In the response, set has true if the keybase has the key.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByName\n */\n hasKeyByName: {\n methodKind: \"unary\";\n input: typeof HasKeyByNameRequestSchema;\n output: typeof HasKeyByNameResponseSchema;\n },\n /**\n * Check for the key in the keybase with the given address.\n * In the response, set has true if the keybase has the key.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByAddress\n */\n hasKeyByAddress: {\n methodKind: \"unary\";\n input: typeof HasKeyByAddressRequestSchema;\n output: typeof HasKeyByAddressResponseSchema;\n },\n /**\n * Check for the key in the keybase with the given name or bech32 string address.\n * In the response, set has true if the keybase has the key.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByNameOrAddress\n */\n hasKeyByNameOrAddress: {\n methodKind: \"unary\";\n input: typeof HasKeyByNameOrAddressRequestSchema;\n output: typeof HasKeyByNameOrAddressResponseSchema;\n },\n /**\n * Get the information for the key in the keybase with the given name.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByName\n */\n getKeyInfoByName: {\n methodKind: \"unary\";\n input: typeof GetKeyInfoByNameRequestSchema;\n output: typeof GetKeyInfoByNameResponseSchema;\n },\n /**\n * Get the information for the key in the keybase with the given address.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByAddress\n */\n getKeyInfoByAddress: {\n methodKind: \"unary\";\n input: typeof GetKeyInfoByAddressRequestSchema;\n output: typeof GetKeyInfoByAddressResponseSchema;\n },\n /**\n * Get the information for the key in the keybase with the given name or bech32 string address.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByNameOrAddress\n */\n getKeyInfoByNameOrAddress: {\n methodKind: \"unary\";\n input: typeof GetKeyInfoByNameOrAddressRequestSchema;\n output: typeof GetKeyInfoByNameOrAddressResponseSchema;\n },\n /**\n * Create a new account in the keybase using the name and password specified by SetAccount.\n * If an account with the same name already exists in the keybase,\n * this replaces it. (If you don't want to replace it, then it's your responsibility\n * to use GetKeyInfoByName to check if it exists before calling this.)\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.CreateAccount\n */\n createAccount: {\n methodKind: \"unary\";\n input: typeof CreateAccountRequestSchema;\n output: typeof CreateAccountResponseSchema;\n },\n /**\n * Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is\n * false, then you should call SetPassword before using a method which needs it.\n * If the account is already activated, return its info.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ActivateAccount\n */\n activateAccount: {\n methodKind: \"unary\";\n input: typeof ActivateAccountRequestSchema;\n output: typeof ActivateAccountResponseSchema;\n },\n /**\n * Set the password for the account in the keybase with the given address.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetPassword\n */\n setPassword: {\n methodKind: \"unary\";\n input: typeof SetPasswordRequestSchema;\n output: typeof SetPasswordResponseSchema;\n },\n /**\n * Rotate the password of a key to a new password for the accounts in the keybase with the given addresses.\n * Before calling this, you must call SetPassword with the current password for each account.\n * If there is an error, then roll back all accounts to the current password.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.RotatePassword\n */\n rotatePassword: {\n methodKind: \"unary\";\n input: typeof RotatePasswordRequestSchema;\n output: typeof RotatePasswordResponseSchema;\n },\n /**\n * GetActivatedAccount gets the info of the account by address which has been activated by ActivateAccount.\n * If there the given address is not specified, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidAddress.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount\n */\n getActivatedAccount: {\n methodKind: \"unary\";\n input: typeof GetActivatedAccountRequestSchema;\n output: typeof GetActivatedAccountResponseSchema;\n },\n /**\n * QueryAccount retrieves account information from the blockchain for a given\n * address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QueryAccount\n */\n queryAccount: {\n methodKind: \"unary\";\n input: typeof QueryAccountRequestSchema;\n output: typeof QueryAccountResponseSchema;\n },\n /**\n * DeleteAccount deletes the account with the given name, using the password\n * to ensure access. However, if skip_password is true, then ignore the\n * password.\n * If the account doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.DeleteAccount\n */\n deleteAccount: {\n methodKind: \"unary\";\n input: typeof DeleteAccountRequestSchema;\n output: typeof DeleteAccountResponseSchema;\n },\n /**\n * Make an ABCI query to the remote node.\n * If the request path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.\n * If the request data has a package path that is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Query\n */\n query: {\n methodKind: \"unary\";\n input: typeof QueryRequestSchema;\n output: typeof QueryResponseSchema;\n },\n /**\n * Render calls the Render function for package_path with optional args. The\n * package path should include the prefix like \"gno.land/\". This is similar to\n * using a browser URL <nodeURL>/<pkgPath>:<args> where <pkgPath> doesn't have\n * the prefix like \"gno.land/\".\n * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Render\n */\n render: {\n methodKind: \"unary\";\n input: typeof RenderRequestSchema;\n output: typeof RenderResponseSchema;\n },\n /**\n * QEval evaluates the given expression with the realm code at package_path.\n * The package path should include the prefix like \"gno.land/\". The expression\n * is usually a function call like \"GetBoardIDFromName(\\\"testboard\\\")\". The\n * return value is a typed expression like\n * \"(1 gno.land/r/demo/boards.BoardID)\\n(true bool)\".\n * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QEval\n */\n qEval: {\n methodKind: \"unary\";\n input: typeof QEvalRequestSchema;\n output: typeof QEvalResponseSchema;\n },\n /**\n * Call a specific realm function. Sign the transaction with the given caller_address.\n * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n * If the path of a realm function call is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Call\n */\n call: {\n methodKind: \"server_streaming\";\n input: typeof CallRequestSchema;\n output: typeof CallResponseSchema;\n },\n /**\n * Send currency from the account with the given caller_address to an account on the blockchain.\n * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Send\n */\n send: {\n methodKind: \"server_streaming\";\n input: typeof SendRequestSchema;\n output: typeof SendResponseSchema;\n },\n /**\n * Temporarily load the code in package on the blockchain and run main() which can\n * call realm functions and use println() to output to the \"console\". Sign the transaction with the given caller_address.\n * This returns the \"console\" output.\n * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Run\n */\n run: {\n methodKind: \"server_streaming\";\n input: typeof RunRequestSchema;\n output: typeof RunResponseSchema;\n },\n /**\n * Make an unsigned transaction to call a specific realm function.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeCallTx\n */\n makeCallTx: {\n methodKind: \"unary\";\n input: typeof CallRequestSchema;\n output: typeof MakeTxResponseSchema;\n },\n /**\n * Make an unsigned transaction to send currency to an account on the blockchain.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeSendTx\n */\n makeSendTx: {\n methodKind: \"unary\";\n input: typeof SendRequestSchema;\n output: typeof MakeTxResponseSchema;\n },\n /**\n * Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeRunTx\n */\n makeRunTx: {\n methodKind: \"unary\";\n input: typeof RunRequestSchema;\n output: typeof MakeTxResponseSchema;\n },\n /**\n * EstimateGas estimates the least amount of gas required for the transaction to go through on the chain (minimum gas wanted), with a security margin.\n * If UpdateTx is true, then update the transaction with the gasWanted amount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.EstimateGas\n */\n estimateGas: {\n methodKind: \"unary\";\n input: typeof EstimateGasRequestSchema;\n output: typeof EstimateGasResponseSchema;\n },\n /**\n * Sign the transaction using the account with the given address.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SignTx\n */\n signTx: {\n methodKind: \"unary\";\n input: typeof SignTxRequestSchema;\n output: typeof SignTxResponseSchema;\n },\n /**\n * Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit\n */\n broadcastTxCommit: {\n methodKind: \"server_streaming\";\n input: typeof BroadcastTxCommitRequestSchema;\n output: typeof BroadcastTxCommitResponseSchema;\n },\n /**\n * Convert a byte array address to a bech32 string address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressToBech32\n */\n addressToBech32: {\n methodKind: \"unary\";\n input: typeof AddressToBech32RequestSchema;\n output: typeof AddressToBech32ResponseSchema;\n },\n /**\n * Convert a bech32 string address to a byte array address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromBech32\n */\n addressFromBech32: {\n methodKind: \"unary\";\n input: typeof AddressFromBech32RequestSchema;\n output: typeof AddressFromBech32ResponseSchema;\n },\n /**\n * Convert a mnemonic (as in CreateAccount) to a byte array address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic\n */\n addressFromMnemonic: {\n methodKind: \"unary\";\n input: typeof AddressFromMnemonicRequestSchema;\n output: typeof AddressFromMnemonicResponseSchema;\n },\n /**\n * Hello is for debug purposes\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Hello\n */\n hello: {\n methodKind: \"unary\";\n input: typeof HelloRequestSchema;\n output: typeof HelloResponseSchema;\n },\n /**\n * HelloStream is for debug purposes\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HelloStream\n */\n helloStream: {\n methodKind: \"server_streaming\";\n input: typeof HelloStreamRequestSchema;\n output: typeof HelloStreamResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_rpc, 0);\n\n"]}
|
|
1
|
+
{"version":3,"file":"rpc_pb.js","sourceRoot":"","sources":["../../../src/api/vendor/rpc_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,gFAAgF;AAChF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1D;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAY,aAAa,CAC5C,QAAQ,CAAC,kjNAAkjN,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAYtlN;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAE3B;;;;;;;;;GASG;AACH,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EG;IACH,2DAAoB,CAAA;IAEpB;;OAEG;IACH,2DAAoB,CAAA;AACtB,CAAC,EAjOW,OAAO,KAAP,OAAO,QAiOlB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAmbxB,aAAa,CAChB,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC","sourcesContent":["// @generated by protoc-gen-es v2.2.5 with parameter \"target=ts\"\n// @generated from file rpc.proto (package land.gno.gnonative.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { ActivateAccountRequestSchema, ActivateAccountResponseSchema, AddressFromBech32RequestSchema, AddressFromBech32ResponseSchema, AddressFromMnemonicRequestSchema, AddressFromMnemonicResponseSchema, AddressToBech32RequestSchema, AddressToBech32ResponseSchema, BroadcastTxCommitRequestSchema, BroadcastTxCommitResponseSchema, CallRequestSchema, CallResponseSchema, CreateAccountRequestSchema, CreateAccountResponseSchema, DeleteAccountRequestSchema, DeleteAccountResponseSchema, EstimateGasRequestSchema, EstimateGasResponseSchema, GenerateRecoveryPhraseRequestSchema, GenerateRecoveryPhraseResponseSchema, GetActivatedAccountRequestSchema, GetActivatedAccountResponseSchema, GetChainIDRequestSchema, GetChainIDResponseSchema, GetKeyInfoByAddressRequestSchema, GetKeyInfoByAddressResponseSchema, GetKeyInfoByNameOrAddressRequestSchema, GetKeyInfoByNameOrAddressResponseSchema, GetKeyInfoByNameRequestSchema, GetKeyInfoByNameResponseSchema, GetRemoteRequestSchema, GetRemoteResponseSchema, HasKeyByAddressRequestSchema, HasKeyByAddressResponseSchema, HasKeyByNameOrAddressRequestSchema, HasKeyByNameOrAddressResponseSchema, HasKeyByNameRequestSchema, HasKeyByNameResponseSchema, HelloRequestSchema, HelloResponseSchema, HelloStreamRequestSchema, HelloStreamResponseSchema, ListKeyInfoRequestSchema, ListKeyInfoResponseSchema, MakeTxResponseSchema, QEvalRequestSchema, QEvalResponseSchema, QueryAccountRequestSchema, QueryAccountResponseSchema, QueryRequestSchema, QueryResponseSchema, RenderRequestSchema, RenderResponseSchema, RotatePasswordRequestSchema, RotatePasswordResponseSchema, RunRequestSchema, RunResponseSchema, SendRequestSchema, SendResponseSchema, SetChainIDRequestSchema, SetChainIDResponseSchema, SetPasswordRequestSchema, SetPasswordResponseSchema, SetRemoteRequestSchema, SetRemoteResponseSchema, SignTxRequestSchema, SignTxResponseSchema, ValidateMnemonicPhraseRequestSchema, ValidateMnemonicPhraseResponseSchema, ValidateMnemonicWordRequestSchema, ValidateMnemonicWordResponseSchema } from \"./gnonativetypes_pb\";\nimport { file_gnonativetypes } from \"./gnonativetypes_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file rpc.proto.\n */\nexport const file_rpc: GenFile = /*@__PURE__*/\n fileDesc(\"CglycGMucHJvdG8SFWxhbmQuZ25vLmdub25hdGl2ZS52MSI7CgpFcnJEZXRhaWxzEi0KBWNvZGVzGAEgAygOMh4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkVyckNvZGUqtAYKB0VyckNvZGUSDQoJVW5kZWZpbmVkEAASCAoEVE9ETxABEhUKEUVyck5vdEltcGxlbWVudGVkEAISDwoLRXJySW50ZXJuYWwQAxITCg9FcnJJbnZhbGlkSW5wdXQQZBIYChRFcnJCcmlkZ2VJbnRlcnJ1cHRlZBBlEhMKD0Vyck1pc3NpbmdJbnB1dBBmEhQKEEVyclNlcmlhbGl6YXRpb24QZxIWChJFcnJEZXNlcmlhbGl6YXRpb24QaBISCg5FcnJJbml0U2VydmljZRBpEhAKDEVyclNldFJlbW90ZRBqEhwKF0VyckNyeXB0b0tleVR5cGVVbmtub3du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nNlEnwKE0FkZHJlc3NGcm9tTW5lbW9uaWMSMS5sYW5kLmduby5nbm9uYXRpdmUudjEuQWRkcmVzc0Zyb21NbmVtb25pY1JlcXVlc3QaMi5sYW5kLmduby5nbm9uYXRpdmUudjEuQWRkcmVzc0Zyb21NbmVtb25pY1Jlc3BvbnNlEn8KFFZhbGlkYXRlTW5lbW9uaWNXb3JkEjIubGFuZC5nbm8uZ25vbmF0aXZlLnYxLlZhbGlkYXRlTW5lbW9uaWNXb3JkUmVxdWVzdBozLmxhbmQuZ25vLmdub25hdGl2ZS52MS5WYWxpZGF0ZU1uZW1vbmljV29yZFJlc3BvbnNlEoUBChZWYWxpZGF0ZU1uZW1vbmljUGhyYXNlEjQubGFuZC5nbm8uZ25vbmF0aXZlLnYxLlZhbGlkYXRlTW5lbW9uaWNQaHJhc2VSZXF1ZXN0GjUubGFuZC5nbm8uZ25vbmF0aXZlLnYxLlZhbGlkYXRlTW5lbW9uaWNQaHJhc2VSZXNwb25zZRJSCgVIZWxsbxIjLmxhbmQuZ25vLmdub25hdGl2ZS52MS5IZWxsb1JlcXVlc3QaJC5sYW5kLmduby5nbm9uYXRpdmUudjEuSGVsbG9SZXNwb25zZRJmCgtIZWxsb1N0cmVhbRIpLmxhbmQuZ25vLmdub25hdGl2ZS52MS5IZWxsb1N0cmVhbVJlcXVlc3QaKi5sYW5kLmduby5nbm9uYXRpdmUudjEuSGVsbG9TdHJlYW1SZXNwb25zZTABQi9aJ2dpdGh1Yi5jb20vZ25vbGFuZy9nbm9uYXRpdmUvYXBpL2dlbi9nb6ICA1JUR2IGcHJvdG8z\", [file_gnonativetypes]);\n\n/**\n * @generated from message land.gno.gnonative.v1.ErrDetails\n */\nexport type ErrDetails = Message<\"land.gno.gnonative.v1.ErrDetails\"> & {\n /**\n * @generated from field: repeated land.gno.gnonative.v1.ErrCode codes = 1;\n */\n codes: ErrCode[];\n};\n\n/**\n * Describes the message land.gno.gnonative.v1.ErrDetails.\n * Use `create(ErrDetailsSchema)` to create a new message.\n */\nexport const ErrDetailsSchema: GenMessage<ErrDetails> = /*@__PURE__*/\n messageDesc(file_rpc, 0);\n\n/**\n * The ErrCode enum defines errors for gRPC API functions. These are converted\n * from the Go error types returned by gnoclient.\n *\n * ----------------\n * Special errors\n * ----------------\n *\n * @generated from enum land.gno.gnonative.v1.ErrCode\n */\nexport enum ErrCode {\n /**\n * Undefined is the default value. It should never be set manually\n *\n * @generated from enum value: Undefined = 0;\n */\n Undefined = 0,\n\n /**\n * TODO indicates that you plan to create an error later\n *\n * @generated from enum value: TODO = 1;\n */\n TODO = 1,\n\n /**\n * ErrNotImplemented indicates that a method is not implemented yet\n *\n * @generated from enum value: ErrNotImplemented = 2;\n */\n ErrNotImplemented = 2,\n\n /**\n * ErrInternal indicates an unknown error (without Code), i.e. in gRPC\n *\n * @generated from enum value: ErrInternal = 3;\n */\n ErrInternal = 3,\n\n /**\n * @generated from enum value: ErrInvalidInput = 100;\n */\n ErrInvalidInput = 100,\n\n /**\n * @generated from enum value: ErrBridgeInterrupted = 101;\n */\n ErrBridgeInterrupted = 101,\n\n /**\n * @generated from enum value: ErrMissingInput = 102;\n */\n ErrMissingInput = 102,\n\n /**\n * @generated from enum value: ErrSerialization = 103;\n */\n ErrSerialization = 103,\n\n /**\n * @generated from enum value: ErrDeserialization = 104;\n */\n ErrDeserialization = 104,\n\n /**\n * @generated from enum value: ErrInitService = 105;\n */\n ErrInitService = 105,\n\n /**\n * @generated from enum value: ErrSetRemote = 106;\n */\n ErrSetRemote = 106,\n\n /**\n * @generated from enum value: ErrCryptoKeyTypeUnknown = 150;\n */\n ErrCryptoKeyTypeUnknown = 150,\n\n /**\n * ErrCryptoKeyNotFound indicates that the doesn't exist in the keybase\n *\n * @generated from enum value: ErrCryptoKeyNotFound = 151;\n */\n ErrCryptoKeyNotFound = 151,\n\n /**\n * ErrNoActiveAccount indicates that no account with the given address has been activated with ActivateAccount\n *\n * @generated from enum value: ErrNoActiveAccount = 152;\n */\n ErrNoActiveAccount = 152,\n\n /**\n * @generated from enum value: ErrRunGRPCServer = 153;\n */\n ErrRunGRPCServer = 153,\n\n /**\n * ErrDecryptionFailed indicates a decryption failure including a wrong password\n *\n * @generated from enum value: ErrDecryptionFailed = 154;\n */\n ErrDecryptionFailed = 154,\n\n /**\n * @generated from enum value: ErrTxDecode = 200;\n */\n ErrTxDecode = 200,\n\n /**\n * @generated from enum value: ErrInvalidSequence = 201;\n */\n ErrInvalidSequence = 201,\n\n /**\n * @generated from enum value: ErrUnauthorized = 202;\n */\n ErrUnauthorized = 202,\n\n /**\n * ErrInsufficientFunds indicates that there are insufficient funds to pay for fees\n *\n * @generated from enum value: ErrInsufficientFunds = 203;\n */\n ErrInsufficientFunds = 203,\n\n /**\n * ErrUnknownRequest indicates that the path of a realm function call is unrecognized\n *\n * @generated from enum value: ErrUnknownRequest = 204;\n */\n ErrUnknownRequest = 204,\n\n /**\n * ErrInvalidAddress indicates that an account address is blank or the bech32 can't be decoded\n *\n * @generated from enum value: ErrInvalidAddress = 205;\n */\n ErrInvalidAddress = 205,\n\n /**\n * ErrUnknownAddress indicates that the address is unknown on the blockchain\n *\n * @generated from enum value: ErrUnknownAddress = 206;\n */\n ErrUnknownAddress = 206,\n\n /**\n * ErrInvalidPubKey indicates that the public key was not found or has an invalid algorithm or format\n *\n * @generated from enum value: ErrInvalidPubKey = 207;\n */\n ErrInvalidPubKey = 207,\n\n /**\n * ErrInsufficientCoins indicates that the transaction has insufficient account funds to send\n *\n * @generated from enum value: ErrInsufficientCoins = 208;\n */\n ErrInsufficientCoins = 208,\n\n /**\n * ErrInvalidCoins indicates that the transaction Coins are not sorted, or don't have a\n * positive amount, or the coin Denom contains upper case characters\n *\n * @generated from enum value: ErrInvalidCoins = 209;\n */\n ErrInvalidCoins = 209,\n\n /**\n * ErrInvalidGasWanted indicates that the transaction gas wanted is too large or otherwise invalid\n *\n * @generated from enum value: ErrInvalidGasWanted = 210;\n */\n ErrInvalidGasWanted = 210,\n\n /**\n * ErrOutOfGas indicates that the transaction doesn't have enough gas\n *\n * @generated from enum value: ErrOutOfGas = 211;\n */\n ErrOutOfGas = 211,\n\n /**\n * ErrMemoTooLarge indicates that the transaction memo is too large\n *\n * @generated from enum value: ErrMemoTooLarge = 212;\n */\n ErrMemoTooLarge = 212,\n\n /**\n * ErrInsufficientFee indicates that the gas fee is insufficient\n *\n * @generated from enum value: ErrInsufficientFee = 213;\n */\n ErrInsufficientFee = 213,\n\n /**\n * ErrTooManySignatures indicates that the transaction has too many signatures\n *\n * @generated from enum value: ErrTooManySignatures = 214;\n */\n ErrTooManySignatures = 214,\n\n /**\n * ErrNoSignatures indicates that the transaction has no signatures\n *\n * @generated from enum value: ErrNoSignatures = 215;\n */\n ErrNoSignatures = 215,\n\n /**\n * ErrGasOverflow indicates that an action results in a gas consumption unsigned integer overflow\n *\n * @generated from enum value: ErrGasOverflow = 216;\n */\n ErrGasOverflow = 216,\n\n /**\n * ErrInvalidPkgPath indicates that the package path is not recognized.\n *\n * @generated from enum value: ErrInvalidPkgPath = 217;\n */\n ErrInvalidPkgPath = 217,\n\n /**\n * @generated from enum value: ErrInvalidStmt = 218;\n */\n ErrInvalidStmt = 218,\n\n /**\n * @generated from enum value: ErrInvalidExpr = 219;\n */\n ErrInvalidExpr = 219,\n}\n\n/**\n * Describes the enum land.gno.gnonative.v1.ErrCode.\n */\nexport const ErrCodeSchema: GenEnum<ErrCode> = /*@__PURE__*/\n enumDesc(file_rpc, 0);\n\n/**\n * GnoNativeService is the service to interact with the Gno blockchain\n *\n * @generated from service land.gno.gnonative.v1.GnoNativeService\n */\nexport const GnoNativeService: GenService<{\n /**\n * Set the connection address for the remote node. If you don't call this,\n * the default is \"127.0.0.1:26657\"\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetRemote\n */\n setRemote: {\n methodKind: \"unary\";\n input: typeof SetRemoteRequestSchema;\n output: typeof SetRemoteResponseSchema;\n },\n /**\n * Get the connection address for the remote node. The response is either\n * the initial default, or the value which was set with SetRemote\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetRemote\n */\n getRemote: {\n methodKind: \"unary\";\n input: typeof GetRemoteRequestSchema;\n output: typeof GetRemoteResponseSchema;\n },\n /**\n * Set the chain ID for the remote node. If you don't call this, the default\n * is \"dev\"\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetChainID\n */\n setChainID: {\n methodKind: \"unary\";\n input: typeof SetChainIDRequestSchema;\n output: typeof SetChainIDResponseSchema;\n },\n /**\n * Get the chain ID for the remote node. The response is either\n * the initial default, or the value which was set with SetChainID\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetChainID\n */\n getChainID: {\n methodKind: \"unary\";\n input: typeof GetChainIDRequestSchema;\n output: typeof GetChainIDResponseSchema;\n },\n /**\n * Generate a recovery phrase of BIP39 mnemonic words using entropy from the\n * crypto library random number generator. This can be used as the mnemonic in\n * CreateAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GenerateRecoveryPhrase\n */\n generateRecoveryPhrase: {\n methodKind: \"unary\";\n input: typeof GenerateRecoveryPhraseRequestSchema;\n output: typeof GenerateRecoveryPhraseResponseSchema;\n },\n /**\n * Get the information for all keys in the keybase\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ListKeyInfo\n */\n listKeyInfo: {\n methodKind: \"unary\";\n input: typeof ListKeyInfoRequestSchema;\n output: typeof ListKeyInfoResponseSchema;\n },\n /**\n * Check for the key in the keybase with the given name.\n * In the response, set has true if the keybase has the key.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByName\n */\n hasKeyByName: {\n methodKind: \"unary\";\n input: typeof HasKeyByNameRequestSchema;\n output: typeof HasKeyByNameResponseSchema;\n },\n /**\n * Check for the key in the keybase with the given address.\n * In the response, set has true if the keybase has the key.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByAddress\n */\n hasKeyByAddress: {\n methodKind: \"unary\";\n input: typeof HasKeyByAddressRequestSchema;\n output: typeof HasKeyByAddressResponseSchema;\n },\n /**\n * Check for the key in the keybase with the given name or bech32 string address.\n * In the response, set has true if the keybase has the key.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByNameOrAddress\n */\n hasKeyByNameOrAddress: {\n methodKind: \"unary\";\n input: typeof HasKeyByNameOrAddressRequestSchema;\n output: typeof HasKeyByNameOrAddressResponseSchema;\n },\n /**\n * Get the information for the key in the keybase with the given name.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByName\n */\n getKeyInfoByName: {\n methodKind: \"unary\";\n input: typeof GetKeyInfoByNameRequestSchema;\n output: typeof GetKeyInfoByNameResponseSchema;\n },\n /**\n * Get the information for the key in the keybase with the given address.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByAddress\n */\n getKeyInfoByAddress: {\n methodKind: \"unary\";\n input: typeof GetKeyInfoByAddressRequestSchema;\n output: typeof GetKeyInfoByAddressResponseSchema;\n },\n /**\n * Get the information for the key in the keybase with the given name or bech32 string address.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByNameOrAddress\n */\n getKeyInfoByNameOrAddress: {\n methodKind: \"unary\";\n input: typeof GetKeyInfoByNameOrAddressRequestSchema;\n output: typeof GetKeyInfoByNameOrAddressResponseSchema;\n },\n /**\n * Create a new account in the keybase using the name and password specified by SetAccount.\n * If an account with the same name already exists in the keybase,\n * this replaces it. (If you don't want to replace it, then it's your responsibility\n * to use GetKeyInfoByName to check if it exists before calling this.)\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.CreateAccount\n */\n createAccount: {\n methodKind: \"unary\";\n input: typeof CreateAccountRequestSchema;\n output: typeof CreateAccountResponseSchema;\n },\n /**\n * Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is\n * false, then you should call SetPassword before using a method which needs it.\n * If the account is already activated, return its info.\n * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ActivateAccount\n */\n activateAccount: {\n methodKind: \"unary\";\n input: typeof ActivateAccountRequestSchema;\n output: typeof ActivateAccountResponseSchema;\n },\n /**\n * Set the password for the account in the keybase with the given address.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetPassword\n */\n setPassword: {\n methodKind: \"unary\";\n input: typeof SetPasswordRequestSchema;\n output: typeof SetPasswordResponseSchema;\n },\n /**\n * Rotate the password of a key to a new password for the accounts in the keybase with the given addresses.\n * Before calling this, you must call SetPassword with the current password for each account.\n * If there is an error, then roll back all accounts to the current password.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.RotatePassword\n */\n rotatePassword: {\n methodKind: \"unary\";\n input: typeof RotatePasswordRequestSchema;\n output: typeof RotatePasswordResponseSchema;\n },\n /**\n * GetActivatedAccount gets the info of the account by address which has been activated by ActivateAccount.\n * If there the given address is not specified, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidAddress.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount\n */\n getActivatedAccount: {\n methodKind: \"unary\";\n input: typeof GetActivatedAccountRequestSchema;\n output: typeof GetActivatedAccountResponseSchema;\n },\n /**\n * QueryAccount retrieves account information from the blockchain for a given\n * address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QueryAccount\n */\n queryAccount: {\n methodKind: \"unary\";\n input: typeof QueryAccountRequestSchema;\n output: typeof QueryAccountResponseSchema;\n },\n /**\n * DeleteAccount deletes the account with the given name, using the password\n * to ensure access. However, if skip_password is true, then ignore the\n * password.\n * If the account doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.DeleteAccount\n */\n deleteAccount: {\n methodKind: \"unary\";\n input: typeof DeleteAccountRequestSchema;\n output: typeof DeleteAccountResponseSchema;\n },\n /**\n * Make an ABCI query to the remote node.\n * If the request path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.\n * If the request data has a package path that is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Query\n */\n query: {\n methodKind: \"unary\";\n input: typeof QueryRequestSchema;\n output: typeof QueryResponseSchema;\n },\n /**\n * Render calls the Render function for package_path with optional args. The\n * package path should include the prefix like \"gno.land/\". This is similar to\n * using a browser URL <nodeURL>/<pkgPath>:<args> where <pkgPath> doesn't have\n * the prefix like \"gno.land/\".\n * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Render\n */\n render: {\n methodKind: \"unary\";\n input: typeof RenderRequestSchema;\n output: typeof RenderResponseSchema;\n },\n /**\n * QEval evaluates the given expression with the realm code at package_path.\n * The package path should include the prefix like \"gno.land/\". The expression\n * is usually a function call like \"GetBoardIDFromName(\\\"testboard\\\")\". The\n * return value is a typed expression like\n * \"(1 gno.land/r/demo/boards.BoardID)\\n(true bool)\".\n * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QEval\n */\n qEval: {\n methodKind: \"unary\";\n input: typeof QEvalRequestSchema;\n output: typeof QEvalResponseSchema;\n },\n /**\n * Call a specific realm function. Sign the transaction with the given caller_address.\n * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n * If the path of a realm function call is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Call\n */\n call: {\n methodKind: \"server_streaming\";\n input: typeof CallRequestSchema;\n output: typeof CallResponseSchema;\n },\n /**\n * Send currency from the account with the given caller_address to an account on the blockchain.\n * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Send\n */\n send: {\n methodKind: \"server_streaming\";\n input: typeof SendRequestSchema;\n output: typeof SendResponseSchema;\n },\n /**\n * Temporarily load the code in package on the blockchain and run main() which can\n * call realm functions and use println() to output to the \"console\". Sign the transaction with the given caller_address.\n * This returns the \"console\" output.\n * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Run\n */\n run: {\n methodKind: \"server_streaming\";\n input: typeof RunRequestSchema;\n output: typeof RunResponseSchema;\n },\n /**\n * Make an unsigned transaction to call a specific realm function.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeCallTx\n */\n makeCallTx: {\n methodKind: \"unary\";\n input: typeof CallRequestSchema;\n output: typeof MakeTxResponseSchema;\n },\n /**\n * Make an unsigned transaction to send currency to an account on the blockchain.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeSendTx\n */\n makeSendTx: {\n methodKind: \"unary\";\n input: typeof SendRequestSchema;\n output: typeof MakeTxResponseSchema;\n },\n /**\n * Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeRunTx\n */\n makeRunTx: {\n methodKind: \"unary\";\n input: typeof RunRequestSchema;\n output: typeof MakeTxResponseSchema;\n },\n /**\n * EstimateGas estimates the least amount of gas required for the transaction to go through on the chain (minimum gas wanted), with a security margin.\n * If UpdateTx is true, then update the transaction with the gasWanted amount.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.EstimateGas\n */\n estimateGas: {\n methodKind: \"unary\";\n input: typeof EstimateGasRequestSchema;\n output: typeof EstimateGasResponseSchema;\n },\n /**\n * Sign the transaction using the account with the given address.\n * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.\n * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SignTx\n */\n signTx: {\n methodKind: \"unary\";\n input: typeof SignTxRequestSchema;\n output: typeof SignTxResponseSchema;\n },\n /**\n * Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit\n */\n broadcastTxCommit: {\n methodKind: \"server_streaming\";\n input: typeof BroadcastTxCommitRequestSchema;\n output: typeof BroadcastTxCommitResponseSchema;\n },\n /**\n * Convert a byte array address to a bech32 string address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressToBech32\n */\n addressToBech32: {\n methodKind: \"unary\";\n input: typeof AddressToBech32RequestSchema;\n output: typeof AddressToBech32ResponseSchema;\n },\n /**\n * Convert a bech32 string address to a byte array address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromBech32\n */\n addressFromBech32: {\n methodKind: \"unary\";\n input: typeof AddressFromBech32RequestSchema;\n output: typeof AddressFromBech32ResponseSchema;\n },\n /**\n * Convert a mnemonic (as in CreateAccount) to a byte array address.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic\n */\n addressFromMnemonic: {\n methodKind: \"unary\";\n input: typeof AddressFromMnemonicRequestSchema;\n output: typeof AddressFromMnemonicResponseSchema;\n },\n /**\n * Validate a single mnemonic word (for example, as in CreateAccount).\n * In the response, set valid true if the mnemonic word is valid.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicWord\n */\n validateMnemonicWord: {\n methodKind: \"unary\";\n input: typeof ValidateMnemonicWordRequestSchema;\n output: typeof ValidateMnemonicWordResponseSchema;\n },\n /**\n * Validate a mnemonic phrase (for example, as in CreateAccount).\n * In the response, set valid true if the mnemonic phrase is valid.\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicPhrase\n */\n validateMnemonicPhrase: {\n methodKind: \"unary\";\n input: typeof ValidateMnemonicPhraseRequestSchema;\n output: typeof ValidateMnemonicPhraseResponseSchema;\n },\n /**\n * Hello is for debug purposes\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Hello\n */\n hello: {\n methodKind: \"unary\";\n input: typeof HelloRequestSchema;\n output: typeof HelloResponseSchema;\n },\n /**\n * HelloStream is for debug purposes\n *\n * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HelloStream\n */\n helloStream: {\n methodKind: \"server_streaming\";\n input: typeof HelloStreamRequestSchema;\n output: typeof HelloStreamResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_rpc, 0);\n\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gnonative-provider.js","sourceRoot":"","sources":["../../src/provider/gnonative-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAYtC,MAAM,gBAAgB,GAAG,aAAa,CAA+B,IAAI,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAAqC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;IACnF,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAe,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC;IAE/D,SAAS,CAAC,GAAG,EAAE;QACb,CAAC,KAAK,IAAI,EAAE;YACV,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC;YACnB,cAAc,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC,CAAC,EAAE,CAAC;IACP,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,KAAK,UAAU,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"gnonative-provider.js","sourceRoot":"","sources":["../../src/provider/gnonative-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAYtC,MAAM,gBAAgB,GAAG,aAAa,CAA+B,IAAI,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAAqC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;IACnF,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,CAAC,GAA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NativeApi } from '../api';\nimport { Config } from '../api/types';\n\nexport interface GnoNativeContextProps {\n gnonative: GnoNativeApi;\n}\n\ninterface GnoNativeProviderProps {\n config: Config;\n children: React.ReactNode;\n}\n\nconst GnoNativeContext = createContext<GnoNativeContextProps | null>(null);\n\nconst GnoNativeProvider: React.FC<GnoNativeProviderProps> = ({ children, config }) => {\n const [initialized, setInitialized] = useState(false);\n const [api] = useState<GnoNativeApi>(new GnoNativeApi(config));\n\n useEffect(() => {\n (async () => {\n await init(config);\n setInitialized(true);\n })();\n }, []);\n\n async function init(config: Config): Promise<boolean> {\n console.log(\n '🍄 Initializing GnoNative Context on remote: %s chain_id: %s',\n config.remote,\n config.chain_id,\n );\n\n try {\n await api.initClient();\n } catch (error) {\n console.error(error);\n return false;\n }\n\n return true;\n }\n\n const value = {\n gnonative: api,\n };\n\n if (!initialized) {\n return null;\n }\n\n return <GnoNativeContext.Provider value={value}>{children}</GnoNativeContext.Provider>;\n};\n\nfunction useGnoNativeContext() {\n const context = useContext(GnoNativeContext) as GnoNativeContextProps;\n\n if (context === undefined) {\n throw new Error('useGnoNativeContext must be used within a GnoNativeProvider');\n }\n return context;\n}\n\nexport { GnoNativeProvider, useGnoNativeContext };\n"]}
|
|
Binary file
|
|
Binary file
|
package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/GnoCore
CHANGED
|
Binary file
|
package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/GnoCore
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gnolang/gnonative",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "Develop for Gno using your app's native language ",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"fast-text-encoding": "^1.0.6"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/react": "
|
|
40
|
-
"expo-module-scripts": "^
|
|
39
|
+
"@types/react": "~19.0.0",
|
|
40
|
+
"expo-module-scripts": "^4.1.7",
|
|
41
41
|
"expo-modules-core": "~1.11.12"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
package/src/api/GnoNativeApi.ts
CHANGED
|
@@ -391,6 +391,18 @@ export class GnoNativeApi implements GnoKeyApi, GoBridgeInterface {
|
|
|
391
391
|
return response.address;
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
+
async validateMnemonicWord(word: string) {
|
|
395
|
+
const client = this.#getClient();
|
|
396
|
+
const response = await client.validateMnemonicWord({ word });
|
|
397
|
+
return response.valid;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
async validateMnemonicPhrase(phrase: string) {
|
|
401
|
+
const client = this.#getClient();
|
|
402
|
+
const response = await client.validateMnemonicPhrase({ phrase });
|
|
403
|
+
return response.valid;
|
|
404
|
+
}
|
|
405
|
+
|
|
394
406
|
async broadcastTxCommit(signedTxJson: string): Promise<AsyncIterable<BroadcastTxCommitResponse>> {
|
|
395
407
|
const client = this.#getClient();
|
|
396
408
|
const response = client.broadcastTxCommit({ signedTxJson });
|
package/src/api/types.ts
CHANGED
|
@@ -82,6 +82,8 @@ export interface GnoKeyApi {
|
|
|
82
82
|
addressToBech32: (address: Uint8Array) => Promise<string>;
|
|
83
83
|
addressFromMnemonic: (mnemonic: string) => Promise<Uint8Array>;
|
|
84
84
|
addressFromBech32: (bech32Address: string) => Promise<Uint8Array>;
|
|
85
|
+
validateMnemonicWord: (word: string) => Promise<boolean>;
|
|
86
|
+
validateMnemonicPhrase: (phrase: string) => Promise<boolean>;
|
|
85
87
|
signTx(
|
|
86
88
|
txJson: string,
|
|
87
89
|
address: Uint8Array,
|
|
@@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
10
10
|
* Describes the file gnonativetypes.proto.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MIjEKF0FkZHJlc3NUb0JlY2gzMlJlc3BvbnNlEhYKDmJlY2gzMl9hZGRyZXNzGAEgASgJIjIKGEFkZHJlc3NGcm9tQmVjaDMyUmVxdWVzdBIWCg5iZWNoMzJfYWRkcmVzcxgBIAEoCSIsChlBZGRyZXNzRnJvbUJlY2gzMlJlc3BvbnNlEg8KB2FkZHJlc3MYASABKAwiLgoaQWRkcmVzc0Zyb21NbmVtb25pY1JlcXVlc3QSEAoIbW5lbW9uaWMYASABKAkiLgobQWRkcmVzc0Zyb21NbmVtb25pY1Jlc3BvbnNlEg8KB2FkZHJlc3MYASABKAwiKwobVmFsaWRhdGVNbmVtb25pY1dvcmRSZXF1ZXN0EgwKBHdvcmQYASABKAkiLQocVmFsaWRhdGVNbmVtb25pY1dvcmRSZXNwb25zZRINCgV2YWxpZBgBIAEoCCIvCh1WYWxpZGF0ZU1uZW1vbmljUGhyYXNlUmVxdWVzdBIOCgZwaHJhc2UYASABKAkiLwoeVmFsaWRhdGVNbmVtb25pY1BocmFzZVJlc3BvbnNlEg0KBXZhbGlkGAEgASgIIiIKDEhlbGxvUmVxdWVzdBISCgRuYW1lGAEgASgJUgROYW1lIisKDUhlbGxvUmVzcG9uc2USGgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nIigKEkhlbGxvU3RyZWFtUmVxdWVzdBISCgRuYW1lGAEgASgJUgROYW1lIjEKE0hlbGxvU3RyZWFtUmVzcG9uc2USGgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nIikKGEdOT05BVElWRVRZUEVTX0J5dGVzTGlzdBINCgVWYWx1ZRgBIAMoDEIpWidnaXRodWIuY29tL2dub2xhbmcvZ25vbmF0aXZlL2FwaS9nZW4vZ29iBnByb3RvMw");
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* messages
|
|
@@ -1540,6 +1540,74 @@ export type AddressFromMnemonicResponse = Message<"land.gno.gnonative.v1.Address
|
|
|
1540
1540
|
export const AddressFromMnemonicResponseSchema: GenMessage<AddressFromMnemonicResponse> = /*@__PURE__*/
|
|
1541
1541
|
messageDesc(file_gnonativetypes, 68);
|
|
1542
1542
|
|
|
1543
|
+
/**
|
|
1544
|
+
* @generated from message land.gno.gnonative.v1.ValidateMnemonicWordRequest
|
|
1545
|
+
*/
|
|
1546
|
+
export type ValidateMnemonicWordRequest = Message<"land.gno.gnonative.v1.ValidateMnemonicWordRequest"> & {
|
|
1547
|
+
/**
|
|
1548
|
+
* @generated from field: string word = 1;
|
|
1549
|
+
*/
|
|
1550
|
+
word: string;
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* Describes the message land.gno.gnonative.v1.ValidateMnemonicWordRequest.
|
|
1555
|
+
* Use `create(ValidateMnemonicWordRequestSchema)` to create a new message.
|
|
1556
|
+
*/
|
|
1557
|
+
export const ValidateMnemonicWordRequestSchema: GenMessage<ValidateMnemonicWordRequest> = /*@__PURE__*/
|
|
1558
|
+
messageDesc(file_gnonativetypes, 69);
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* @generated from message land.gno.gnonative.v1.ValidateMnemonicWordResponse
|
|
1562
|
+
*/
|
|
1563
|
+
export type ValidateMnemonicWordResponse = Message<"land.gno.gnonative.v1.ValidateMnemonicWordResponse"> & {
|
|
1564
|
+
/**
|
|
1565
|
+
* @generated from field: bool valid = 1;
|
|
1566
|
+
*/
|
|
1567
|
+
valid: boolean;
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* Describes the message land.gno.gnonative.v1.ValidateMnemonicWordResponse.
|
|
1572
|
+
* Use `create(ValidateMnemonicWordResponseSchema)` to create a new message.
|
|
1573
|
+
*/
|
|
1574
|
+
export const ValidateMnemonicWordResponseSchema: GenMessage<ValidateMnemonicWordResponse> = /*@__PURE__*/
|
|
1575
|
+
messageDesc(file_gnonativetypes, 70);
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* @generated from message land.gno.gnonative.v1.ValidateMnemonicPhraseRequest
|
|
1579
|
+
*/
|
|
1580
|
+
export type ValidateMnemonicPhraseRequest = Message<"land.gno.gnonative.v1.ValidateMnemonicPhraseRequest"> & {
|
|
1581
|
+
/**
|
|
1582
|
+
* @generated from field: string phrase = 1;
|
|
1583
|
+
*/
|
|
1584
|
+
phrase: string;
|
|
1585
|
+
};
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* Describes the message land.gno.gnonative.v1.ValidateMnemonicPhraseRequest.
|
|
1589
|
+
* Use `create(ValidateMnemonicPhraseRequestSchema)` to create a new message.
|
|
1590
|
+
*/
|
|
1591
|
+
export const ValidateMnemonicPhraseRequestSchema: GenMessage<ValidateMnemonicPhraseRequest> = /*@__PURE__*/
|
|
1592
|
+
messageDesc(file_gnonativetypes, 71);
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @generated from message land.gno.gnonative.v1.ValidateMnemonicPhraseResponse
|
|
1596
|
+
*/
|
|
1597
|
+
export type ValidateMnemonicPhraseResponse = Message<"land.gno.gnonative.v1.ValidateMnemonicPhraseResponse"> & {
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from field: bool valid = 1;
|
|
1600
|
+
*/
|
|
1601
|
+
valid: boolean;
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* Describes the message land.gno.gnonative.v1.ValidateMnemonicPhraseResponse.
|
|
1606
|
+
* Use `create(ValidateMnemonicPhraseResponseSchema)` to create a new message.
|
|
1607
|
+
*/
|
|
1608
|
+
export const ValidateMnemonicPhraseResponseSchema: GenMessage<ValidateMnemonicPhraseResponse> = /*@__PURE__*/
|
|
1609
|
+
messageDesc(file_gnonativetypes, 72);
|
|
1610
|
+
|
|
1543
1611
|
/**
|
|
1544
1612
|
* @generated from message land.gno.gnonative.v1.HelloRequest
|
|
1545
1613
|
*/
|
|
@@ -1555,7 +1623,7 @@ export type HelloRequest = Message<"land.gno.gnonative.v1.HelloRequest"> & {
|
|
|
1555
1623
|
* Use `create(HelloRequestSchema)` to create a new message.
|
|
1556
1624
|
*/
|
|
1557
1625
|
export const HelloRequestSchema: GenMessage<HelloRequest> = /*@__PURE__*/
|
|
1558
|
-
messageDesc(file_gnonativetypes,
|
|
1626
|
+
messageDesc(file_gnonativetypes, 73);
|
|
1559
1627
|
|
|
1560
1628
|
/**
|
|
1561
1629
|
* @generated from message land.gno.gnonative.v1.HelloResponse
|
|
@@ -1572,7 +1640,7 @@ export type HelloResponse = Message<"land.gno.gnonative.v1.HelloResponse"> & {
|
|
|
1572
1640
|
* Use `create(HelloResponseSchema)` to create a new message.
|
|
1573
1641
|
*/
|
|
1574
1642
|
export const HelloResponseSchema: GenMessage<HelloResponse> = /*@__PURE__*/
|
|
1575
|
-
messageDesc(file_gnonativetypes,
|
|
1643
|
+
messageDesc(file_gnonativetypes, 74);
|
|
1576
1644
|
|
|
1577
1645
|
/**
|
|
1578
1646
|
* @generated from message land.gno.gnonative.v1.HelloStreamRequest
|
|
@@ -1589,7 +1657,7 @@ export type HelloStreamRequest = Message<"land.gno.gnonative.v1.HelloStreamReque
|
|
|
1589
1657
|
* Use `create(HelloStreamRequestSchema)` to create a new message.
|
|
1590
1658
|
*/
|
|
1591
1659
|
export const HelloStreamRequestSchema: GenMessage<HelloStreamRequest> = /*@__PURE__*/
|
|
1592
|
-
messageDesc(file_gnonativetypes,
|
|
1660
|
+
messageDesc(file_gnonativetypes, 75);
|
|
1593
1661
|
|
|
1594
1662
|
/**
|
|
1595
1663
|
* @generated from message land.gno.gnonative.v1.HelloStreamResponse
|
|
@@ -1606,7 +1674,7 @@ export type HelloStreamResponse = Message<"land.gno.gnonative.v1.HelloStreamResp
|
|
|
1606
1674
|
* Use `create(HelloStreamResponseSchema)` to create a new message.
|
|
1607
1675
|
*/
|
|
1608
1676
|
export const HelloStreamResponseSchema: GenMessage<HelloStreamResponse> = /*@__PURE__*/
|
|
1609
|
-
messageDesc(file_gnonativetypes,
|
|
1677
|
+
messageDesc(file_gnonativetypes, 76);
|
|
1610
1678
|
|
|
1611
1679
|
/**
|
|
1612
1680
|
* @generated from message land.gno.gnonative.v1.GNONATIVETYPES_BytesList
|
|
@@ -1623,5 +1691,5 @@ export type GNONATIVETYPES_BytesList = Message<"land.gno.gnonative.v1.GNONATIVET
|
|
|
1623
1691
|
* Use `create(GNONATIVETYPES_BytesListSchema)` to create a new message.
|
|
1624
1692
|
*/
|
|
1625
1693
|
export const GNONATIVETYPES_BytesListSchema: GenMessage<GNONATIVETYPES_BytesList> = /*@__PURE__*/
|
|
1626
|
-
messageDesc(file_gnonativetypes,
|
|
1694
|
+
messageDesc(file_gnonativetypes, 77);
|
|
1627
1695
|
|
package/src/api/vendor/rpc_pb.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
-
import type { ActivateAccountRequestSchema, ActivateAccountResponseSchema, AddressFromBech32RequestSchema, AddressFromBech32ResponseSchema, AddressFromMnemonicRequestSchema, AddressFromMnemonicResponseSchema, AddressToBech32RequestSchema, AddressToBech32ResponseSchema, BroadcastTxCommitRequestSchema, BroadcastTxCommitResponseSchema, CallRequestSchema, CallResponseSchema, CreateAccountRequestSchema, CreateAccountResponseSchema, DeleteAccountRequestSchema, DeleteAccountResponseSchema, EstimateGasRequestSchema, EstimateGasResponseSchema, GenerateRecoveryPhraseRequestSchema, GenerateRecoveryPhraseResponseSchema, GetActivatedAccountRequestSchema, GetActivatedAccountResponseSchema, GetChainIDRequestSchema, GetChainIDResponseSchema, GetKeyInfoByAddressRequestSchema, GetKeyInfoByAddressResponseSchema, GetKeyInfoByNameOrAddressRequestSchema, GetKeyInfoByNameOrAddressResponseSchema, GetKeyInfoByNameRequestSchema, GetKeyInfoByNameResponseSchema, GetRemoteRequestSchema, GetRemoteResponseSchema, HasKeyByAddressRequestSchema, HasKeyByAddressResponseSchema, HasKeyByNameOrAddressRequestSchema, HasKeyByNameOrAddressResponseSchema, HasKeyByNameRequestSchema, HasKeyByNameResponseSchema, HelloRequestSchema, HelloResponseSchema, HelloStreamRequestSchema, HelloStreamResponseSchema, ListKeyInfoRequestSchema, ListKeyInfoResponseSchema, MakeTxResponseSchema, QEvalRequestSchema, QEvalResponseSchema, QueryAccountRequestSchema, QueryAccountResponseSchema, QueryRequestSchema, QueryResponseSchema, RenderRequestSchema, RenderResponseSchema, RotatePasswordRequestSchema, RotatePasswordResponseSchema, RunRequestSchema, RunResponseSchema, SendRequestSchema, SendResponseSchema, SetChainIDRequestSchema, SetChainIDResponseSchema, SetPasswordRequestSchema, SetPasswordResponseSchema, SetRemoteRequestSchema, SetRemoteResponseSchema, SignTxRequestSchema, SignTxResponseSchema } from "./gnonativetypes_pb";
|
|
7
|
+
import type { ActivateAccountRequestSchema, ActivateAccountResponseSchema, AddressFromBech32RequestSchema, AddressFromBech32ResponseSchema, AddressFromMnemonicRequestSchema, AddressFromMnemonicResponseSchema, AddressToBech32RequestSchema, AddressToBech32ResponseSchema, BroadcastTxCommitRequestSchema, BroadcastTxCommitResponseSchema, CallRequestSchema, CallResponseSchema, CreateAccountRequestSchema, CreateAccountResponseSchema, DeleteAccountRequestSchema, DeleteAccountResponseSchema, EstimateGasRequestSchema, EstimateGasResponseSchema, GenerateRecoveryPhraseRequestSchema, GenerateRecoveryPhraseResponseSchema, GetActivatedAccountRequestSchema, GetActivatedAccountResponseSchema, GetChainIDRequestSchema, GetChainIDResponseSchema, GetKeyInfoByAddressRequestSchema, GetKeyInfoByAddressResponseSchema, GetKeyInfoByNameOrAddressRequestSchema, GetKeyInfoByNameOrAddressResponseSchema, GetKeyInfoByNameRequestSchema, GetKeyInfoByNameResponseSchema, GetRemoteRequestSchema, GetRemoteResponseSchema, HasKeyByAddressRequestSchema, HasKeyByAddressResponseSchema, HasKeyByNameOrAddressRequestSchema, HasKeyByNameOrAddressResponseSchema, HasKeyByNameRequestSchema, HasKeyByNameResponseSchema, HelloRequestSchema, HelloResponseSchema, HelloStreamRequestSchema, HelloStreamResponseSchema, ListKeyInfoRequestSchema, ListKeyInfoResponseSchema, MakeTxResponseSchema, QEvalRequestSchema, QEvalResponseSchema, QueryAccountRequestSchema, QueryAccountResponseSchema, QueryRequestSchema, QueryResponseSchema, RenderRequestSchema, RenderResponseSchema, RotatePasswordRequestSchema, RotatePasswordResponseSchema, RunRequestSchema, RunResponseSchema, SendRequestSchema, SendResponseSchema, SetChainIDRequestSchema, SetChainIDResponseSchema, SetPasswordRequestSchema, SetPasswordResponseSchema, SetRemoteRequestSchema, SetRemoteResponseSchema, SignTxRequestSchema, SignTxResponseSchema, ValidateMnemonicPhraseRequestSchema, ValidateMnemonicPhraseResponseSchema, ValidateMnemonicWordRequestSchema, ValidateMnemonicWordResponseSchema } from "./gnonativetypes_pb";
|
|
8
8
|
import { file_gnonativetypes } from "./gnonativetypes_pb";
|
|
9
9
|
import type { Message } from "@bufbuild/protobuf";
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
12
12
|
* Describes the file rpc.proto.
|
|
13
13
|
*/
|
|
14
14
|
export const file_rpc: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
15
|
+
fileDesc("CglycGMucHJvdG8SFWxhbmQuZ25vLmdub25hdGl2ZS52MSI7CgpFcnJEZXRhaWxzEi0KBWNvZGVzGAEgAygOMh4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkVyckNvZGUqtAYKB0VyckNvZGUSDQoJVW5kZWZpbmVkEAASCAoEVE9ETxABEhUKEUVyck5vdEltcGxlbWVudGVkEAISDwoLRXJySW50ZXJuYWwQAxITCg9FcnJJbnZhbGlkSW5wdXQQZBIYChRFcnJCcmlkZ2VJbnRlcnJ1cHRlZBBlEhMKD0Vyck1pc3Npbm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no.gnonative.v1.ErrDetails
|
|
@@ -672,6 +672,28 @@ export const GnoNativeService: GenService<{
|
|
|
672
672
|
input: typeof AddressFromMnemonicRequestSchema;
|
|
673
673
|
output: typeof AddressFromMnemonicResponseSchema;
|
|
674
674
|
},
|
|
675
|
+
/**
|
|
676
|
+
* Validate a single mnemonic word (for example, as in CreateAccount).
|
|
677
|
+
* In the response, set valid true if the mnemonic word is valid.
|
|
678
|
+
*
|
|
679
|
+
* @generated from rpc land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicWord
|
|
680
|
+
*/
|
|
681
|
+
validateMnemonicWord: {
|
|
682
|
+
methodKind: "unary";
|
|
683
|
+
input: typeof ValidateMnemonicWordRequestSchema;
|
|
684
|
+
output: typeof ValidateMnemonicWordResponseSchema;
|
|
685
|
+
},
|
|
686
|
+
/**
|
|
687
|
+
* Validate a mnemonic phrase (for example, as in CreateAccount).
|
|
688
|
+
* In the response, set valid true if the mnemonic phrase is valid.
|
|
689
|
+
*
|
|
690
|
+
* @generated from rpc land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicPhrase
|
|
691
|
+
*/
|
|
692
|
+
validateMnemonicPhrase: {
|
|
693
|
+
methodKind: "unary";
|
|
694
|
+
input: typeof ValidateMnemonicPhraseRequestSchema;
|
|
695
|
+
output: typeof ValidateMnemonicPhraseResponseSchema;
|
|
696
|
+
},
|
|
675
697
|
/**
|
|
676
698
|
* Hello is for debug purposes
|
|
677
699
|
*
|
|
@@ -25,7 +25,7 @@ const GnoNativeProvider: React.FC<GnoNativeProviderProps> = ({ children, config
|
|
|
25
25
|
})();
|
|
26
26
|
}, []);
|
|
27
27
|
|
|
28
|
-
async function init(config): Promise<boolean> {
|
|
28
|
+
async function init(config: Config): Promise<boolean> {
|
|
29
29
|
console.log(
|
|
30
30
|
'🍄 Initializing GnoNative Context on remote: %s chain_id: %s',
|
|
31
31
|
config.remote,
|