#❓︲dev-questions

1 messages · Page 1 of 1 (latest)

hushed cobalt
#

Anyone here know how to get a random number in injective cosmwasm? I need an element of true randomness and dont want to use the block timestamp

modest stump
#

First you must introduce the proxy contract to the chain, from which you are going to consume the randomness.

hushed cobalt
modest stump
modest stump
#

ok, so the process is permission less, @hushed cobalt you can dig into and propose it to Injective voting if you'd like to use it

true depot
#

Hello I have a few questions regarding the project I am building and how I can successfully integrate some of the injective bridge modules into it. Can a <@&739555074879258704> member help me with this?

tardy night
true depot
#

Ok but specifically my idea is to use NFTs on ETH as collateral for lending on Cosmos. Do you think this is possible if we create the loan and bridge it through Injective? Is there anything like this currently within Injective ecosystem? @tardy night

ruby salmon
#

@tardy night is bridging ETH from Ethereum currently supported via Wormhole? I saw the docs and it only gives a Solana example

ruby salmon
tardy night
#

You wanna build a Wormhole bridge for Injective?

#

The bridge-ts package is mostly for our purpose, we use it on the Hub. We don’t have examples/documentation for this tho as its quite specific and I’d suggest to use the wormhole-sdk to build your own version.

ruby salmon
#

I need to bridge ETH in an Ethereum smart contract to Injective/Cosmos via Wormhole. all this programmatically

tardy night
#

I suggest you read more on the wormhole-sdk

true depot
#

Hello. I was wondering if there was a way to do a 15 minute mentor office hour with one of the injective team members?

river lotus
true depot
#

let me know when you send it

modest stump
#

just listening the twitter spaces - I heard about some injective UI kit for connecting all the different wallets, but I didn't catch the module name. Can somebody link me GH?

tardy night
modest stump
#

regarding atomic spot orders - if I send batch update msg with atomic-sell atom->usdt, and atomic-buy usdt -> inj, while having only the atom in the contracts assets

#

should such operation work?

true depot
tardy night
ruby salmon
#

@tardy night is there an implementation example with Wallet Strategy? we're trying to imagine how does it integrates with MM or how is it used, rather than the available methods

tardy night
ruby salmon
#

in the peggyBridge contract, what is the _data parameter from the sendToInjective function for? function sendToInjective( address _tokenContract, bytes32 _destination, uint256 _amount, string calldata _data ) external whenNotPaused nonReentrant { I can't tell since it's not used in this example https://github.com/InjectiveLabs/injective-ts/blob/5ebc62502e713740a3b5dea83ee1c14a33c4ccd2/packages/sdk-ui-ts/src/web3/Web3Client.ts#L165-L217

GitHub

Collection of TypeScript packages that consume and interact with the Injective Chain - injective-ts/Web3Client.ts at 5ebc62502e713740a3b5dea83ee1c14a33c4ccd2 · InjectiveLabs/injective-ts

#

also, just want to make sure: the bytes32 _destination param, is the injective, or the ethereum address -prepended with '0'*24? initially I thought it was the injective address but after looking at the Etherscan txs it seems to be an ethereum address

tardy night
tardy night
ruby salmon
ruby salmon
silver plinth
#

hello guys, please i wanna know where can i get list of all message type. here is example of what i'm talking about

ruby salmon
#

I m not fully getting this is this

modest stump
#
const { signBytes, txRaw } = createTransaction({...})
const signature = await injectiveTendermintPrivateKey.sign(
      Buffer.from(signBytes),
    )

txRaw.setSignaturesList([signature])``` this pseudocode was possible with injective-sdk 1.0.490, but with current version 1.10.49 I got TS error that setSignaturesList is no longer a method on txRaw. How to sign the transaction now?
tardy night
modest stump
#

as easy as could be, thanks 🙂

vestal matrix
#

do you provide access to any ubuntu servers for hosting app and or services?

frosty nymph
#

Hey I'm trying to upload a contract in K8S testnet, I used MsgStoreCode & MsgBroadcasterWithPk.
I receive this error: 'out of gas in location: txSize; gasWanted: 600000, gasUsed: 4189443: out of gas'
is there a chain limit or something? @tardy night

tardy night
#

You can increase the gas by passing the gas limit yourself on the broadcast method

interface MsgBroadcasterTxOptions {
  msgs: Msgs | Msgs[]
  injectiveAddress: string
  ethereumAddress?: string
  memo?: string
  feePrice?: string
  feeDenom?: string
  gasLimit?: number
}
frosty nymph
#
Error: Transaction was not included in a block before timeout of 60000ms
    at TxGrpcApi.<anonymous> (/Users/j0nl1/Repositories/vectis/vectis-contracts/cli/node_modules/@injectivelabs/sdk-ts/src/core/modules/tx/api/TxGrpcApi.ts:200:38)
    at Generator.throw (<anonymous>)
    at rejected (/Users/j0nl1/Repositories/vectis/vectis-contracts/cli/node_modules/@injectivelabs/sdk-ts/dist/cjs/core/modules/tx/api/TxGrpcApi.js:6:65) {
  type: 'chain-error',
  code: -1,
  errorMessage: 'Transaction was not included in a block before timeout of 60000ms',
  name: 'TransactionException',
  errorClass: 'TransactionException',
  context: '',
  contextModule: '',
  contextCode: -1
}
#

is this because I'm using a wrong network or something? I'm using k8s-testnet

tardy night
#

try again, if the contract code is huge than it might take a few tries

frosty nymph
#

I'm trying to upload a bunch of them because they are connected but all of them fails

#

I could upload one but I can't anymore

tardy night
#

Install the latest packages, I've added a way to simulate the transaction and use the gas needed for the transaction now in the MsgBroadcasterClientWithPk

#

new MsgBroadcasterClientWithPk({simulateTx: true})

frosty nymph
#

Thank you Bojan, that was exactly what I did, thank for you integrate it in the library

ruby salmon
#

also, how can I tell whether an ERC20 was deployed to Injective? especifically, the WETH ERC-20

forest flint
ruby salmon
modest stump
#

Is anyone using cw_multi_test::AppBuilder for integration tests on injective contracts? I'm having difficulties with types

expected struct `Box<(dyn cw_multi_test::Contract<cosmwasm_std::Empty> + 'static)>`
   found struct `Box<(dyn cw_multi_test::Contract<InjectiveMsgWrapper> + 'static)>````
ornate holly
#

@modest stump how are you initialising your app and especially the WasmKeeper? I'd guess you might have not inilised it with InjectiveMsgWrapper type, but instead used the Empty (default)? Could you try something along these lines?

let wasm_keeper = WasmKeeper::<InjectiveMsgWrapper, InjectiveQueryWrapper>::new()
BasicAppBuilder::new()
.with_wasm::<CustomInjectiveHandler, WasmKeeper<InjectiveMsgWrapper, InjectiveQueryWrapper>>(wasm_keeper)
.build()
ruby salmon
modest stump
ruby salmon
#

I ll take a look at it thanks do you

ornate holly
ornate holly
blissful dirge
#

Hi team, just one question are you sure on the doc for the denom token factory: [a-zA-Z0-9./] is correct? It seems an issue with '/' on the subdenom. It's on the factory module

tardy night
#

you can read here

blissful dirge
dapper surge
frosty nymph
#

Hey @tardy night, I tried to broadcast a tx but lcd endpoint is restricted by cors.

Acess to XMLHttpRequest at 'https://testnet.lcd.injective.network/cosmos/tx/v1beta1/txs' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
tardy night
frosty nymph
tardy night
#

@forest flint can we have a look?

frosty nymph
forest flint
frosty nymph
#

I'm having an issue when I broadcast the tx:

Error: pubKey does not match signer address inj1tcxyhajlzvdheqyackfzqcmmfcr760marahn48 with signer index: 0: invalid pubkey

I'm trying to figure out what format should be that pubkey, I'm transform it to base64 string from binary (secp256k1)

#
  const { signDoc } = createTransaction({
    pubKey: toBase64(pubkey),
    accountNumber,
    sequence,
    message: msg,
    chainId: "injective-888",
  });
tardy night
frosty nymph
# tardy night You are probably encoding the pubKey to base64 twice.

I don't think it will be that error, I'm verifying that I'm transforming to base64 only once.

  const { signDoc } = createTransaction({
    pubKey: Buffer.from(pubkey).toString("base64"),
    accountNumber,
    sequence,
    message: msg,
    chainId: "injective-888",
  });

Error: pubKey does not match signer address inj1tcxyhajlzvdheqyackfzqcmmfcr760marahn48 with signer index: 0: invalid pubkey

tardy night
true depot
#

Hey @obsidian moth can you send me a friend request?

frosty nymph
#

the address from signer is different to the one derive from PublicKey class

tardy night
frosty nymph
#

I know I was trying to simulate in a script the same behavoir that happen with Keplr

tardy night
#

We don't have this particular example anywhere on the Wiki page tho, so I don't know exactly what is not working, I'd need some time to debug

#
  const { value } = encodeSecp256k1Pubkey(pubkey); // The base64 encoding of the Amino binary encoded pubkey.;

maybe here is the problem

frosty nymph
#

that return the value in base64 and also I used fromBytes from PublicKey to show that both methods return the same address, so public key is right.

tardy night
#

I need a gist or something so I can have a look

jovial igloo
#

something like Any(type_url="/type/url/string", value=PubKey(key=your_key))

frosty nymph
#

nvm understood, I know what's the issue, basically is how the address is generated from the pubkey and also the signature got it, thank you!

vestal matrix
#

Hello, I'm trying to compile Pyth's cosmwasm contracts but I get error "error[E0277]: the trait bound QueryMsg: QueryResponses is not satisfied" does anyone know what is the best way to resolve it? I basically need their contracts in my project. Would the best way be to rebuild their contracts manually and just get what I need?

modest stump
vestal matrix
#

pyth-coswasm

ruby salmon
tardy night
modest stump
#

another question - I'm struggling to get correct spot order on testnet ATOM/USDT - here is tx which creates 2 submessage orders https://testnet.explorer.injective.network/transaction/EE0E6F86A74050C27B547B0C39F543AB12C6805C9894921C8BECCD6D61A28B3B/?tab=eventlogs (one order on INJ/USDT and one on ATOM/USDT), the INJ is fine, but ATOM is smaller than intended.

I send following stringified msg SpotOrder { market_id: MarketId("0x491ee4fae7956dd72b6a97805046ffef65892e1d3254c559c18056a519b2ca15"), order_info: OrderInfo { subaccount_id: SubaccountId("0x04a7ccf83edc47ab2bbf56388dca20d950e2d56b000000000000000000000000"), fee_recipient: Some(Addr("inj1qjnue7p7m3r6k2al2cugmj3qm9gw94ttxjm646")), price: FPDecimal { num: 11505410000000000000, sign: 1 }, quantity: FPDecimal { num: 500000000000000000000000, sign: 1 } }, order_type: BuyAtomic, trigger_price: None } }, what I expect is order of 0.5 ATOM for price 11.50541, but when I check past trades I see 0.005 ATOM bid

#

Would anyone notice what's wrong with my msg ? Some decimals are probably wrong.

modest stump
#

the ATOM spot market on testnet seems 2 decimals off, comparing to production. Anyway is there a way, how to find out more about a particular factory token? In my case factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/atom, when I try to get denom_decimal it returns error: 12. The asset should be testnet ATOM I believe

tardy night
#

what sdk are you using?

modest stump
#

For the information about the token I used LCD endpoint something like exchange/denom_decimal can't remember

#

For the order messages I use rust cw-injective

ruby salmon
dapper surge
#

I am trying to use Keplr with MsgBroadcaster and Wallet Strategy but my app crashes due to Uncaught ReferenceError: global is not defined (from randombytes in @toruslabs/openlogin-utils)

tardy night
dapper surge
#

How to add Injective-888 to Keplr? keplr.experimentalSuggestChain() doesn't accept getNetworkChainInfo() response. I tried to specify ChainInfo for Keplr manually but testnet was not added.

Probably it's a reason why I got Error: signature verification failed; please verify account number (30476) and chain-id (injective-1): unauthorized trying to send tx while actual chainId is "injective-888" and accountNumber is "10660"

tardy night
tulip plover
#

Where can I find information about API keys for asset prices to connect to my dapp?

forest flint
tulip plover
forest flint
tardy night
obsidian moth
#
#[entry_point]
pub fn sudo(deps: DepsMut<InjectiveQueryWrapper>, env: Env, msg: SudoMsg) -> Result<Response<InjectiveMsgWrapper>, ContractError> {
    match msg {
        SudoMsg::BeginBlocker {} => begin_blocker(deps, &env),
        SudoMsg::Deregister {} | SudoMsg::Deactivate {} => deregister(deps),
    }
}

An example how to define the begin_blocker function in your contract if you want it to be executed automatically. Deregister and deactivate are optional hooks which are automatically called once the contract stops being automatically executed (for various reasons, bug during execution, running out of gas or deregistered via governance).

tulip plover
#

@tardy night I cant find it , but maybe you can help , where I can find API for tokens information on Injective blockchain, like logo, address, symbol

tardy night
# tulip plover <@545287134257479700> I cant find it , but maybe you can help , where I can find...

We use the @injectivelabs/token-metadata package on the products. You can use this abstraction class here https://github.com/InjectiveLabs/injective-ts/blob/515a9a8da08f883a0852a3a88c91fee0941b147a/packages/sdk-ts/src/core/utils/Denom/DenomClient.ts#L32 to convert denoms to Token

GitHub

Collection of TypeScript packages that consume and interact with the Injective Chain - injective-ts/DenomClient.ts at 515a9a8da08f883a0852a3a88c91fee0941b147a · InjectiveLabs/injective-ts

frosty nymph
#

hey I'm using createTransaction in order to create a signDoc and signed after with the extension. The problem is the gas-adjustment shouldn't be right because I spent more gas than the limit, is there anyway where I could increase the gas limit ?

#

ok I realized that method has the gas hardcoded

tardy night
vestal matrix
#

there are still 3 mins and I can't update the video demo link

vestal matrix
#

Can anyone help with updating our video link? For some reason the edit button was disabled even though there was still a few minutes left.

#

tia

vestal matrix
#

I sent video link to @umbral cairn directly ty.

weak yarrow
#

Is the chain code open sourced? Wanted to check proto files

weak yarrow
safe wolf
#

If I am correct there has never been a coding bootcamp on Injective. Right?

#

Thanks 👍
Idk if the Dev is willing to assist newbies.

#

I am looking for his contact

#

Thanks @wanton frigate

brazen ridge
jade frigate
#

This has been solved right?

brazen ridge
vague atlas
#

That's weird, there really is no import regarding that function.

brazen ridge
#

and here "msgs" from no where :v , but I think that is "msg" from above line code.

vague atlas
brazen ridge
#

I just want to create a transaction send 1inj to myself, but @cosmos does not support, and I found this doc now I stuck here :v

jade frigate
jade frigate
brazen ridge
#

I use cosmos/coswasm-stargate for other token like orai, kava, osmo

#

it is ok

#

but coswasm is not support for inj

jade frigate
#

Huh?

#

Inj smart contracts are built on coswasm

brazen ridge
#

here this error i meet

jade frigate
#

@broken jacinth 👀

broken jacinth
#

It seems like there is a reply already in the GitHub issue. If that reply does not help we might need to ask @tardy night

brazen ridge
brazen ridge
tardy night
brazen ridge
tardy night
sturdy wave
#

Hello

#

I used the typescript sdk to interact with the inj chain but to no avail

grizzled bridge
#

Hi @tardy night ,

I trying to use @injectivelabs/sdk-ts in a typescript project but I can't get it to compile with the following errors,

  • I tried : "@injectivelabs/sdk-ts": "1.10.0" and "@injectivelabs/sdk-ts": "1.14.0-beta.1",
  • I tried node v16.20.2 and v18.13.0
  • I tried with other dependencies and in a small new project with only injective and typescript

I used ubuntu v22.04

I have others projects on an centos 7 server with the version 1.11.0 that worked fine

If you have any idea of what is going on it would a great help ?

best

grizzled bridge
# grizzled bridge Hi <@545287134257479700> , I trying to use @injectivelabs/sdk-ts in a typescr...

the tsc -p . message :
`node_modules/@injectivelabs/sdk-ts/dist/cjs/core/modules/gov/msgs/MsgSubmitTextProposal.d.ts:47:5 - error TS2416: Property 'toWeb3' in type 'MsgSubmitTextProposal' is not assignable to the same property in base type 'MsgBase<Params, MsgSubmitProposal, Object>'.
Type '() => { proposer: string; initial_deposit: { denom: string; amount: string; }[]; content: { type_url: string; value: any; }; '@type': string; }' is not assignable to type '() => (MsgSubmitProposal & { '@type': string; }) | Object'.
Type '{ proposer: string; initial_deposit: { denom: string; amount: string; }[]; content: { type_url: string; value: any; }; '@type': string; }' is not assignable to type '(MsgSubmitProposal & { '@type': string; }) | Object'.
Type '{ proposer: string; initial_deposit: { denom: string; amount: string; }[]; content: { type_url: string; value: any; }; '@type': string; }' is not assignable to type 'MsgSubmitProposal & { '@type': string; }'.
Property 'initialDeposit' is missing in type '{ proposer: string; initial_deposit: { denom: string; amount: string; }[]; content: { type_url: string; value: any; }; '@type': string; }' but required in type 'MsgSubmitProposal'.

47 toWeb3(): {

node_modules/@injectivelabs/core-proto-ts/cjs/cosmos/gov/v1beta1/tx.ts:16:3
16 initialDeposit: Coin[];

'initialDeposit' is declared here.

Found 12 errors in 7 files.

Errors Files
[...]
2 node_modules/@injectivelabs/sdk-ts/dist/cjs/core/modules/MsgBase.d.ts:19
2 node_modules/@injectivelabs/sdk-ts/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalExpiryFuturesMarketLaunch.d.ts:48
2 node_modules/@injectivelabs/sdk-ts/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketLaunch.d.ts:42
2 node_modules/@injectivelabs/sdk-ts/dist/cjs/core/modules/gov/msgs/MsgSubmitProposalSpotMarketParamUpdate.d.ts:42
2 node_modules/@injectivelabs/sdk-ts/dist/cjs/core/modules/gov/msgs/MsgSubmitTextProposal.d.ts:33`

tardy night
grizzled bridge
# tardy night It seems like you have incompatible versions. The `sdk-ts` version and the `wall...

thanks, I don't see wallet-ts and sdk-ui-ts in my package-lock.json should I add them ?

"@injectivelabs/core-proto-ts": "^0.0.18", "@injectivelabs/dmm-proto-ts": "1.0.16", "@injectivelabs/exceptions": "^1.14.0-beta.1", "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.9", "@injectivelabs/mito-proto-ts": "1.0.46", "@injectivelabs/networks": "^1.14.0-beta.1", "@injectivelabs/test-utils": "^1.14.0-beta.1", "@injectivelabs/token-metadata": "^1.14.0-beta.1", "@injectivelabs/ts-types": "^1.14.0-beta.1", "@injectivelabs/utils": "^1.14.0-beta.1",

tardy night
grizzled bridge
grizzled bridge
night night
#

Has anyone ever gotten an error message regarding glibc 2.29, because they only have glibc 2.28, when trying to use injective-py on a raspberry?

obsidian kraken
#

import {
MsgExecuteContract,
MsgBroadcasterWithPk,
} from "@injectivelabs/sdk-ts";
import { Network } from "@injectivelabs/networks";

const injectiveAddress = "inj1...";
const recipientAddress = "inj2...";
const contractAddress = "cw...";

const msg = MsgExecuteContract.fromJSON({
contractAddress,
sender: injectiveAddress,
exec: {
action: "transfer",
msg: {
recipient: recipientAddress,
amount: 100000,
},
},
});

const txHash = await new MsgBroadcasterWithPk({
privateKey,
network: Network.Mainnet
}).broadcast({
msgs: msg
});

console.log(txHash);


Hey sir @broken jacinth
How can I transfer 1 nft with this code

It is available for an nft standard such as erc-721
For example, I want to specify the exact token ID in this code, instead of transferring FT

obsidian kraken
#

Ping sir @tardy night

tardy night
sacred nimbus
#

Hey, I'm trying to call the auction module from a cosmwasm contract but it doesn't seem like the auction module is callable from a custom message, considering it's not defined as a valid route (https://github.com/InjectiveLabs/cw-injective/blob/a88608fcb61e01408fbd1064d3c276311aa1acf4/packages/injective-cosmwasm/src/route.rs#L7)
Can I get some advice on how to proceed? Thanks

GitHub

Contribute to InjectiveLabs/cw-injective development by creating an account on GitHub.

old tangle
#

What languages can i use to create applications in inj?

dull rivet
civic vale
civic vale
ionic root
#

How do I talk between backend and front end

#

What module is used

civic vale
civic vale
# ionic root What module is used

Injectivr website provides tutorials, documentation, and examples of how to use the Injective Web3 modules and the CosmWasm engine

vast folio
#

Hello Ninja, good to be here

civic vale
inland juniper
#

Good day ser

#

What system as storage to Nfts typically use on injective
Like a single token with metadata like Solana
Or A system where its stored in a kiosk tied to a wallet address like sui or what way?

inland juniper
#

Where can i get testnet tokens!

dull rivet
vague atlas
lime crystal
#

Hello, We're facing an issue when we trying get from our api/backend."JsonWebTokenError: jwt must be provided" We do not have any problem locally but when we upload our backend to the heroku and our frontend to vercel its bugging.

civic vale
# lime crystal Hello, We're facing an issue when we trying get from our api/backend."JsonWebTok...
#

This error happens when the JWT token is null or empty, which means that the client is not sending it properly to the server.

torpid dawn
#

GM I am juwonlo a technical writer and community manager. I write technical reviews, technical guides, documentations, and newsletters. Would love to contribute to Injective. How best can I reach out?

glacial trout
sharp cipher
#

What are testnet tokens?

lean parcel
#

Tokens thar have no real value that are used on the testnest

burnt ridge
burnt ridge
#

... just realised there are docker images as well - just got that to work. v clean

sacred nimbus
#

Hey, I'm getting the following error when using Helix with Keplr on testnet, any way to fix this?

onyx plume
ionic root
#

Have questions regarding what exactly injective ? it is general blockchain right where i can deploy any application also heard that it has exchange order book

#

what is that

ionic root
#

but lik ehow do i interact with the ordeer book ?

versed pilot
#

I am not able to trasfner my INJ which I have on my ledger, after clicling transfer nothing is happening, anyone can help me?

lean parcel
#

this channel is for developer questions

versed pilot
#

ok

maiden beacon
rotund rapids
#

excuse me, i have a problem with this.

hot basin
dawn delta
#

Yes

brazen ridge
tardy night
brazen ridge
#

here sir, but I can not find function "assertIsBroadcastTxSuccess " from '@cosmjs/stargate', which version of '@cosmjs/stargate' that you are using

#

i'm using "@cosmjs/stargate": "^0.30.1",

civic vale
#

@tardy night need a help can i DM?

tardy night
tardy night
brazen ridge
tardy night
light parcel
#

I hope the Catalyst team which ain't listed in Discord correct this bug in their Testnet Bridge https://app.catalyst.exchange/. The page doesn't fit the screen and a large chunk is cut off!

Swap or provide liquidity on the Catalyst Protocol. Catalyst\’s mission is to create borderless Web3, where users can swap assets across any chain they are on.

jade tartan
#

Hey guys I am looking to market make and wonder what the best network setup is

#

do you guys offer access to fast validators?

vernal forge
#

hi

#

any tech guy?

#

how to sign message?

dull rivet
vernal forge
#

em...

#

i am sign the tx refer to cosmos

#

but i do not know how to sign a message

dull rivet
vernal forge
#

can u guys tell me

#

@dull rivet sorry , can not take the screenshot

#

please help tell me the signmessge function

#

just like cosmos

#

or show me some example

dull rivet
#

If that not help, please wait until developer help you

vernal forge
#

sorry, have read the guidance

#

but not found how to build tx and sign the tx

#

@dull rivet

dull rivet
#

This document describes how to build smartcontract/dapp using CosmWasm

vernal forge
#

no no

#

or maybe examples in SDK?

#

show me some examples ? please

#

@dull rivet

dull rivet
vernal forge
#

yes

#

thanks

vernal forge
#

@dull rivet case "swap":
return c.Swap(msg)
case "ibcTransfer":
return c.IBCTransfer(msg)
case "signMessage":
return c.SignMessage(msg)
case "signDoc":
return c.SignDoc(msg)
}

#

these are the case for cosmos

#

so the same as injective?

sweet ether
#

Please refer to these examples ^

vernal forge
#

ok, so if i use cosmos sdk, it work for injective?

#

@sweet ether

radiant bison
#

Hello!
I was trying to do a txn and got this error? I'm confused by this error message. Can anyone help me on this? I do understand what'd cause REPLY ERROR between contracts, byt what does ABCICode related things mean here?

Error: rpc error: code = Unknown desc = [reason:"execute wasm contract failed" metadata:{key:"ABCICode" value:"5"} metadata:{key:"Codespace" value:"wasm"}]: rpc error: code = Unknown desc = failed to execute message; message index: 0: Error parsing into type cw_common::core_msg::ExecuteMsg: Invalid type: execute wasm contract failed [!injective!labs/wasmd@v0.40.2-inj/x/wasm/keeper/keeper.go:394] With gas wanted: '50000000' and gas used: '123743' : unknown request
sweet ether
ionic root
#

Is there existing ERC1155 Implementation or token equivalent implementation which I can reference to in typescript

#

what interface does token created using

Token Factory follow is it possible to customise the behaviour of this

brazen ridge
#

hey, inj transaction is work fine with ledger guys? I call sendToken function and ledger return fail: "Broadcasting transaction failed with code 4 (codespace: sdk). Log: signature verification failed; please verify account number (20556), sequence (61) and chain-id (injective-1): unauthorized. How to resolve the problem?

wise nova
signal wyvern
#

I noticed Leap vs Keplr have different addresses for the same seed phrase for Injective? Why is that?

signal wyvern
#

For Injective I mean

#

Cosmos, Osmosis, Archway are all the same but Injective is different?

dull rivet
signal wyvern
#

Thanks, I am from a new wallet provider integrating Injective so just trying to understand account derivation for Injective.
All other chains seem to be the same "account"

signal wyvern
#

Looks like Leap/Keplr uses the ETH (coinId: 60) instead of the ATOM (coinId: 118)
Is this the standard your project is trying to set for wallet portability?

sweet ether
vernal forge
#

@sweet ether hi, please help. if we want to signMessage. how can i make the params? can u give me an example

brazen ridge
sweet ether
brazen ridge
#

how to sign in different mode sir

vernal forge
#

please show some example

#

const signature = await provider.signMessage(

#

@sweet ether

#

example for this

tardy night
brazen ridge
ionic root
#

@slim rune is the mentor for fixed rate lending project right ? Is it possible to contact him or @tardy night

sweet ether
#

If you want same account, just export private key (from leap e.g) and import it into the other wallet

obsidian moth
#

meaning you are passing something incorrectly to the contract, e.g. non-existant function name or wrong parameters

rigid ledge
#

@uneven kite here too mate u can find dev

calm saffron
#

Hello dev. i brigde INJ to osmos. This show completed but why i can not find it in my balance?

dull rivet
calm saffron
dull rivet
#

Checking now

solid stratus
#

Hi

#

How can I make an NFT on Injective network?

#

Can you help me?

dull rivet
solid stratus
#

Thanks.

#

Is there any update?

dull rivet
solid stratus
#

There is no docs about NFT.

#

The NFT relies on talis protocol.

noble owl
radiant bison
#

Is the injective testnet faucet down?
Any other places where I can get funds for testnet?

near creek
#

Can anyone help out with a method to get data and NFT collection outside of Talis? Apparently we can't use their API and it's put us at a stop.

near creek
#

API is locked down, can't even get NFT data etc

near creek
#

Would really be nice to get an actual dev support rather than being referred to docs that aren't exactly helping, especially based on NFTs.

#

It's discouraging and we're trying to support the ecosystem.

lean parcel
#

Abel will assist when he is available

fathom sluice
#

buenos dias

solid stratus
#

Can anyone donate some testnet INJ to this address?
inj1xdm3mmzvsgdjsxlzd4399za8mnj0whqkmzxrgx

exotic oceanBOT
solid stratus
#

Testnet faucet is not working now.

wise nova
solid stratus
#

HI

#

I am trying to run injectived local node.

#

But running setup.sh gives me the following error.

Error: unknown flag: --chain-id

#

I am follwing this document.

#

Can anyone help me?

median matrix
#

I wanted to ask if a newbie can build onINJ?

fierce cosmos
#

Hey INJ team, two questions when you get a moment:

  1. Just confirming that we are allowed to submit a project here that we are submitting to another hackathon so long as we disclose we are doing so and everything is being built in the overlapping timeframes - do we need to detail what hackathons we are submitting elsewhere to?

  2. Can we build on the inEVM sidechain for our submission?

dull rivet
dull rivet
crystal forge
fierce cosmos
dull rivet
fierce cosmos
serene plover
#

hey @dull rivet , who could I get in touch with re MM integration & incentives?

dull rivet
sullen falcon
#

I've been enjoying Helix, aside from the kind of slow flow of Metamask. Does anyone know of a project that is developing alternate front-ends for Injective? Something where the keys are loaded from .env locally and can trade without having to interact via Metamask for every transaction

uneven kite
#

can i talk to one injective

dull rivet
ornate egret
#

@lean shore can you please check your DMs>

fierce cosmos
dull rivet
bitter hill
#

Hey guys, I am trying to connect to keplr wallet in testnet but it throws me an error can anyone please let me know the steps, the error as it say that ' Keplr doesn't support inkective '

dull rivet
bitter hill
dull rivet
bitter hill
dull rivet
mint nimbus
#

Anyone went to Brooklyn Tech here?

vague atlas
mint nimbus
#

Yeah I just want to know how the devs know Mirza

civic vale
mint nimbus
#

Yeah

civic vale
#

@mint nimbus nice to meet u bro

short geode
#

Nice to meet you

#

I am a blockchain dev.

civic vale
#

@short geode welcome codewizard

old otter
#

When I try to execute message, "Region length too big" error comes out.
Region limit is 131072(128k)
I cant use over than 128k data in one execute function?
Or is there any settings for this limit size?

serene plover
lean shore
broken jacinth
#

Are there any errors starting the node?

broken jacinth
#

What is the problem then? I am not following

broken jacinth
#

maybe the ports the local network config points too are not the correct ones for your node. You can use the custom netowork configuring each of the endpoints to the correct ports

median matrix
#

Any learning course for newbies?

glacial trout
# median matrix Any learning course for newbies?

You can check videos on our official youtube channel - https://www.youtube.com/@injective_/videos

median matrix
bitter hill
#

Hey guys, I am trying to deploy a contract on my local chain and I am facing this issue at raw logs

failed to execute message; message index: 0: Error calling the VM: Error during static Wasm validation: Wasm contract requires unavailable capabilities: {"cosmwasm_1_3"}: create wasm contract failed'

seems to me like a version mismatch issues, can you tell me what version should I be using for coswasm ?

chrome slate
void orbit
#

hi everyone! Is there documents about un-staking all tokens I have staked on validators at the same time ? thanks in advance

dull rivet
void orbit
#

are there any documents about unstaking all tokens from all validators at once for Typescript @dull rivet ? thank you

uneven kite
dull rivet
#

Okay mate

hot mountain
#

hey guys could someone point me to docs related to spl token support on injective?

odd tapir
#

Hi,
Am trying to find the value for proposerbasereward and proposerbonusreward as explained here:
https://docs.injective.network/develop/modules/Core/distribution/begin_block/#reward-to-the-validators

I have found conflicting values for these over here:
https://docs.injective.network/develop/modules/Core/distribution/params
and here:
https://www.mintscan.io/injective/parameters

Can anyone point me to the correct value/ where it is implemented in the source code?
thanks

The distribution module contains the following parameters:

At each BeginBlock, all fees received in the previous block are transferred to

broken musk
#

good day

#

trying to set up hummingbot

#

getting this error trying to run the script for the sub account

#

line 20, in <module>
from .proto.cosmos.authz.v1beta1 import query_pb2_grpc as authz_query_grpc
ImportError: cannot import name 'query_pb2_grpc' from 'pyinjective.proto.cosmos.authz.v1beta1' (unknown location)

glad steppe
#

How to run injective nodes?

lean parcel
broken jacinth
toxic rapids
# broken jacinth Hello <@678425082539802644>. Please check if you have correctly installed all Hu...

I have a question regarding the balances. We would like to have a list of all our user's up-to-date balances. So once he receives or sends funds we would update his balance. I tried using the tx stream, but it doesnt really provide data of token transfers. Calling streamSubaccountBalance is also out of the question, since we have alot of users and the API is limited to 50 requests/second. Is there any other option that Im not seeing? Maybe an enterprice API?

broken jacinth
#

Hello Nalus. There is not enterprice API. For big projects and professional users the key is to run their own nodes instead of using the public nodes. When running your own node you will not be limited by a max. number of invocations per second (you will be able to use the max capacity your node supports) and you will not be sharing the node with any other user.

toxic rapids
#

ok tnx

broken musk
#

using miniconda

#

when i run the command you gave it executes but no prompts appear

broken jacinth
broken musk
#

ok i will try to reinstall the hummingbot conda

glacial trout
#

You can ask here

wheat shale
#

What project are you building? @fathom sluice

fathom sluice
#

@wheat shale
1 question.
are there any solution without depositing 500 to deploy my contract on mainnet?

#

@glacial trout
any update?

glacial trout
fathom sluice
#

@wheat shale
from when all mainnet deployer require 500INJ?
cause my client deployed nft in september and he did not used 500INJ at that moment

tardy night
#

To deploy a smart contract on mainnet you have to go through Governance. To submit a Governance proposal you need to deposit 500 INJ on the proposal. Once the proposal passes the 500 INJ will be returned back to your wallet.

fathom sluice
broken jacinth
fathom sluice
broken jacinth
#

If he launched the NFT collection in Talis, you should contact Talis team then. Unless you want to deploy a new NFT management project, in that case would be deploying your project smart contract directly in Injective

#

Previously you spoke about deploying an NFT project. But in your last message you reference an NFT collection. These are two very different things, and you will have to clarify what are you trying to do for us to provide better guidance

median matrix
#

I'm looking to deploy a security engine on the injective blockchain any guide will be really helpful thinks.

pliant birch
stone epoch
#

Hi, I can use metamask to sign and broadcast execute and query messages but I cannot use it to sign storecode or instantiate messages. Anyone experience this before?

stone epoch
#

also, I'm having issues with fees when running an hermes relayer. Is there any documented hermes config file for injective testnet?

stone epoch
#

It also seems that instantiate2 in cosmwasm-std isn't working correctly in injective. This is expected if address generation was modified, is there an injective specific instantiate2 address generator?

forest flint
pliant birch
#

Is there some github repository were can i have access to the icon of the token on injective testnet ?

obsidian moth
broken musk
lunar thunder
#

@forest flint
Hii , sorry for tagging again and again . Can you pls check the group

stone epoch
broken jacinth
vague aspen
#

Team, We are trying to use MsgExecuteContractCompat to generate a message and then broadcast it using MsgBroadcasterWithPk. We aren't able to figure out how do we get the privateKey from the wallet? Couldn't find any specific code in the documentation too. Tried PrivateKey.generate() but it is something different we are assuming.

Please help us out here.

broken musk
#

What dependencies do i need to have from the injective side?

stone epoch
obsidian moth
stone epoch
stone epoch
#

I keep getting this error when trying to open a custom ibc channel with a contract. Any idea why?

2023-12-05T19:42:49.874442Z ERROR ThreadId(1893) worker.batch{chain=theta-testnet-001}:supervisor.handle_batch{chain=theta-testnet-001}:supervisor.process_batch{chain=theta-testnet-001}:worker.channel{channel=channel::channel-3378/icahost:theta-testnet-001->injective-888}: failed ChanOpenAck ChannelSide { chain: CachingChainHandle { chain_id: injective-888 }, client_id: 07-tendermint-194, connection_id: connection-184, port_id: wasm.inj1wz786325vf8txdjndv4r53jy0ss2tmpqz4gxan, channel_id: channel-138, version: None }: failed during a transaction submission step to chain 'injective-888': gRPC call `send_tx_simulate` failed with status: status: Unknown, message: "failed to execute message; message index: 1: channel open ack callback failed for port ID: wasm.inj1wz786325vf8txdjndv4r53jy0ss2tmpqz4gxan, channel ID: channel-138: submessages: dispatch: submessages: contract: decoding bech32 failed: invalid character not part of charset: 34 [!injective!labs/wasmd@v0.40.2-inj/x/wasm/types/tx.go:154] With gas wanted: '50000000' and gas used: '315944' ", details: [], metadata: MetadataMap { headers: {"date": "Tue, 05 Dec 2023 19:42:49 GMT", "content-type": "application/grpc", "set-cookie": "grpc-cookie=36f77f112e3514e9bf953e8cefaac568; Expires=Thu, 07-Dec-23 19:42:49 GMT; Max-Age=172800; Path=/; Secure; HttpOnly", "x-cosmos-block-height": "19280589", "strict-transport-security": "max-age=15724800; includeSubDomains", "access-control-allow-origin": "*", "access-control-allow-credentials": "true"} }
broken jacinth
stone epoch
# obsidian moth nope, you should be able to use `deps.api.addr_validate` . are you importing inj...

My bad. deps.api works. I managed to open the channel 🎉 . (instantiate2 actually doesn't work though)

2023-12-05T21:59:47.033159Z  INFO ThreadId(3949) worker.batch{chain=injective-888}:supervisor.handle_batch{chain=injective-888}:supervisor.process_batch{chain=injective-888}:worker.channel{channel=channel::channel-140/wasm.inj16fdpvghze30xgaq2lklk6cv5psnh4y2rflvgvk:injective-888->theta-testnet-001}: 🎊  theta-testnet-001 => OpenConfirmChannel(OpenConfirm { port_id: icahost, channel_id: channel-3380, connection_id: connection-2963, counterparty_port_id: wasm.inj16fdpvghze30xgaq2lklk6cv5psnh4y2rflvgvk, counterparty_channel_id: channel-140 }) at height 0-19194855
arctic terrace
#

please help me to determine which staking provider to choose

#

is there a difference in security?

#

is it decentralized or does the provider have controll over my staking?

lean parcel
#

hey this is the place for dev questions, not for basic questions

arctic terrace
#

can i stake without an provider?

lean parcel
arctic terrace
#

ok

lyric mulch
lyric river
#

is injectived compatible with Mac Pro 3.5 GHz 8-Core Intel Xeon W. Want to know if i can run a node for the testnet.

dull rivet
rugged cliff
#

Alright thanks

fathom sluice
#

Hey team any documents for me to add inj testnet to keplr

#

?

dull rivet
hard sinew
#

hello, i am trying to write a code to transfer out 1 inj, i need help, or is there any documentation i can check?

dull rivet
swift bison
#

quick poll... anyone developed on Solana and Ethereum... what are the experiences overall?

maiden beacon
#

Quick question, why is the basic requirements to setup injective that high?

#

Is there a small sdk toolset that we can spin up and have a working environment instantly?

maiden beacon
broken jacinth
maiden beacon
#

Nope, I am trying to setup "injectived" and the basic requirements are quite high.
64gb ram or swap file equivalent
1TB storage space.

broken jacinth
#

It is still not clear to me what you are trying to do. Injectived is the CLI app to interact with a nodes. What do you mean when you say you are trying to setup it?

broken musk
#

good day. anyway to solve the issue below?

#

trying to implement Hbot

broken musk
fast ember
#

where I can read about creating an NFT collection on the Injective?

lean parcel
fast ember
lean parcel
fast ember
broken musk
#

Anyone can assist with this error when running the account authorization and script for hummingbot?
VALUE ERROR: non hexadecimal number found in fromhex() are at position 1

broken jacinth
broken musk
broken jacinth
#

The private key must be a string

#

In the correct format, but a string

broken musk
broken jacinth
broken musk
#

in hummingbot where they ask for the subaccount Id i need copy that id i see on mintscan from the authz txn?

broken jacinth
#

I think the connector configuration in Hummingbot does not request the subaccount_id. It requests the subaccount_index. Please going forward post Hummingbot connectors related questions in the https://discord.com/channels/739552603322450092/931298460571951114 channel. The dev-questions channels is reserved for queries from developers using Injective tools and components.

broken musk
#

ok will do. Thank you

naive jay
#

If you need development or modification of your website, please ping me.

wise nova
bright sigil
#

can anyone pls fund some testnet inj to account inj1fky77yz3rf67x6xrpke957cp68mgmurfj799eh

bright sigil
#

thx

naive jay
#

If you need development or modification of your website, please ping me.

slow goblet
#

Anyone building a portfolio dapp to view and manage positions in one place?

alpine bramble
#

inEvm will be a sidechain?

#

or will we be able to deploy using solidity on main chain

wise nova
mild karma
#

where can I get testnet inj

mild karma
#

can't get any from those links, tried all of them already

wise nova
#

please try again in a few mins

lean pewter
wise nova
lean pewter
#

Can I do on testnet?

pure lotus
#

Do we need to add the injective network to metamask?
Keplr seems easy as the network is already available.

frail fractal
peak dune
#

Hello is there any guide in order to build an Mint Collection Website on injective blockchain ?

near creek
#

Can a single BUIDL be submitted for multiple categories? Eg: BUIDL 001 submitted to the DeFi category and also submitted to NFT category

jagged hearth
#

is the swap function an abstraction of the spot orderbook or a seperate pool?

formal orbit
#

Hi all, can I ask here for help with networking smart contracts?

broken jacinth
simple lily
#

Can someone please explain what I need to look for in a "claimed rewards from polkachu.com" transaction to know how much INJ was claimed? The values in the RAW data do not simply provide a single value field and it isn't obvious. I recently claimed some staking rewards and need to know how much I received for tax reporting purposes.

stone epoch
#

did the RPC and specifically gRPC stop working for the testnet? Is there a webpage to check status

wise nova
stone epoch
# wise nova yes, it’s under maintenance currently

Thank you. For my project, I'm running my own IBC relayer. However, when the judges are checking out my project, it'd be nice if I could provide the relayer myself rather than giving instructions to how to start an IBC relayer. Are there any free stable rpc endpoints I could continuously use? Or even paid but cheap services for the testnet?

wise nova
#

cc @forest flint

marsh glacier
#

Hi I'm trying to get testnet injective from faucet but it return 429 code

#

is there any more testnet faucet that i can used

glacial trout
#

So it will be back soon

marsh glacier
#

oh, is there anyway to test some smart contract on any alternative testnet ?

true oriole
#

Hey guys do we still qualify for the hackathon if we deploy on inEVM?

cyan marten
#

Hi. When can i get test inj

glacial trout
cyan marten
#

thansk

modest crest
broken jacinth
#

I am not sure I understand your problem. You can create a new wallet in any of the wallet softwares (Metamask, Keplr or any other). You have to follow the same steps you applied to create the first wallet.

modest crest
broken jacinth
#

Check the transaction you sent to create the token. If not sure, check all transactions for the account you used to run token mint or the metadata submission, find the transaction that created the token and in the details you should find all the information

simple lily
#

Any there any developers or experts in here that are able to tell me how to decipher or read the RAW details of a claim staking rewards transaction to tell how many INJ was claimed as part of the claim transaction? There is an amount value there but the value is not what you would expect and doesn't reflect the rewards I expect to see there.

stone epoch
#

Please make the testnet nodes availible as we are all trying to make the final touches on hackathon projects~

lethal vector
#

Interested in using INJ as the foundation for an innovative NFT marketplace… where do I start?

lethal vector
#

To start my dev journey, I am looking for an incremental approach due to being a startup. My first requirement is integrating my platforms content with an tokenization tech. Can injective offer an API we can work with for the integration? Creating NFTs in particular.

lyric river
stone epoch
wise nova
#

yes either that or we extend the deadline

sand bay
#

Is the testnet faucet working? I've been trying to get testnet funds since yesterday and it doesn't seem to work

dull rivet
sand bay
#

That makes sense, thanks!

cunning horizon
#

Where can i start learning about building sc on inj ?

dull rivet
cunning horizon
icy tinsel
#

i need some faucet for deploy dapp can who sp me

#

add: inj1rvu6j7790setvxps7atrhtaxg43gl0rnmgveqn

dull rivet
icy tinsel
#

testnet

dull rivet
naive jay
#

I am a senior frontend & blockchain developer, just looking for an ongoing project now. I have developed many dapps like dex and defi project and also supported nft marketplace. please contact me if you are looking for a developer.

bright basin
#

there is any ui to query and execute contracts? or is everything CLI?

devout lake
#

Hi there! I've ported solana to injective using portalbridge. Now I have (wrapped?) solana on injective but I don't know how to swap it to inj. Anybody knows how to do that?

glacial trout
#

Also this is not the right place for your question.

devout lake
devout lake
#

Tnx

stone epoch
icy tinsel
#

how long testnet is undermantanance?

glacial trout
near creek
#

Again I ask, can a single buidl be submitted to two different categories like the NFT and DeFi category?

near creek
rocky pulsar
#

could someone link me a tx on the inj block explorer of an example contract/token being created?

round oak
#

What dex am i trading on when using the python sdk?

midnight cloak
#

Is there no way to query the indexer api directly via Url? I read through the api docs and didnt find a way

old python
#

Hey there!
I am deploying on Injective EVM
What is the easiest way to verify my contracts on chain?

fluid escarp
#

can someone point me the best resource to learn how to deploy a token on injective? thanks

fluid escarp
#

evm

cold wren
timber flower
#

mind sharing how u did it? are u on linux?

sand patio
simple gazelle
#

damn keplr is fucked rn lol

royal hedge
#

Hey guys

#

Sent some inj to my keplr wallet

#

It shows on the explorer that it's in my wallet but my wallet balance shows 0

#

Yup I know my funds are safuu just wondering what to expect

#

Wanted to buy some ninja but fooooook

#

@wise nova

#

I think you wanna ban this fake profile

rapid remnant
#

Hello, I am new to inj, just doing the tutorial now.
I am confused.

I deploy to injective test network, but then the frontend instructions point to goerli.

Would I not want to point to inj testnet?

the contract upload instructions: https://docs.injective.network/develop/guides/cosmwasm-dapps/Your_first_contract_on_injective#upload-the-wasm-contract

on the next page the front end instructions: https://docs.injective.network/develop/guides/cosmwasm-dapps/Creating_a_frontend_for_your_contract

Am I missing something? I am new to cosmos development

#

upload to inj, interact with metamask on goerli? hmm

fluid escarp
#

anyone able to help with launching a token?

shrewd bluff
#

Anyone here know how to deploy a contract on inj ? Is there a goto or someone that might can help

#

How did you deploy a token ? Any steps you can give

#

🙏

dull rivet
warm mirage
#

Is it possible to see who holds token?

rapid remnant
#

So I remove the ethereumOptions

#

But then I get this:

...
  errorMessage: 'Please provide Ethereum options',
  name: 'WalletException',
  errorClass: 'WalletException',
  context: '',
  contextModule: ''
}
#

What am I missing? I can omit from what the docs say, but it errors telling me to put it back when I do.

wooden lion
#

sage: "account sequence mismatch, expected 1, got 0: incorrect account sequence [julienrbrt/cosmos-sdk-inj@v0.47.4-0.20230901212009-ac1b893f0894/x/auth/ante/sigverify.go:269] With gas wanted: '50000000' and gas used: '49908'",
name: 'TransactionException',v

#

?

#

is this something liike of nonce?

peak folio
#

Hi

#

Need support

dull rivet
novel sonnet
unique tinsel
#

Hey all, please help! I just used the INJ bridge hub to bridge 8 SOL over to my keplr wallet. Solscan is showing that the transaction was complete, but when i try to claim the wormhole tx, i keep getting an error message that my “inj account cannot be found”. This is happening on both mobile and web. My hub history doesnt even show any attempted transactions. Has this happened to anyone else?

dull rivet
unique tinsel
peak folio
#

Hello

near creek
glacial trout
dusky elm
frail fractal
#

Should be back soon, please check back later.

dusky elm
#

Thanks Lahn

dusky elm
#

hey dev team, are cw20 and native tokens much different? ive deployed a native token, is that not compatible with astroport?

broken jacinth
broken jacinth
karmic escarp
#

Has anyone heard about inscriptions coming into Inj? Is there any source, explaining how it works?

glacial trout
karmic escarp
broken jacinth
sand patio
#

hi devs, I created a token on testnet, how can I add a logo to see it on the testnet explorer?

broken jacinth
wooden lion
#

one question const balance = accountDetails.balances.find(balance => balance.denom === 'inj');

// Check if balance exists and print it
if (balance) {
console.log(Account balance: ${balance.amount} INJ);
} else {
console.warn(Account does not have INJ balance);
} is this right way to fetch bal?

#

how ccan i fetch the bal

broken jacinth
fathom sluice
#

@broken jacinth

#

can u help me find the CLI pre built binary for WINDOWs and not mac ?

#

because i searched the repository and i couldnt find anything for windows

#

@lean parcel ^

broken jacinth
#

I don't think there is a Windows binary @fathom sluice. I would recommend you using docker to run it.
CC: @forest flint

pulsar jewel
#

May I ask if this unit is uinj?

#

@broken jacinth Can you help me

broken jacinth
pulsar jewel
crude perch
#

Hey hye!

Trying to make a swap but got this error:

"account sequence mismatch, expected 8, got 7: incorrect account sequence

"

urban sinew
#

what is the opposite of --no-admin while deploying cw-20

broken jacinth
broken jacinth
pulsar jewel
broken jacinth
#

What is Objective? Do you mean Injective?

pulsar jewel
#

I want to use the Cosmjs SDK to send transactions using an Objective account.

broken jacinth
#

Sorry, I don't know what Objective is

pulsar jewel
#

Sorry, I was not aware that the Cosmjs SDK does not support the Objective network before. I have found the Objective SDK and thank you for your help. I have resolved my issue

verbal hinge
#

Is there some example code for doing swaps? And getting prices

vocal granite
#

Hi! Need support.
When I use @cosmjs to obtain a wallet address from a private key, why is it different from the address in my Kepler wallet?

broken jacinth
broken jacinth
# verbal hinge Is there some example code for doing swaps? And getting prices

Swaps are just a simplification of market orders in the order books. Regarding prices, you could get them by checking the order book bids and asks, or checking the latest trades for a market, or querying the price from one of the Oracles. To know how to do any of this actions, please refer to the documentation

verbal hinge
broken jacinth
# verbal hinge I see got it thanks. Also I looked at the docs and couldn't find this, but I see...

This example illustrates the structure of a basic smart contract. The counter website allows you to interact with an instance of the smart contract on the Injective Testnet. If you have prior CosmWasm smart contract experience, feel free to skip this section.

verbal hinge
# broken jacinth https://docs.injective.network/develop/guides/cosmwasm-dapps/Your_first_contract...

Thank you. Also: in the python github examples, I see code snippets for sending messages, getting pricing etc.

But I don't see one for listinging to incoming txts, is that a concept in inj?

Im used to ETH where you listen to the mempool and get txts, then parse their messages to see what they're doing and if they apply to what you want

Is that concept in the inj dev eco as well? Or is it more of polling txts then parsing

broken jacinth
#

Just to clarify: do you mean spying other users transactions before they are included in blocks? You could do that if you run your own node. But there are no methods in the SDK to help with that

#

that is for transactions in blocks

pulsar jewel
#

@broken jacinth dm

pulsar jewel
#

@broken jacinthSir, how can I consult about SDK issues?

broken jacinth
sand patio
broken jacinth
#

If you created the token you already did that

vale orbit
#

would creating my own endpoint help my txns go through faster on INJ?

grave meteor
broken jacinth
somber fog
#

help me?
Why did I swap INJ to ATOM and INJ to TIA on Kelpr wallet and it was reported successful, but I haven't received ATOM and TIA yet? It's been almost 2 hours

somber fog
wise nova
#

OSMOS bridge seems to be stuck please wait till their team resolve

somber fog
somber fog
verbal hinge
#

I didn't see one

barren moth
#

@wise nova

    inEVM: {
        url: "https://inevm-rpc.caldera.dev/",  // Insert your RPC URL Here
        chainId: 1738, //Insert your ChainID Here
    },

i'm trying to deploy a contract on INJ by using hardhat

#

This is the contract it seemed to deploy: 0xd18EAEdfF82F753D3F5F25d4Ca5ab102dc348fD9

#

but in reality nothing've been deployed

#

what is this inEVM plugin, i tried deploying a contract on hardhat using the inEVM rpc url that apparently is === to Injective but nothing happens.

Anyone tried to deploy a token on Injective?

wise nova
unique snow
#

Hi I have an issue trying to integrate injectivelabs ts with protobuf, the next error occurs:
/node_modules/protobufjs/minimal"' has no default export.

1 import _m0 from "protobufjs/minimal";

#

I try to install protobuf but it's doesn't work

daring wind
#

can someone send some inj in testnet please, faucet not working
inj17g5ad3xy25rz9je6wu85qye09xklppswh6p0eu

warm mirage
#

In order to create token that’s applicable to astro I need to deploy it as native inj token?

wise nova
#

Nope, token factory

warm mirage
#

Is it only way?

lone laurel
#

Hey There Guys just wanted to inquire about the candymachine of INJ blockchian any idea on it ?

broken jacinth
dusky elm
#

hey inj team, im getting this error

Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account inj... not found: key not found

the wallet has 10+ Inj on it and i have transfered to other wallets and it works fine on mainnet

sent the same command with an older wallet and it went through fine.

is there a timeout before you are able to run the command injectived tx tokenfactory create-denom ?

broken jacinth
versed stump
versed stump
# versed stump Is there any issue with this example code? https://docs.ts.injective.network/cor...
const privateKeyFromHex = PrivateKey.fromHex(privateKey);
const address = privateKeyFromHex.toAddress();
const injectiveAddress = address.toBech32();
const subdenom = 'inj-test';
const denom = `factory/${injectiveAddress}/${subdenom}`;
const amount = '1_000_000_000';

console.log('INJ address:', injectiveAddress);

async function createToken(
  privateKey: string,
  injectiveAddress: string,
  subdenom: string,
  denom: string,
  amount: string,
): Promise<void> {
  const msgCreateDenom = MsgCreateDenom.fromJSON({
    subdenom,
    sender: injectiveAddress,
  });

  const msgMint = MsgMint.fromJSON({
    sender: injectiveAddress,
    amount: {
      denom: `factory/${injectiveAddress}/${subdenom}`,
      amount: amount,
    },
  });

  const msgSetDenomMetadata = MsgSetDenomMetadata.fromJSON({
    sender: injectiveAddress,
    metadata: {
      base: denom,
      description: '',
      display: '',
      name: 'TEST',
      symbol: 'TST',
      uri: '',
      uriHash: '',
      denomUnits: [
        {
          denom: `factory/${injectiveAddress}/u${subdenom}`,
          exponent: 0,
          aliases: [`micro${subdenom}`],
        }, 
        {
          denom: denom,
          exponent: 6,
          aliases: [subdenom],
        },
      ],
    },
  });

  const txHash = await new MsgBroadcasterWithPk({
    privateKey,
    network: Network.Testnet,
  }).broadcast({
    msgs: [msgCreateDenom, msgMint, msgSetDenomMetadata],
  });

  console.log(txHash);
}

// Call the function with appropriate arguments
createToken(privateKey, injectiveAddress, subdenom, denom, amount);

What could be the issue here?

broken jacinth
#

What is the error?

versed stump
broken jacinth
#

Have you actually created the denom firts with the message MsgCreateDenom (first step in the doc page link you posted)

empty badge
#

This the requirement pc for coding on injective?

dusky elm
broken jacinth
versed stump
empty badge
dusky elm
#

Thanks that worked

versed stump
versed stump
# versed stump I could deploy the token successfully, but I would like to understand the metada...

@broken jacinth Could u plz check and advice?

Here's the code:

const privateKeyFromHex = PrivateKey.fromHex(privateKey);
const address = privateKeyFromHex.toAddress();
const injectiveAddress = address.toBech32();
const subdenom = 'TEST';
const denom = `factory/${injectiveAddress}/${subdenom}`;
const amount = '1_000_000_000';

console.log('INJ address:', injectiveAddress);

async function createToken(
  privateKey: string,
  injectiveAddress: string,
  subdenom: string,
  denom: string,
  amount: string,
): Promise<void> {
  const msgCreateDenom = MsgCreateDenom.fromJSON({
    subdenom,
    sender: injectiveAddress,
  });

  const msgMint = MsgMint.fromJSON({
    sender: injectiveAddress,
    amount: {
      denom: `factory/${injectiveAddress}/${subdenom}`,
      amount: amount,
    },
  });

  const msgSetDenomMetadata = MsgSetDenomMetadata.fromJSON({
    sender: injectiveAddress,
    metadata: {
      base: denom,
      description: '',
      display: 'TEST',
      name: 'TEST',
      symbol: 'TST',
      uri: '',
      uriHash: '',
      denomUnits: [
        {
          denom: denom /** we use the whole denom here */,
          exponent: 0,
          aliases: [`micro${subdenom}`],
        },
        {
          denom: subdenom,
          exponent: 6 /** we use the subdenom only here (if you want your token to have 6 decimals) */,
          aliases: [subdenom],
        },
      ],
    },
  });

  const txHash = await new MsgBroadcasterWithPk({
    privateKey,
    network: Network.Testnet,
  }).broadcast({
    msgs: [msgCreateDenom, msgMint, msgSetDenomMetadata],
  });

  console.log(txHash);
}

// Call the function with appropriate arguments
createToken(privateKey, injectiveAddress, subdenom, denom, amount);
rose yew
#

how to get logs from a transaction using ts sdk?

near barn
#

im new to blockhain developing but have background in js and python and java. Whats the best way to get started?

broken jacinth
near barn
broken jacinth
# near barn im lost in the docs, like what section should I do first?

It is difficult to answer that question. That will deppend on what you want to do really. If you have background in JS one possibility is to read the TypeScript examples. Maybe even create your own local DEX implementation to understand the things you can do in Injective (https://docs.injective.network/develop/tools/injectivets/)

injective-ts is a TypeScript monorepo that contains packages which can be used to interact with Injective from a Node.js or browser environments and which provide simple abstractions over core data structures, serialization, key management, and API request generation, etc. The packages can be found in the packages folder and each package is a np...

wise fulcrum
#

im having trouble swapping my weth to inj on injective, my balance isn't showing up what should i do?

near barn
#

it seems the docs are written for it

broken jacinth
# near barn do I need a linux enviornment?

Not necessary. If you want to run your own node, then that will be a plus. If you want to implement some examples and interact with the public nodes, you can use any environment you want

near barn
#

how can I do that?

#

do I need my own node server?

broken jacinth
#

no, you can interact with the public infra too

#

It has rate limits and it tends to be very loaded, but you can use it

near barn
#

is that just public examples?

broken jacinth
#

Well, the docs include a lot of examples, and the docs are public, so yes, there are public examples

near barn
broken jacinth
#

If you want to run a node, or use the node CLI, then you need linux, or a VM, or docker

near barn
#

oh

#

ill just get a vm then

#

thanks

wise fulcrum
#

im having trouble swapping my weth to inj on injective, my balance isn't showing up what should i do?

#

@broken jacinth

broken jacinth
#

That does not sound as a dev-question @fathom sluicesim. Did you use any of the SDKs to execute the swap? Or did you swap using Helix?

wise fulcrum
#

i bridged my eth bia wormhole to inj

#

than i converted my cw20 to the bank however my balance isn't showing up when trying to swap on helix

broken jacinth
#

When you say you converted your CW20 to the bank, do you mean that you claimed the bridged tokens using the hub?

wise fulcrum
#

no i claimed it using wormhole

#

i can go to support sorry

silent knot
#

Hello i've try create native token but have problem with add liquidity / pool

rose yew
sturdy shale
#

please sir i really really need help, i send my 6.3INJ to my binance acct and i forgot to put the memo code, please how can i get the money back to my wallet sir. please help me because am feeling like going crazy now sir please. this is the TXHash; 0C67EC9C19EC14981DF523412598D550B9F4928C340097B83A387B651A386F3F
@broken jacinth

dull rivet
sturdy shale
#

please, can the money come back to me in any way sir if i reach out to them

dense seal
#

I send a bit of weth to injective using wormhole bridge

#

Cant find it now

#

What should i do

dull rivet
dull rivet
sturdy shale
#

thanks sir let me do that now

dense seal
somber fog
stone epoch
#

k8 nodes are down again. And grpc for load balanced nodes on the documentation has never worked with hermes relayer. (testnet) Will they go up again?

dull rivet
stone epoch
fluid narwhal
old otter
#

when I am trying to execute tx, I got this error

account sequence mismatch, expected 1539, got 1538: incorrect account sequence

how can I solve this issue?

#

I cant send testnet INJ to others using keplr wallet.

#

because of the above error

#

I'm using testnet.sentry.tm.injective.network rpc url

#

Is this wrong?

plucky rivet
#

How to set rpc in python sdk

dusky elm
#

hey devs, how do i find the denom for an LP? when i try doing a tx bank send getting and error:

failed to execute message; message index: 0: spendable balance is smaller than 123factory/inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk/lp-address:insufficient funds

getting error also when trying to send LP tokens via the leap cosmos wallet

any tips? thanks!

cyan harbor
lean parcel
#

Keep this channel for Developer questions

cyan harbor
sturdy whale
#

injectived version

injectived: error while loading shared libraries: libwasmvm.x86_64.so: cannot open shared object file: No such file or directory

why??

fervent tendon
#

i can't run the injective chain node, can u tell me why?

lean parcel
cyan harbor
#

I got this error when try to send a transaction with prvk.

#

can someone help me?

#

@tardy night

tardy night
cyan harbor
inland peak
#

or scam?

tardy night
lean parcel
#

Guys please keep this channel ONLY for developer questions! Any standard questions please ask in #💬・general !

tardy night
dusky elm
#

hey bojan, did you have min to help me find a denom and command to send LP tokens from Astroport?

mighty fox
#

Hey guys i'm looking to write a script to trade INJ to any token (in js or python) could somebody help me please ?

prime kindle
#

The address I recovered using mnemonic words is different from the one in Keplr. What could be the reason? This is my code:

#

const client = await StargateClient.connect(rpc)
console.log(await client.getChainId())
const wtSigner = await DirectSecp256k1HdWallet.fromMnemonic(Mnemonic, { hdPaths:[hdPath], prefix: prefix});
const wtAddress = (await wtSigner.getAccounts())[0].address;
console.log('address:', wtAddress);

languid mural
#

testmet faucet down?

lean parcel
languid mural
quick prairie
#

need some help to add some grant that i revoke

#

was doing this as a safety procedure but Helix team can't help me with that

#

where i can add grant to a address?

languid mural
#

can someone send me some testnet inj please
inj1e2njfcsuazrkkwj7e6knqetp8uj7uey9gt2gpk

lyric socket
#

Hello,
What's the simplest way to create a mini script who create a transaction with a memo, sign it with private key stored in .ENV and broadcast it ?

fluid narwhal
plucky rivet
#

hi, how to change the rpc in python-sdk

#

thx i know how change now.

ornate nova
#

Why won't this package install

versed stump
#

Any INJ team member here? There are some issues in the Typescript sdk documentation, so many outdated imports

night steppe
#

Hello

#

Injective explorer doesn't work for me.
It said : "The request to txs has failed".
Do you have same pb ?

versed stump
#

Yeah, same problem.

night steppe
#

Okay thanks

trail lodge
#

Any no code tool to create token on INJ ?

night steppe
#

@tardy night ?

versed stump
#

Honestly, I don't see any activeness from INJ team regarding the issues and queries, nobody answers the questions or help properly.

lean parcel
trail lodge
#

No code website to create token

#

?

ornate nova
#

Why won't this package install

#

Is there anyone who can help with this

#

Is there anyone who can help with this

#

Is there anyone who can help with this

barren moth
#

anyone tried deploying a coin using hardhat?

indigo cloak
#

Please can anyone tell me the difference between a native token and cw20?

are they both tradable

trail lodge
steel atlas
#

Could anyone point me to the documenation about streaming transactions? I'm trying to listen to all transactions made by a certain wallet. So far the only idea I have is to subscribe to all the gRPC streams available and filter that way.

barren moth
trail lodge
winter iris
#

can I use injective-py to simply send INJ from my wallet to another wallet address?

lyric socket
#

I have this error with injective/sdk-ts example : Error: rpc error: code = NotFound desc = account injiugherfiuyegrfiuygerf
When I try to create and broadcast a transaction.
Any help ?

novel pewter
#

what is the prefix for injection?

lyric socket
shrewd warren
#

if i want to buy from astro dex, should i use sdk python or golang from my document or from package from astro?

broken jacinth
lyric socket
#

Injective mainnet

broken jacinth
#

I mean, in the code, how do you instantiate the network?

broken jacinth
lyric socket
#

Like in the example

#

Sorry I'm currently not at home

broken jacinth
proven mason
novel pewter
# broken jacinth I am not sure what your question is

import { DirectSecp256k1HdWallet } from "@cosmjs/proto-signing";
import { SigningStargateClient, coins } from "@cosmjs/stargate";

async function main() {
const mnemonic = "xxxxxxxxxxxxxxxxxx";
const walletOptions = { prefix: "inj" };
const wallet = await DirectSecp256k1HdWallet.fromMnemonic(mnemonic, walletOptions); in this code I want it to find my wallet with the memonics I give it, but it finds a different wallet address.

broken jacinth
lyric socket
#

Okay Thanks will try

broken jacinth
# ornate nova Why won't this package install

I suppose you are trying to install injective-py (the official package) and not pyinjective (this is just a module in the official package, not a package itself). What is the error you get when installing it using pip

broken jacinth
steel atlas
#

Hey @broken jacinth, is there a way to stream transactions of a certain wallet instead of all transactions with the explorer stream? I'm using injective-ts

broken jacinth
broken jacinth
broken jacinth
broken jacinth
shrewd warren
#

what should i do to swap the tokens from astro dex router using cli ?

foggy wyvern
#

I successfully deployed the injective node. How can I open the json query of abci_query?

fathom sluice
#

is there any way to install injecticed on Mac?

foggy wyvern
#

anyone can help me

broken jacinth
foggy wyvern
#

ok

mental fjord
broken jacinth
subtle obsidian
#

this is down btw

#

used diff and works now

unborn drum
#

time="2023-12-19T140429+01:00" level=info msg="Starting GRPC Web server on 0.0.0.0:9091"
I visited the localhost:9091 prompting me to “ gRPC requires HTTP/2”
How do I fix this

#

@broken jacinth

broken jacinth
unborn drum
#

I want to Running a Node

#

How do I access my rpc
@broken jacinth

high pollen
broken jacinth
broken jacinth
half quail
#

Do we qualify if deploy smart contracts on inEVM?

high pollen
# broken jacinth What SDK are you using? Could you share the script you are running?

I'm running the cosmrs + cosmos_sdk_proto because i'm coding with RUST. I was using the abci_query

 let query = QueryDenomMetadataRequest {
            denom: denom.to_string(),
        };

        let request = self
            .rpc
            .abci_query(
                Some("/cosmos.bank.v1beta1.Query/DenomMetadata".to_string()),
                query.encode_to_vec(),
                None,
                false,
            )
            .await?;

I'm getting code = NotFound desc = client metadata for denom inj: key not found

rocky coral
#

Hello, why when I want to deploy on mainnet, I get the error : failed to execute message; message index: 0: can not create code: unauthorized ? 2FABB77F90333B032C94F604EEC73DD719705D88B445DC3FC2EC8ADE43477CDD

high pollen
#

It isn't working for any coins.
The DenomsMetadata works normally, returning alot of coins.
AllBalances works too, returning the denoms inj, etc.

Don't know why DenomMetadata always fails

broken jacinth
half quail
remote hawk
#

Is there any way to interact with inj sc directly? For instance swap assets on astro using my own script?

broken jacinth
half quail
rocky coral
half quail
#

I mean will it be a valid submission?

broken jacinth
remote hawk
broken jacinth
broken jacinth
rocky coral
#

So there is only a bunch of contracts on the mainnet ? Is it not like EVM where everyone can deploy it's own contract etc ..

broken jacinth
broken jacinth
lyric socket
#

@broken jacinth I moove to MainnetSentry but same error :

Error: rpc error: code = NotFound desc = account inj1w3dhvk5thtckhyygdk50pfuf6xh6m5s500d8gd not found: key not found
    at ChainRestAuthApi.<anonymous> (D:\NextJS\injbot2\node_modules\@injectivelabs\utils\src\classes\HttpRestClient.ts:59:40)
    at Generator.throw (<anonymous>)
    at rejected (D:\NextJS\injbot2\node_modules\@injectivelabs\utils\dist\cjs\classes\HttpRestClient.js:6:65)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'http-request',
  code: 404,
  originalMessage: 'rpc error: code = NotFound desc = account inj1w3dhvk5thtckhyygdk50pfuf6xh6m5s500d8gd not found: key not found',
  name: 'HttpRequestException',
  errorClass: 'HttpRequestException',
  context: 'cosmos/auth/v1beta1/accounts/inj1w3dhvk5thtckhyygdk50pfuf6xh6m5s500d8gd',
  contextModule: undefined,
  method: 'GET'
}
broken jacinth
lyric socket
#

Actually not it's just a test account with no funds

#

But I excpected a "not enough found" error not a "404 account not found"

broken jacinth
#

The account is actually created onchain when you send funds to it

flint sundial
#

has anyone actually figured out how to get working script? or all throwing errors

lyric socket
#

Ah ok So I have to send small amount forst

broken jacinth
rocky coral
lyric socket
#
Transaction Hash: 46DF1B7B7637E911E7D4ED9A5B0CD64739E5AB50D354DE5CF0A93F99F2122E33
Broadcasted transaction hash: "46DF1B7B7637E911E7D4ED9A5B0CD64739E5AB50D354DE5CF0A93F99F2122E33"
Transaction Hash: 46DF1B7B7637E911E7D4ED9A5B0CD64739E5AB50D354DE5CF0A93F99F2122E33
Error
    at TxGrpcApi.<anonymous> (D:\NextJS\injbot2\node_modules\@injectivelabs\sdk-ts\src\core\modules\tx\api\TxGrpcApi.ts:187:40)
    at Generator.next (<anonymous>)
    at fulfilled (D:\NextJS\injbot2\node_modules\@injectivelabs\sdk-ts\dist\cjs\core\modules\tx\api\TxGrpcApi.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'chain-error',
  code: -1,
  originalMessage: '',
  name: 'TransactionException',
  errorClass: 'TransactionException',
  context: undefined,
  contextModule: 'sdk',
  contextCode: -1
}
#

Looks like it re-submitted the same

broken jacinth
lyric socket
novel pewter
gilded shadow
lyric socket
#

const privateKey = PrivateKey.fromMnemonic(cosmos12WordsPrivateKey)

gilded shadow
gilded shadow
barren moth
#

const chainId = "injective-1";
await window.keplr.enable(chainId);

    const offlineSigner = window.keplr.getOfflineSigner(chainId);
    const accounts = await offlineSigner.getAccounts();

Anyone is used to transfer TX on keply wallet?

silent knot
#

someone can help me how to deploy create coin on inj ? , dm please

novel pewter
barren moth
night steppe
#

@lyric socket deter guy 😉

rocky coral
#

Hello, how can I have testnet fund to test ? Faucet seems offline

pliant birch
#

Is tesnet still under maintanance ? All the query was working with the other day are giving me net::ERR_TIMED_OUT

lean parcel
rocky coral
dull rivet
lyric socket
#

Inj explorer is down...

lean parcel
night steppe
languid mural
#

can anyone recommend a good private prc? thanks

high pollen
broken jacinth
languid mural
#

Anyone here have an issue where the mnemonic derives a different address using the DirectSecp256k1HdWallet function from the cosmos sdk?

unborn drum
#

My node has been synchronized to the latest height, and IP:26657 can also be accessed. However, when I use the API to request jsonrpc, it does not take effect. Do I need to change any configuration? Does anyone know if you can help me?

languid mural
#

please send me testnet inj

#

inj1evzvmjdtycklkxnk4k3pxc9u8mu9tqn3e675ul

cold wren
languid mural
cold wren
rocky coral
#

Hello, i have an error when i'm trying to use token factory in typescript of the injective docs on the Mainnet : TypeError: Cannot read properties of undefined (reading 'toHexString'). Docs : core-modules/token-factory

split robin
#

Hey guys, just wanna ask how do i query a newly created pools on injective chain.

Im checking injective typescript but couldn't find anything helpful for that.

Can anyone help pls?

high pollen
#

Hey, is keplr using m/44'/60'/0'/0/{index} as default path for INJ?

I'm coding using cosmrs, bip32 and tiny-bip39, but I can't derive the same wallet from my KEPLR. It is working normally for OSMOS and COSMOS ( that uses m/118'/60'/0'/0/{index} ). But INJ isn't working for m/44'/60'/0'/0/{index} neither m/44'/118'/0'/0/{index}.

rocky coral
cold wren
#

can i dm you @Antoine ?

rocky coral
#

yeah

cold wren
subtle obsidian
#

Hello Sirs i got a error with a transaction

signature verification failed; please verify account number (182978) and chain-id (injective-888): unauthorized

I am getting this using the testnet, everything shoulda be fine.

What could be my mistake?

broken jacinth
rocky coral
broken jacinth
high pollen
wide hinge
rocky coral
#

later

rocky coral
#

like with the factory denom, how I get this ?

wide hinge
#

I try this but impossible got error adresseInjected not good format 😢
"const dstInjectiveAddress = "factory/inj164jk46xjwsn6x4rzu6sfuvtlzy2nza0nxfj0nz/max";

/** Account Details **/
const accountDetails = await new ChainRestAuthApi(restEndpoint).fetchAccount(
injectiveAddress
);

/** Prepare the Message */
const amount = {
amount: new BigNumberInBase(0.01).toWei().toFixed(),
denom: "inj",
};

const msg = MsgSend.fromJSON({
amount,
srcInjectiveAddress: injectiveAddress,
dstInjectiveAddress: dstInjectiveAddress,
});
"

#

I need to use MsgMint ?

worldly light
#

Dear Sir/Madam,

I encountered some problem in injective bridge. I want to transfer INJ in the INJ Hub wallet to Keplr, however, the fee in signature shows extremely high amount of INJ. I also found out one thing is the Injective Hub incorrectly identifies my rabby wallet as metamask wallet, so my virtual INJ wallet address on INJ side, the coins are on my Rabby wallet, but when i want to transfer INJ coins, sometimes the site says I haven't installed wallet yet because I dont have metamask. Is it related to the extremely high amount of INJ fee in transaction? I hope to resolve this issue as I need to mobilize the INJ coins in the wallet to have benefits to the community. Thanks for help. I urgently need this.

Best regards,
Levi

lean parcel
worldly light
#

i understand, but the INJ is already in the wallet... i cannot transfer out the coins

wide hinge
lean parcel
worldly light
#

yes, if i import the new wallet, the inj bridge/wallet wont show the balance

#

i think the 'virtual' inj address is associated with my wallet

#

now the inj balance is in that rabby account

#

i hope to mobilize those inj coins

rocky coral
#

Hello, anyone who knows how to deploy CW20 here ? I have factory denom but I don't really understand then

daring yoke
#

New dev Looking for an experienced Inj dev i can talk to pls dm

broken jacinth
wide hinge
broken jacinth
#

MsgSend is to send tokens. I recommend you to check the API docs

mighty fox
wide hinge
wide hinge
mighty fox
broken jacinth
#

Natively in Injective there is not such a thing as "swap". There might be contracts that provide that functionality, and in such cases you should interact with the contract.

mighty fox
#

Did somebody in the community developed a script to swap tokens ?

cold wren
#

i'm trying and testing the INJ chain, but when I need to put my inj wallet address and private key, what should I use ? keplr ? metamask ? or other way ?

#

so where do you find the private pass of your inj adress wallet via keplr

unique snow
#

I want to track new tokens from network, I'm streaming the tx but I think the creation tx doesn't show in stream_txs() is it true? any one know how can I make it?

high pollen
#

why do you make the network in RUST, but don't make an SDK in RUST too? 😢 😢 😢

sand patio