#🚀・dev-support

1 messages · Page 7 of 1

worldly eagle
#

@shut falcon it seems like you're encountering an issue when trying to fetch gas on the testnet. This error message "Failed to get response from https://k8s.testnet.lcd.injective.network/cosmos/tx/v1beta1/txs" usually indicates a problem with the connection or the testnet itself.

Here are a few things you can try to resolve this issue:

  1. Check your internet connection to make sure you have a stable connection.
  2. Verify if the testnet you're using is currently experiencing any known issues or maintenance.
#

If the issue persists, you can try integrating smart contract.

Remember, testnets can sometimes have hiccups, so it's always good to check their status or reach out to their support for help. Let me know if you need any more guidance! 😊

shut falcon
#

thanks fixed, was an RPC issue

dense folio
#

Guys: it there a way to deploy erc token contract via Remix to the chain?

olive comet
#

I am trying to understand market Ids on injective. I have found a valid id like 0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0 which works fine when I am creating a spot order programmatically for injective. However I also want to be able to create a spot order for markets like inj179vaaw6d507vkjz0ay0jc4lyzlmv6knffhp5jr which I found on a site like coinhall for for example HACHI/INJ. However that as a market id is invalid. I have tried to convert the inj id to hex but that still was an invalid market ID. Is there anyone who can help me convert it or maybe I am misunderstanding it in the first place? Any help would be greatly appreciated thanks.

little ocean
#

What's wrong with the command?

injectived query account 'inj1nppq4gg9ne5yvp9dw7fl9cdwjvnXXXXXXXXXX'
Error: post failed: Post "http://localhost:26657": dial tcp 127.0.0.1:26657: connect: connection refused

Just setup injectived on my PC, how do I change this network to testnet, for a start?

primal terrace
little ocean
#

How can I default it to testnet?

primal terrace
little ocean
#

Would this make the node default for subsequent commands or do I have to keep setting node?

primal terrace
primal terrace
little ocean
plush oyster
#

Hi builders, we just opened #1189372652561895475 for you! If you have any technical questions you can create new post to discuss
Happy coding!

topaz seal
#

Which network? How did you execute the request?

junior sapphire
#

👍

topaz seal
#

Check the endpoints you are using. The documentation page includes the list of official endpoints for mainnet and testnet

shut falcon
#

Thanks fixed already

topaz seal
olive comet
topaz seal
gilded gull
#

offt we're currently talking with him lmao

#

thanks for notice

snow dove
kind flare
snow dove
kind flare
snow dove
sturdy yoke
#

Yooo

little mesa
#

I want to replace network.indexer for IndexerGrpcSpotApi() function, is there specific APIs? bc i tried to change it request failed

topaz seal
little ocean
little mesa
topaz seal
# little ocean I have finished the tutorial here. What next? How do I add logo, how do I list i...

That depends on what you want to do. You should ask questions based on the actions you want to execute (instead of asking us to tell you what to implement). Once you have a clear idea of what you want to do, then we will be able to point to the correct technical details.
All the things you mentioned in your post (add a logo to a new token, list a new token) are already covered in the doc pages

little ocean
nova niche
#

Is there a way to receive the liquidity pool of a token using the GRPC ( injective SDK TS library )

so for example i have the token address and i want as output the liquidity pool of it?

#

@topaz seal

topaz seal
nova niche
#

yes or no - if yes -> how

#

dont need a roman

#

@kind flare

little mesa
topaz seal
topaz seal
little mesa
nova niche
#

So for example this here is a token

factory/inj172ccd0gddgz203e4pf86ype7zjx573tn8g0df9/GINGER

and this is its liquidity pool

inj1atyz3wxcaxdmhudpmpwgruqrp2yll83k47h4lz

to receive the liquidity pool, by the token address, i would need to monitor the smart contract where the liquditiy pool is deployed?

topaz seal
nova niche
topaz seal
primal terrace
#

@nova niche it would be best to contact the Astroport team in their Discord to get more details as to how to interact with their contracts. Astroport is a dApp on Injective and they'd be best suited to support with your inquiries.

nova niche
nova niche
#

i like inj developing but you deffo need updated sdk ts guides

snow dove
gilded gull
#

is it possible that the 10 INJ fee for creating Token Denom will be changed in the near future?

topaz seal
rigid hatch
#

Has anyone seen error: Uncaught (in promise) TypeError: Cannot redefine property: stack in typescript sdk before?

crisp coral
rigid hatch
#

Making wasm rpc call to get details of a contract, but looks like different network url can yield results (mainnet k8s will fail but mainnet sentry will work)

#

I think is just the rpc call failing but it doesn't tell you why

#

Here is an example.

  1. Fetching smart contract details by address (works on MainnetSentry but fails in MainnetK8s)
  2. Simulating tx (fails at MainnetSentry)

Failing meaning it throws Uncaught (in promise) TypeError: Cannot redefine property: stack in TS

crisp coral
timber matrix
dim pine
topaz seal
#

NFTs are not supported in Injective natively. You need to create a dApp to manage NFTs or use one of the existing ones (for example Talis)

languid hare
#

Never got the INJ back

#

Ohhh you mean you're talking with him to do your project? Hope you didn't pay him

ionic oxide
#

Please ignore anyone that is offering you services to help you build something

timber matrix
#

is it fine to mention someone here?

#

okay

#

sent a FR

hollow geyser
#

What is the problem here

#

Same code sometimes works , sometimes does not work

tidal hazel
#

Injective Improvement Proposal 302 to burn the revenue generated from $INJ domain names is now live!

little ocean
#

@topaz seal pardon for not understanding, but do I need to submit logo and TokenMeta as well for a testnet native token. I have checked through the entire docs, and nothing there about it.

primal terrace
# hollow geyser

Which endpoints are u using? You should be using mainnetSentry in sdk-ts.

little ocean
#

Yes, but how do I add the logo?

little ocean
#

Do I host the logo somewhere else, and add the URL? The docs didn't specify anything on logo.

tidal hazel
#

Insider news! On Xmas Eve🎄we ninja-dropped $NOBI to giga chads– top 100 holders of $NINJA & $KIRA 🥷

topaz seal
# hollow geyser

The problem is with the timeout height you are using. You need to configure a timeout height according to the time you want the TX to be valid while it waits in the mempool

dim pine
knotty glade
#

а че тут происходит?

#

где я

orchid forge
open whale
#

check dm

open whale
#

I can’t send lp to mirza wallet can someone guide me for it?

hollow geyser
#

What is this error, someone had it before? Got this when trying to interact with an astroport swap.

hollow geyser
hollow geyser
willow kiln
hollow geyser
hollow geyser
hollow geyser
rigid hatch
#
Injective Explorer - Visualize and search for data on the Injective Chain

The Injective Explorer is an analytics platform that enables anyone to search addresses, trades, tokens, transactions, and other activities on the Injective Chain.

misty parrot
plush oyster
#

Please use English only

willow kiln
#

okey

languid hare
#

Been working on burning LP for 10 hours, ADMIN OR CM, PLEASEEEEEEEEEEEEEE MESSAGE ME if one can

#

I'm DYING here

#

Don't mean to be dramatic, but I've been at my desk chair for 30 hours straight nearly

#

@lime mountain Can you help me bro? MIRZA told me to message in here

lime mountain
#

Need to wait till a dev helps you out

#

cc @topaz seal @kind flare

gilded gull
languid hare
#

Fuck

#

Okay, we continue coding and drinking mountain dew

languid hare
#

Just a small amount of help might put us where we need to be

#

My LP tokens will NOT convert to bank

#

I have 6 Inj in wallet for gas

plush oyster
languid hare
#

Mirza told me to come here and ask

plush oyster
languid hare
#

Not the Mirza.inj but his full addy

plush oyster
#

Sorry I don't know about this, please wait until devs reply to you

languid hare
lavish bolt
normal vale
#

How to burn inj on injective chain?

#

Anyone can help me ? thanks

plush oyster
normal vale
#

I sent some INJ to the sub-account, but I can't see it in the auction pool.

plush oyster
#

Ah I see, you send exact to this address? 0x1111111111111111111111111111111111111111111111111111111111111111

normal vale
#

yes

#

I don't know if there are other ways to burn INJ

plush oyster
normal vale
#

This transaction was sent in round 129. According to the document description, the number of INJ should be visible in the current round 130, but the balance of INJ cannot be seen in the current round.

plush oyster
normal vale
kind flare
#

Hey guys, from now on you can transfer CW20 assets directly from the Hub's Wallet page. This is useful for people who wanna transfer LPs and other CW20s.

mystic basin
#

You need to take part in the project

kindred sluice
#

what is the injected dead address?

snow dove
kindred sluice
#

guys, how can I add liqudity on injective testnet? is it possible? i can't find the testnet in astroport

foggy star
#

Who can I speak to about building a web3 game on injective?

sage cove
#

Hey!
How to get all native token (factory) holders and their balances? and for CW20?

dim pine
topaz seal
dim pine
topaz seal
kindred sluice
dim pine
topaz seal
shadow loom
lime ruin
shadow loom
merry crane
languid hare
kindred sluice
normal vale
normal vale
topaz seal
dim pine
normal vale
#

Sorry, I just became a NINJA today, it's great, does that mean that it will also open up the ability to burn INJ.

topaz seal
normal vale
little ocean
#

I asked a question on the developer-forums. I need helps regards wallet integration.

#

I'm trying to import the wallet-ts package for Wallet Connection, but I keep running into import errors. I need help.

topaz seal
normal vale
topaz seal
little ocean
#
 import { getInjectiveAddress } from '@injectivelabs/sdk-ts'
import { ChainId } from '@injectivelabs/ts-types'

const WalletConnector = () => {
  const getKeplr = () => {
    if (!window.keplr) {
      throw new Error('Keplr extension not installed');
    }
    return window.keplr;
  };

  const connectWallet = async () => {
    try {
      const keplr = getKeplr();
      const chainId = ChainId.Mainnet; // Ensure ChainId is correctly imported and used
      await keplr.enable(chainId);
      const injectiveAddresses = await keplr.getOfflineSigner(chainId).getAccounts();
      console.log(injectiveAddresses);
      // Handle successful connection (e.g., update UI or state)
    } catch (error) {
      console.error(error);
      // Handle errors (e.g., show an error message)
    }
  };

  return (
    <div>
      <button onClick={connectWallet} className="mt-4 bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full transition duration-300">Connect Wallet</button>
    </div>
  );
};

export default WalletConnector;

This is what I have. And once I add the component into the App component, all the package imports errors show up.

pine lion
#

How can i fix it?

grand loom
topaz seal
kind flare
# pine lion How can i fix it?

Send 10 INJ to the adapter contract and then do the conversion. Basically for each CW20 that gets minted for the first time nativelly on the bank module the adapter contract needs to pay the factory token creation fee of 10 INJ. We will reduce this significantly in the next chain upgrade.

#

If you don't wanna spend the funds yourself, we'll fund the contract in the next few days

pine lion
#

Okay, thanks

kindred sluice
#

are there any plafroms in place where you can organize pre-sales on injective?

humble estuary
past aurora
#

yo theres a mistake in docs

normal vale
plush oyster
normal vale
plush oyster
normal vale
normal vale
plush oyster
normal vale
#

It seems I don’t have permission to post

plush oyster
kindred sluice
#

is it possible to deploy new tokens using token factory at the moment? or the adapter contract is out of inj?

olive comet
topaz seal
olive comet
topaz seal
#

Then that means there is no native market in Injective for that token. You could check if any of the liquidity pools dApps running on Injective have a pool for the token. But for that you need to check the dApps' documentation

olive comet
topaz seal
#

You should check that with Astroport team

olive comet
#

ok sure my bad. Im just really confused how it all ties intogether. Like how is it possible to trade injective assets on astroport but not on injective itself seems counter intuitive

topaz seal
#

You could also create a governance proposal to add a new native market too

olive comet
#

yee I saw that is possible, but in my case im not interested in one single injective asset I'm trying to build a bot for myself to auto trade on any injective assets

open whale
#

For deploying

tight rivet
#

nice

rapid brook
#

yes

brittle briar
#

Remember, quality matters. Don't just copy - curate! Dive deep into your niche, offer unique perspectives, and engage with your audience. Tutorials, analyses, insightful commentary, creative art… the possibilities are endless!

grizzled bison
kindred sluice
#

do you guys know what i'm doing wrong?

topaz seal
kindred sluice
#

ok so you mean that the -node argument is wrong?

#

bcs, i check the chian-id and it looks to be the right one for mainet

topaz seal
#

yes, that is the right one

kindred sluice
#

thank you bro!

kindred sluice
#

@topaz seal I was able to mint the tokens via token factory but I can't see them in the creator wallet

#

do you know why?

#

the mint transaction was succesful

restive gust
kindred sluice
#

nope

#

and 14 mins have passed

kindred sluice
#

is it possible the network to be slow?

dim pine
kindred sluice
#

oh, that's encouraging :))

dim pine
kindred sluice
#

35 mins already passed, lol :))

#

hopefully, i'm going to see them soon

dim pine
kindred sluice
#

got it, ty for the info 🙂

open whale
dim pine
solar nacelle
#

We are trying to start injective, but we get a 404 on the below (example)code from the docs:

`const restEndpoint =
'https://lcd.injective.network' /* getNetworkEndpoints(Network.Mainnet).rest */
const amount = {
amount: new BigNumberInBase(0.01).toWei().toFixed(),
denom: 'inj',
}

/** Account Details **/
const chainRestAuthApi = new ChainRestAuthApi(restEndpoint)
const accountDetailsResponse = await chainRestAuthApi.fetchAccount(
injectiveAddress,
)
const baseAccount = BaseAccount.fromRestApi(accountDetailsResponse)
const accountDetails = baseAccount.toAccountDetails()`

We also tried https://testnet.sentry.lcd.injective.network:443 etc.... same 404 (code = NotFound desc = account)

solar nacelle
shell cliff
#

Is there any way for us to get memo field from the txn stream while using injective-ts package?

viscid wigeon
#

Is there a documentation example for increasing the timeout height? Often getting these errors

originalMessage: 'block height: 55922563, timeout height: 55922435: tx timeout height'

nova niche
#

Is there a RPC request to get ALL transactions of a INJ address at once without a limit of for example 100 transactions?

#

@topaz seal

little ocean
#

I added the following IPFS URI, but it wasn't showing up when i checked the token on the Injective explorer:
ipfs://QmYCnbRAwnCjCpHw1GXbwdYXLtosjc7z1N7EowR3R7XvwV
I'm assuming this is the right format that is required as value for the uri field in TokenMetadata. Is it?

#

@eager plinth

grand maple
#

is your docusaurus open sourced?
odd question. Just wanted to inspire those boxes from your doc! ah

dull cobalt
#

How to get the token prices ?

#

using the denom

terse parrot
dull cobalt
# terse parrot On CEX I think

But when we fetch the user balance details it returns the denom and amount, there is no option to fetch the price using the denom

terse parrot
#

It’s supposed to show

dull cobalt
#

how can we fetch the prices for each denom?

terse parrot
fallen abyss
#

@terse parrot what’s wrong

steel estuary
#

GB m

sterile pendant
#

nice

crimson hinge
#

I'm looking for a dev who can help me deploy token. were facing an issue of adding a logo to the token, setting Asset Type to Token Factory and having the Token Verification to Internally Verify or sort. Please react to this message and send me a FR

rugged ermine
#

good

grand blade
#

Does anyone have video advice on writing nft contract with inj network?

hardy wraith
#

@frosty kiln @topaz seal i am here to ask new hurdle question for me, how can we add a spot trading pair to Helix market?
Like if i make token, and i also have let say 1k$ worth of inj to add liquidity, how can i do so that it appear in helix trading pairs like katana, etc

frosty kiln
crisp drum
#

just trying to burn my lp tokens, following what sensei did, but seiscan doesnt sseem to be working, could someone help me try and find my lp token address for factory/sei1epyu0nrw0gzllswnmlt42a58gl8wlzmr4u86gv/SEIWA
$100 to anyone that can help me 🙂

#

i know its on sei but its cosmwasm so its gotta be the same right

#

ive done this before on inj with injective hub

hardy wraith
#

As its not in docs

tardy elk
#

#🚀

wheat rover
#

Is there any security guid for customs token ? Any doc or info

sterile pendant
#

happy new year

kindred sluice
#

Happy New year

#

Guys, what is the easiest way to create an nft collection on injective? Are there Any No code tools?

reef hemlock
#

good

wheat rover
lime ruin
kindred sluice
topaz seal
topaz seal
topaz seal
olive comet
#

does anyone know how I can query the amount of decimals a particular injective asset uses?

#

preferably using denom to query would be best

topaz seal
topaz seal
olive comet
#

ok thanks. So there is a specific function to get the denom metadata for a particular denom?

topaz seal
#

yes, there is, although we have not yet added functions in all SDKs to use the gRPC endpoint. It will depend on the SDK you are using. Please check the docs.
You can also look in the swagger page if you want to use the REST endpoint (I trust you will be able to find the info with the endponint name I provided)

olive comet
#

Ahh ok maybe thats why I cant find it in the typescript sdk

#

do you have the link for the swagger page?

#

found it dw

topaz seal
#

You can find the swagger page link for mainnet and testnet in the general doc page, in the Public Endpoints & Resources section

olive comet
#

thanks

wheat rover
wheat rover
#

Can we used OpenSSL for private key or their are any other options

cunning shale
#

there a testnet faucet??

ionic oxide
wild frigateBOT
wheat rover
#

Where can I find smart contracts on INJ scanner ?

cunning shale
#

ty, how often can we visit faucet???

astral kiln
#

When I query the balances of an address with chainGrpcBankApi I get the balances for the first 100 or so coins and a pagination key, but the api has no pagination parameter, how do I access the rest of the pages?

quiet horizon
#

@kind flare, when i create a denom in TS with MsgCreateDenom, why cant i set admin? now when i try to set denom metadata im getting Unauthorized Account errors

kind flare
quiet horizon
#

i did lol

#

did not know it was case sensitive

cunning tapir
#

who has issue installing injectived

cunning tapir
cunning tapir
#

I need a process how i can instll Injctived, please Help

grand blade
#

Does anyone have video advice on writing nft contract with inj network?

tall plover
#

I read old topic, change to correct RPC, but error still happend

#

I saw you figure out the problem, can you help me out?

#

also, can you help me out? trying several hours, but no results..........

tall plover
#

Do we need to change LPC or RPC?

#

can you guys tell me what is the lastest RPC? thank you

cunning tapir
#

I’m having same issue too

open whale
cunning tapir
#

Anyone minted token on the mainnet; please what is the Gas cost

#

Thanks

topaz seal
#

Are you running it on mainnet? The account does not have any INJ funds to pay for the gas

tall plover
#

I need assist on subdenom

#

I am trying to understand where to get that information

astral kiln
#

import { ChainGrpcBankApi, } from '@injectivelabs/sdk-ts'

tall bronze
#

Is this a normal behaviour? Trying to fetch txn by hash using the indexer grpc api

frosty kiln
frosty kiln
vivid thunder
#

Guys how much INJ does it cost to create a token on Injective using typescript?

tall bronze
nocturne gazelle
#

how to sign/MsgSignData with cli command?

topaz seal
snow dove
topaz seal
cobalt nebula
topaz seal
indigo pulsar
#

is there a document where you can check the token balances ?
like API or stuffs

and also fetching counts on their transaction per day or such

currently making tools for injective in my NFT project

topaz seal
#

You should check the API documentation page for Python and Go SDKs. Or the TS SDK documentation page if you are using the TS SDK.

topaz seal
#

yes, that will return the balances for a particular account

cobalt nebula
topaz seal
#

Just google CosmWasm

frosty kiln
astral kiln
topaz seal
brave valve
#

We get an error when starting crawled. The HASH is exactly correct
code-hash mismatch

#

@topaz seal Please, help me :((

#

Version dev (64687df53)
Compiled at 20230317-1510 using Go go1.18.3 (amd64)

topaz seal
#

Sorry, I am not sure what you are doing (can't deduce it based on the screenshots)

brave valve
#

Stargaze had no such problems with identical hash

brave valve
brave valve
#

What should we do now? The checksum stops us

primal terrace
topaz seal
#

The TS SDK supports what you can find in the documentation

tiny wagon
#

can someone tell me the best NFT marketplace in injective? I am from the ohhnft team and need to add the injective chain to our service.

lime ruin
#

If you want to raise a governance proposal then the 500 INJ deposit is required.

topaz seal
#

All proposals require 500inj deposit

lime ruin
#

Anyone can contribute to the required deposit.

topaz seal
#

I am not sure which part of "all governance proposals require a 500inj deposit" is not clear. It could be deposited by you or by anyone in the community, if you manage to convince people to provide funds for your proposal.
There is no other way to explain it really. Please stop asking now if a proposal can be passed permissionaless or without voting

kindred sluice
#

Guys, I'm wondering, why did the guys from Shinobi created a proposal to deploy a "custom cw20". Can they just deploy the contract? why do you need a proposal for this?

cosmic pivot
#

I'm using const { StargateClient } = require('@cosmjs/stargate') to communicate with cosmos based chains using tenderint rpc. Trying to interact with Injective, seems that everything is mostly working except for broadcasting transaction. Transaction has this type typeUrl: '/cosmos.bank.v1beta1.MsgSend', when I'm trying to sign/broadcast it, I get Unsupported type: '/injective.types.v1beta1.EthAccount' in response. Any idea?

topaz seal
topaz seal
dim pine
#

I have submitted and had my pull request merged into the Injective-TS token metadata repo as per the instructions here:https://github.com/InjectiveLabs/injective-ts/blob/dev/packages/token-metadata/CONTRIBUTING.md However, my token is still listed only as internally verified vs my goal of being "Verified" Are there other steps that I am missing? https://explorer.injective.network/asset/?tokenType=tokenFactory&denom=factory/inj1ktq0gf7altpsf0l2qzql4sfs0vc0ru75cnj3a6/moonify

GitHub

Collection of TypeScript packages that consume and interact with the Injective Chain - InjectiveLabs/injective-ts

Injective Explorer - Visualize and search for data on the Injective Chain

The Injective Explorer is an analytics platform that enables anyone to search addresses, trades, tokens, transactions, and other activities on the Injective Chain.

robust flax
#

Anyone know of a token getting bot for inj?

night current
#

If you find tell me to🙏

tall plover
#

I have been redirected from general chat to here because its about token creation , and I wonder if there are no simple sc templates for meme tokens or whatever, is a process of doing so similar to that : https://twitter.com/thynk_likeb/status/1740644635528364431
Like in my post ? It was a 2021 expirience brought back to live now lol ...

upper jungle
#

Need help please. I'm about to get scammed. I'm trying to revoke 3 fraudulent AuthZ via Keplr but the transactions keep failing. What can i do ?

#

Here are the AuthZ i want to revoke :
{
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/injective.exchange.v1beta1.MsgBatchUpdateOrders"
}

{
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/injective.exchange.v1beta1.MsgCreateSpotMarketOrder"
}

{
"@type": "/cosmos.authz.v1beta1.GenericAuthorization",
"msg": "/injective.exchange.v1beta1.MsgWithdraw"
}

#

the error message i got from Leap wallet

wheat nexus
#

@topaz seal how can I transfer my $ALIEN token from my ledger to another wallet?

main crystal
tall plover
alpine junco
#

Hi Guys,

How much time does it roughly take to create meme coin and deploy it on injective?

non super complex one

dim pine
dim siren
#

Hi

vital thunder
#

Hallo

coral dew
#

I want to deploy nft smartcontract on injective, from remix using metamask.

What chain testnet i should connect on metamask so i can see in inj testnet explorer???

dim pine
flat moon
#

Would love to Collab with top notche

coral dew
gleaming fox
dim pine
dim pine
# gleaming fox I am trying to fetch transactions of a token contract through @injectivelabs/sdk...

I am using code from that GitBook as well and it works for me. For instance ....here is code to fetch a wallets balances...

import { ChainGrpcBankApi } from '@injectivelabs/sdk-ts' import { getNetworkEndpoints, Network } from '@injectivelabs/networks' const endpoints = getNetworkEndpoints(Network.Mainnet) const chainGrpcBankApi = new ChainGrpcBankApi(endpoints.grpc) const injectiveAddress = "' // wallet address const balances = await chainGrpcBankApi.fetchBalances(injectiveAddress) console.log(balances)

I would recommend you ensure your NodeJS environment is configured correctly.

gleaming fox
# dim pine I am using code from that GitBook as well and it works for me. For instance .......

I am also able to get the balances just as your code but only transactions does not work
import { IndexerRestExplorerApi } from '@injectivelabs/sdk-ts'
import { getNetworkEndpoints, Network } from '@injectivelabs/networks'

const endpoints = getNetworkEndpoints(Network.Testnet)
const indexerRestExplorerApi = new IndexerRestExplorerApi(
${endpoints.explorer}/api/explorer/v1,
)

const contractAddress = 'inj...'
const limit = 100 /* optional pagination param /
const skip = 50 /
optional pagination param */

const transactions = await indexerRestExplorerApi.fetchContractTransactions({
contractAddress,
params: {
limit,
skip,
},
})

console.log(transactions)

this is the code I am using

dim pine
#

I get the same error when I use an invalid INJ address.

#

Also try using mainnet with a valid INJ address.

gleaming fox
#

I have deployed a new factory token which has a certain denom I want to get all the transfer made for that only I am trying how can I get all the transaction for that token

dim pine
#

I am not an expert on this...but my guess is that TESTNET may be buggy or your are using an invalid INJ wallet address.

coral dew
dim pine
#

However, with my limited knowledge thus far...I would assume the python SDK would have that ability.

coral dew
kindred sluice
#

Is it possible to send a cw20 token between two keplar wallets?

plush oyster
kindred sluice
#

@plush oyster are there any tools to do an airdrop?

plush oyster
kindred sluice
frozen tusk
topaz seal
topaz seal
topaz seal
lime ruin
open summit
#

keep building, builders

hardy wraith
#

also @topaz seal knight is acheived by acheiving a level or selected?

kindred sluice
hardy wraith
kindred sluice
#

Nope

hardy wraith
coral dew
#

what language to build contract on injective?

solidity or rust?

plush fern
#

Anyone here worked on contracts on EVM that was able to transition to inj?

#

i developed some tools on ether/polygon/etc and i am wondering what brings over to inj network

viscid ledge
frozen tusk
frozen tusk
#

Most seeing ```level=error msg="Stopping peer for error" err="Reactor validation error: wrong Block.Header.AppHash. Expected 5A0F357802D5D456A55F6917FC339ACFF5A5379FA27291E4A292F87447F00574, got CC5A73E071D6366C396C00549EE01405746DEADFAEC273ED06A8C9FFFA65A2DD" module=p2p peer="Peer{MConn{15.204.65.64:26656} 24e3d9f290791b8a9ab5a00e4b73475d7abef611 out}"

and I have the same `genesis.json` from the s3 bucket in the instructions.
zinc thunder
#

when will hakathon results come out?

inner sigil
pseudo kiln
#

Hi I am swe out of nyc, I mainly work for aws atm but I do fullstack as well. Looking to connect to any other devs in the inj community. I have been hodling since the beginning.

grave parcel
#

Hello my ninja army i am here for a new project :I would like to become the messenger of Injective to allow Revolut to link to them and this would allow users with Inj in Revolut to also stack theirs but for that I need your help what do you think (i already contact them (revolut) about that 3 days ago and they like my purpose

#

And i can be your translator to french if this its okay for you to

plush fern
#

Anyone here worked on contracts on EVM that was able to transition to inj?
i developed some tools on ether/polygon/etc and i am wondering what brings over to inj network

jovial coral
#

Thanks

topaz seal
zinc thunder
#

we want to run a relayer between INJ and NOIS

#

can someone point out how that is done please?

wheat parrot
hardy wraith
#

mate, so now i have made a token on INJ, and imported in leap.
its not showing below my address in explorer on mainnet, i paid 10 INJ fee of token creation.

SO now i wanna know:
How to make token show on Explorer?

#

and add to wallet in leap

#

i know how to import, i imported, successfully done, buh like talis show that kinda

topaz seal
#

We are not the developer team for Leap wallet, you will have to ask their support team about that

daring arrow
#

I'm getting error: code = Unknown desc = failed to execute message; message index: 0: can not create code: unauthorized when deploying cosmwasm contracts right now, is that expected?

wicked geyser
#

Hey @primal terrace, could you please check DM when avaliable? 🙂

topaz seal
daring arrow
#

Ultimately mainnet but understand that we need to do a proposal first for it

#

Right now running into the problem that i can't use cosmjs"'s signingcosmwasmclient

#

What do folks typical do for that?

#

We are also using cosmos-kit

topaz seal
daring arrow
#

We understand but we have already built our tool chain for chains like neutron and osmosis so it is quite difficult for us to change that

#

Have you or anyone else added support for it within cosmjs or on a fork?

drifting silo
#

or anyone else from the team

drifting silo
ionic oxide
#

you can fill the form and you will be contacted

solar nacelle
#

All,

You have an idea why the funds moving in a smart contract not work on testnet? (concerns INJ native token)

  • Cargo tests run succesfully
  • Tried method BankMsg::Send directly, but also as CosmosMsg::Bank(BankMsg::Send {

Code of it:

let the_protocol_fee = vec![Coin { denom: info.funds[0].denom.clone(), amount: protocol_fee.into(), }]; // This didn't work: /*let protocol_fee_result = BankMsg::Send { to_address: state.protocol_fee_destination.to_string(), amount: the_protocol_fee, };*/ // And this neither: let message: CosmosMsg = CosmosMsg::Bank(BankMsg::Send { to_address: state.protocol_fee_destination.to_string(), amount: the_protocol_fee, });

drifting silo
solar nacelle
tiny flume
#

Hi, How can I get all events emitted by a contract?

tall plover
#

How can I fetch all tx for a SC?

tiny flume
#

Ok, thanks.

kindred sluice
#

Are there Any tutorials / documentation about How to launch an nft collection on talis?

thick solstice
#

hey, I'm wondering if it's possible to change the default swagger api port of a local injective node? (the one that defaults to 10337)

thick solstice
#

I browsed the server history and couldn't find anything but I'll ask in those channels directly, thanks

daring arrow
#

Trying to use injective-ts now, but when broadcasting a tx, i get the following error:

FAILED => BroadcastTxError: Broadcasting transaction failed with code 1 (codespace: undefined). Log: empty address string is not allowed

#

Have you see that error before by any chance?

#

@topaz seal

topaz seal
daring arrow
#

Its just a MsgStoreCode

MsgStoreCode {
    params: { typeUrl: '/cosmwasm.wasm.v1.MsgStoreCode', value: [Object] }
  }
topaz seal
daring arrow
#

Testnet

topaz seal
# daring arrow Testnet

Are you sure you are following the documentation when trying to deploy a contract in testnet?
https://docs.injective.network/develop/guides/cosmwasm-dapps/Cosmwasm_deployment_guide_Testnet#3-upload-the-wasm-contract

This guide will get you started deploying cw20 smart contracts on Injective Testnet. We'll use the cw20-base contract from CosmWasm's collection of specifications and contracts designed for production use on real networks.

daring arrow
#

I'm following this guide

#

To create the tx and broadcast it

topaz seal
#

You are doing something wrong. The MsgStoreCode requires the following parameters: sender, wasm_byte_code and instantiate_permission (maybe the parameters' names are different in TS SDK, but the parameters are required anyways)

daring arrow
#

I expanded the value, and this is what i'm getting

{
  typeUrl: '/cosmwasm.wasm.v1.MsgStoreCode',
  value: {
    sender: 'inj159y4uvl37dgjhn9yn86x7g785jyzs029820l4p',
    wasmByteCode: Uint8Array(75566) [
       31, 139,   8,   0,   0,   0,   0,   0,   2,   3, 236, 189,
       13, 152,  29,  87, 117,  32,  88, 247, 222, 170, 122, 245,
       94, 189, 215, 253,  90, 106,  89, 109, 203,  64, 189,  23,
      205, 186, 149, 200, 161, 201, 152, 110, 225, 120,  50,  42,
      225, 182, 228, 193, 140, 157, 140, 119, 199, 201, 120, 198,
      114, 108, 101, 236,  39,  97, 100,  33,  28, 177, 235, 181,
      218, 177,  98, 183,  65, 132,  38,  40,  65,  16,  49, 105,
       18, 101,  45, 130, 216,  85, 178, 202,  32, 103,  68,  34,
      130, 146,  21, 196,
      ... 75466 more items
    ],
    instantiatePermission: undefined
  }
}
#

i guess instantiatePermission is empty but sender is not empty

#

Looks like it is optional

#

so yeah not sure what else in here would be empty

marble linden
#

premission shoudl be undefined?

lament lynx
#

Can someone share a simple example of how to connect a wallet to injective (like the Helix DEX but more simpler)

drifting silo
#

i filled the collab form but no one has reached out to me..

young gorge
#

is there a cw1 code on mainnet already ? (maybe cw1-whitelist ?) Thank you very much

fiery kestrel
#

hello, I want to sign and broadcast transactions from a backend server. I've found the below example on how to create/sign/broadcast transactions, but it using Keplr wallet. However, since my application is on the backend I cannot use a wallet like Kelpr or Leap.

My question is, how do I create a wallet instance using a mnemonic on the backend that I can use to sign & broadcast injective transactions? I've been looking at @injectivelabs/wallet-ts but haven't found a way to create a wallet using a mnemonic.

My code supports other tendermint chains and cosmjs/stargate works well for all of them, but I understand it won't work for Injective.

https://github.com/InjectiveLabs/injective-ts/wiki/03TransactionsCosmos

fiery kestrel
lime ruin
fiery kestrel
golden laurel
#
import {
  MsgSend,
  ChainRestAuthApi,
  BaseAccount,
  PrivateKey,
  MsgBroadcasterWithPk,
} from '@injectivelabs/sdk-ts';

    const msg = MsgSend.fromJSON({
      amount: coins,
      srcInjectiveAddress: mainAddress,
      dstInjectiveAddress: address,
    });

    const pk = PrivateKey.fromMnemonic(mnemonic);

    const broadcaster = new MsgBroadcasterWithPk({
      privateKey: pk,
      network: Network.Mainnet,
      endpoints: {
        rest: cosmosRestUrls['inj']!,
        grpc: 'h2c://injective-grpc.lavenderfive.com:443',
        indexer: 'https://api.injective.network',
      },
    });

    const { txHash } = await broadcaster.broadcast({ memo, msgs: msg });

This throws error

"code":-1,"originalMessage":"","name":"TransactionException","errorClass":"TransactionException","context":"","contextModule":"","contextCode":-1},"msg”:””

When trying with the public gRPC https://grpc.injective.network, while slow, the tx does go through.

Any idea what that error means?

keen prairie
jaunty aspen
cobalt nebula
#

I have a question as I’m not so well exposed on injective

On ethereum you can read contract code on etherscan as blockchain is open source

Is that possible on injective because I can read the full code yet

solemn forge
#

Getting this error using a delagate acc

cobalt nebula
#

You don’t seem to have enough gas for the transaction

solemn forge
#

both granter and grantee have gas in them but any tnx from the grantee fails with this error

cobalt nebula
#

Wait for help then

solemn forge
#

yeah thanks

green solstice
#

Can anyone tell me if it is possible to connect one wallet to another? I have the metamask in the guild and on discord where it gives me warrior status. On keplr where do I have my referrals and where are my activities on the network, what should I do? thanks

silent isle
topaz seal
# solemn forge

The error message is explaining the problem already: the TX was sent with less gas than the required to process it

green solstice
tranquil rivet
smoky blade
#

Hi.
I am a blockchain developer. I am good at Rust and Solidity. Have been involved in building several web3 projects so far.
I can write smart contracts on Solana/Cosmos based chains/EVM based chains.

covert mesa
#

Hello

drowsy aurora
#

hello

paper siren
#

Guys, I'm trying to create a NFT collection on Talis, but there are difficulties with it and support is almost non-existent. It's almost impossible to get answers in Talis discord. Who knows another good NFT marketplace on Injective?

golden laurel
rocky elm
rocky elm
paper siren
#

Support tickets remain unresolved and are closed.

rocky elm
#

sorry to hear that bro 😦 maybe you can get some help hiring a freelance dev on fiverr?

paper siren
#

You have no roles on this server. Are you a developer?

past aurora
#

how do i pass Uint128 from typescript? is it just a string?

#

im able to send an executeMsg from my tests (test-tube) but after uploading to testnet and trying from front end, i get parsing errors

#

fwiw im using the auto generated schema as well

topaz seal
#

When you create the messages in Typescript, you will get type hints

small thorn
#

I need some builders will to volunteer on a project

solar nacelle
#

Testnet down

topaz seal
#

I see it running

past aurora
#

back up now

past aurora
#

how is this value calculated?

#

and why is it different for someone else trying to send the same tx

astral cloud
topaz seal
astral cloud
#

I guess api/explorer/v1 is under indexer since its rejecting all queries (:

#

is there any slaves of these rest api endpoints to point on

topaz seal
#

all public official nodes are managed by the load balanced URL. The alternative is for users to run their own stack (node and indexer)

astral cloud
#

thanks and add more nodes haha

topaz seal
#

the idea is for Injective to be a descentralized and open chain. Users should all run their own nodes ideally

drifting bluff
young gorge
topaz seal
topaz seal
wise dove
#

Hi guys, can I start running a node as of right now? Are there any clear benefits of doing so other than making the chain stronger?

plush oyster
wise dove
#

Thanks bro 🙂

hallow stone
#

question if I may , what is the maximum speed of TPS we have ? everywhere I see different values from 1.5 thousand to 10 thousand 🤔

austere bobcat
hallow stone
uncut bramble
#

how to fetch txs use sdk ?

quaint bison
#

how are you all doing

young gorge
foggy briar
#

great gays

spare maple
#

Not yet.

past aurora
kindred sluice
#

with the volan update, is it possible to burn non native tokens? for example lp tokens?

ionic oxide
# kindred sluice with the volan update, is it possible to burn non native tokens? for example lp ...

You can read more info about volan here - https://hub.injective.network/proposal/314

Third party dapps can decide to burn their token if they have, and/or they can decide to contribute to the burning auction too - https://blog.injective.com/en/inj-burn-2-0/

Injective Hub - Access Unlimited DeFi Markets

A unified interface for Injective staking, governance, insurance funds and wallets

Injective Blog

Injective today is releasing its largest tokenomics upgrade yet which can dramatically increase the amount of INJ burned weekly.

Now all dApps built on Injective can contribute to the INJ burn auction with no limit to how much of their fees they wish to burn. In turn, this can lead

minor timber
#

Hey guys. I’m looking for an official dev from the INJ protocol.
I have built a native token creator on injective (tokenfactory). Could an official dev contact me. It will be very useful and help in the development of Injective.

kindred sluice
#

guys, can un send bank tokens from injective hub between wallets?

lime ruin
heady rune
#

Any devs interested in hopping on a team to build a cool INJ project lmk, currently looking for back end oriented devs

solar nacelle
#

if i would run my private node, would query + tx go faster?

merry crane
latent sand
#

Godd

heady rune
green solstice
#

What are the incentives to node at Injective?

formal bolt
frail briar
dim pine
gusty ginkgo
#

Hi guys this the official injective chat channel?

#

I mean for developers sorry

gusty ginkgo
plush oyster
#

yes you can

gusty ginkgo
#

I have a 10+ years background in software dev interested in joining a team

buoyant jewel
topaz seal
topaz seal
stoic lodge
#

When result injective hackathon bro?

lime ruin
zinc willow
#

Hi everyone, do know any service that supports RPC archive on Injective?

sonic moth
#

are there some good resources on how to develeop on injective?

plush oyster
sonic moth
drifting bluff
#

Hey Vyz I tagged you in #🔩・node-operators a few days back about a problem with my eventProvider. Could you please take a look at it, thanks 🙂

ornate agate
#

hi, whats the easiest way to leverage multisig in Injective. i Found Appolo Multisig wallet and wanted to use that, but stuck on the step, where i have to submit proposal to execute contract - i don't know what format should i put in to make it happen

IN the mainnet i want to execute contract, that are deployed to adjust some parameters - thats why i need multisig that could execute contract, not just send money.

and then i found this CLI command.
injectived tx wasm submit-proposal execute-contract [contract_addr_bech32] [json_encoded_migration_args] --title [text] --summary [text] --authority [address] [flags]

is that right, that i could use this multisig wallet address ( not my own that is one of the participants of mutlisig wallet ) in the --authority field

--authority string The address of the governance account. Default is the sdk gov module account (default "inj10d07y265gmmuvt4z0w9aw880jnsr700jstypyt")
to propose an execution of the contract and vote for it later

Am i right?

Thanks for any help in advance

zinc willow
hardy wraith
#

I need a dev for making my dapp more good.
I am discordels founder @topaz seal know me. I am developing games. I need a dev to see inj part.
@topaz seal can u suggest me good dev. #🤝︲find-teammates is locked for me.
If someone interested tag me here or dm me

solar nacelle
#

You guys know a LCD REST call for getting the events, emitted by TX's ?

topaz seal
hardy wraith
#

i am locked

topaz seal
hardy wraith
#

@topaz seal can u add me to that channel ?

topaz seal
hardy wraith
austere bobcat
hardy wraith
#

I have announced minigames metaverse, non web3 part is done, even wallet connection btn etc done @austere bobcat , i need transaction btn on game start, so need a dev to make this

topaz seal
hardy wraith
#

Hahaha

#

little weird to send here message for job

#

but anyway

#

everyone
if u wanna work on a dapp on inj, only transaction btn needed to make
DM me, I am Discordels NFT founder, twitter username is: @Discordels_NFT
U can either DM us on Twitter or me in Discord

hardy wraith
#

hahahah @topaz seal bro, When i not needed there were a lot of devs, and now i need and they suddenly vanished

solar nacelle
#

BTW, if you ever need a ETH->INJ address converter in C#, let me know. Had to refactor it 100% to get it working. It only exists for TS as frontend, but we needed it backend.

hardy wraith
#

?

south folio
#

Where can I find info for developing on inj?

#

Links would be helpful

ionic oxide
zinc willow
merry crane
tall plover
#

@hardy wraith I am a dev who is well versed in evm and solana chain.
Please dm me if you are interested in me.
Best regards.

topaz seal
merry crane
topaz seal
merry crane
topaz seal
silent isle
#

For a developer willing to build on Injective Blockchain where do i start?

lime ruin
merry crane
topaz seal
glossy fjord
#

Hlw

manic dome
#

Hi

worthy torrent
#

Gm gm any effort to get a Chainlink INJ/ETH oracle going?

hardy wraith
hardy wraith
hardy wraith
hardy wraith
# topaz seal Ok, I understand now what you need. Let me get a proper response from the chain ...

looks like no one is interested, anyway, can u tell me i need to add a btn in website that when clicked, user is asked to pay 0.0005 inj fee to start minigame.
What i have done:
Made global variables of address storing of user
BTN will be shown only if user wallet is connected
Added wallet connection system with keplr successfully working

Just i need to pull transaction popup when user clicks that btn, this btn will be added in start of each game, something like this

hardy wraith
lime ruin
pastel jasper
#

Hello, does Injective provide builder grants?

hardy wraith
lime ruin
hardy wraith
solar nacelle
raw peak
hardy wraith
#

Anyone interested in getting a dev job? Dm me. Let's build something awesome 😎💯

brittle skiff
tall plover
#

I can dev

dusty flower
#

wheres the best place i should go to learn how to become a dev?

halcyon path
dusty flower
#

thank youy

zinc willow
solar nacelle
topaz seal
forest bone
#

Hey i have a small backend i use for interacting with cosmos chains, built in comspy. But for injective that does not work so i tried using pyinjective. But these projects seems to be conflicting. Example error:
TypeError: Couldn't build proto file into descriptor pool: duplicate file name cosmos/bank/v1beta1/tx.proto

Have anyone used these two in the same program before?

hardy wraith
hardy wraith
weary niche
#

Hello!

topaz seal
past aurora
past aurora
#

also its testnet

ionic oxide
past aurora
#

yeah but the link does not work

#

@ionic oxide can you try the "tx_search" endpoint from the docs and let me know if it works for you

topaz seal
past aurora
topaz seal
#

The only endpoints enabled in the public nodes are the ones listed in the swagger page

past aurora
#

got it, so i need access to a private node to use rpc?

keen prairie
#

Yo guys, i've been streaming new transazioni with ts sdk, looks like the endpoint is out of sync? Im getting streamed transactions mined 1h ago

topaz seal
keen prairie
honest night
#

can I import the wallet I have on injective hub to another wallet e.g. leap?

topaz seal
# keen prairie anyone know something about this?

Are you using the public nodes? If you are, please check the documentation pages. We can't guarantee that public nodes will have the same performance all the time, because they are under heavy load frequently. The recommendation is for users to run their own nodes

#

please check the API documentation page. Your question is answered there

keen prairie
tall plover
#

Hey Guys I have a question about this requirements! Is this necessary? 64 GB ram and 1 TB?

#

And yes - is there also other options to build or create a token or do I need to use server!

#

Thanks for the time Ninjas ❤️

unreal wadi
tall plover
#

I can help if you have any issues launching a token

tall plover
zinc willow
hollow rain
tall plover
hollow rain
hardy wraith
hardy wraith
#

Everyone I am saying this from three days now. I am looking for a inj dev to add some functions in my dapp.
If anyone can do it dm me on discord or dm on Twitter on our official profile @discordels_nft

tall plover
#

Depends on your budget tho

snow dove
hearty locust
hardy wraith
tall plover
topaz seal
topaz seal
last cove
#

The objective is to empower developers at Injective to establish an environment that streamlines the development process to a level of seamlessness comparable to that experienced by Ethereum Virtual Machine (EVM) developers.

tall plover
#

I miss some the injective-exchange right?

clear rover
#

hey'all, do you guys happen to know crypto native angel investors that would invest in pre-seed stage? I am building a project and really needed it to pursue our marketing GTM strategy

lime ruin
nova walrus
#

Hey team, we are building a game on Injective. As lots of users now prefer using their own smart phone to access and interact with the dapp, I wonder if there is any suggestions to make the mobile wallet like kepr or leap integrate with the web app easily? We are finding it quite complex at the moment.

#

Been looking around and trying to connect hub.injective.network on mobile but seem it did not work as well.

nova walrus
ornate agate
#

how can i guery all delegators that belong to validators?

i want to get all users that are staking INJ. is there any query method or sdk method in ts, python, go that i can use. Thanks for response in advance

slate pine
past aurora
#

Error: error in json rpc client, with http response metadata: (Status: 503 Service Temporarily Unavailable, Protocol HTTP/1.1). error unmarshalling: invalid character '<' looking for beginning of value

#

testnet

topaz seal
past aurora
#

yeah restarting docker did it

sullen finch
topaz seal
lime mountain
#

yeap, i muted him for a day

zinc thunder
#

is mito developed by the inj team? if yes do we have a eta yet ?

lime mountain
#

yes, should be around the corner

rapid siren
#

having issues with something that previously working with py-injective. fetch_account_txs is failing with Error fetching exchange cookie (Metadata(())). Seems something wrong with exchange indexer?

#

Anyone facing this?

golden nova
#

when using set-denom-data what is the difference between display, symbol and denom units?

topaz seal
uncut bramble
#

error when I run explorer indexer

uncut bramble
#

It‘s seems like I need 240h

#

to sync

rapid siren
vital thunder
#

can I call fetchSmartContractState function with 2 queries ?

weary niche
#

Hello! Guys

topaz seal
topaz seal
topaz seal
rapid siren
weak urchin
#

Anyone know how to use a grpcs:// url with the injective-ts library?

sturdy finch
young gulch
#

Im seeking full stacks devs for an injective proyect regarding nft lending

#

Interested please DM me, we pay with INJ or BTC and EQUITY.

#

does anyone know if there is any job site to hire INJ devs?

ionic oxide
olive bison
stark oasis
#

Hello im a smart contract developer and im finding it difficult to find documentations about some stuffs

Is there a way to call a TokenFactory function like Mint or Burn in my smart contract? if so can someone give me an example?

#

I found the message

#

but idk how to execute it as token factory has no contract address

hearty summit
#

If a regulated bank that currently offers safe/secure INJ (& other crypto) trading and custody services to retail customers & wanted to explore strategic partnerships with INJ, does anyone have any suggestions/ideas of mutually beneficial projects that might be possible?

tall plover
lime ruin
quiet horizon
#

@kind flare I'm having issues with the TS SDK;
The TS docs say to use spotPriceToChainPriceToFixed and spotQuantityToChainQuantityToFixed,
but getting this error: Module '"@injectivelabs/utils"' has no exported member 'spotPriceToChainPriceToFixed'.ts(2305)

kind flare
#

Its in the sdk-ts

quiet horizon
quiet horizon
#

also how can i pull an asset price from the market module

quiet horizon
#

@topaz seal testnet sentry down?

topaz seal
#

no, its up and running

quiet horizon
#
type: 'grpc-unary-request',
  code: -1,
  originalMessage: 'The product is experiencing higher than usual demand. Hang tight, engineers are doing their best to improve the performance and efficiency.',
  name: 'GrpcUnaryRequestException',
  errorClass: 'GrpcUnaryRequestException',
  context: 'Balance',
  contextModule: 'chain-bank'
#

is testnet down? all injective-ts networks are returning the same error

topaz seal
#

I am querying the chain using the Python SDK without issues. So it is definetly not down

quiet horizon
#

huh, weird

topaz seal
#

also Helix testnet version is working normally on my end

#

and the Explorer page for testnet is also working

quiet horizon
#

hmmm

reef fiber
#

hello, is it possible to get historical order book data?

quiet horizon
#

@kind flare So both with ChainRestBankApi and ChainGrpcBankApi i am getting essentially 500 errors, with request failures on REST and "The product is experiencing higher than usual demand. Hang tight, engineers are doing their best to improve the performance and efficiency." with GRPC

topaz seal
quiet horizon
#

TestnetSentry

topaz seal
quiet horizon
#

yep

#
"@injectivelabs/networks": "^1.14.0-beta.1",
"@injectivelabs/sdk-ts": "1.14.0-beta.1",
topaz seal
#

I tested also using the Go SDK: still no issues.
Could you try with a non-beta version?

quiet horizon
#

sure

#

same issue

topaz seal
#

Until Bojan can reply, I would suggest you to compare what you are doing with Helix app in testnet. As I mentioned, Helix is getting account balances without issues in testnet

quiet horizon
#

ok. thanks

quiet horizon
#

'quantity 27249068000000000000.000000000000000000 must be a multiple of the minimum quantity tick size 1000000000000000.000000000000000000: invalid quantity'

#

what does that mean?

solar nacelle
#

hey, i didn't really get a solid answer in the regular chatty. Do you guys know a good and safe **MULTISIG **which is suited for Injective?

olive bison
#

🚀🚀

topaz seal
thick hill
#

hello,

I'm trying to run the walletstrategy example from the docs, getting this error. Anybody knows what to do please? ledgerhq/cryptoassets pckg is installed

./node_modules/@injectivelabs/wallet-ts/node_modules/@ledgerhq/hw-app-eth/lib-es/modules/EIP712/EIP712.utils.js
Module not found: Can't resolve '@ledgerhq/cryptoassets/data/eip712' 
quiet horizon
quiet horizon
#

Ok, i fixed that issue.
Now i'm getting liquidity errors?
Orderbook liquidity cannot satisfy current worst price

golden tiger
#

Can anyone help me build nfts here.?

quiet horizon
hardy wraith
topaz seal
# quiet horizon I’m following the ts docs lol

It is good that you are following TS documentation reagarding technical details, because you are using the TS SDK. But since you are trying to trade, you need to understand the trading concepts too. Please check the trading docs and the trading examples in the API docs

quiet horizon
topaz seal
quiet horizon
#

how can i get an accurate price?

quiet horizon
#

@topaz seal

topaz seal
quiet horizon
#

Where can I find the trading docs?

nova walrus
#

Gm guys, we are working on several smart contracts for our game. I see that in order to deploy contracts to mainnet on injective, it needs to get the approval of the proposal. May i ask how long normally does it take to get it so we can have a better preparation for the launch?

celest mural
#

Hi there are any proyect like Blur in ethereum tensor of solana for here in injective?

#

Injective need a marketplace similar to Blur opensea or tensor

violet widget
#

Hello everyone, will there be any games in the injective project?

violet widget
golden tiger
#

Want know how create nft

snow basin
zealous birch
#

I have some NFTz done if anyone wants to colab launch lmk

tall plover
#

I can help launch tokens on inj

violet lance
#

Thank you

raw torrent
#

How do I create and mint nfts

tall plover
#

Hey there - If anyone has some knowledge of a good templated Escrow Smart Contract. Have one on ETH but curious to review against a similar one on INJ

brittle dagger
#

good

tall plover
#

Looks like Talis has one for NFTs

#

Ill start there, any other suggestions are helpful. Thanks!

lofty creek
#

is there a token generator service for Injective, for example Unicrypt where the token code is already audited, etc.?

lime mountain
zinc thunder
#

This creates a cw20- token

#

not a injective natvie one

#

You can create a native token through this

#

So please keep this in mind for further questions like this ❤️

lime mountain
#

First time I hear about this one, is this a new feature?

#

How does it works? @zinc thunder

#

What native inj tokens have been made with it?

zinc thunder
#

ipepe

#

aliens

#

and many more which are not this famous

#

We just made it possible for no-code folks to create their token in a format supported by INJ

lime mountain
#

But it's not natively on injective

zinc thunder
#

it is

#

tokenfactory is the native format not cw20

lime mountain
#

Was this done through a voting process?

zinc thunder
#

i think maybe some of the devs can help you understand this more

#

i dont want to tag them buy bojan might help

#

all of this are native inj tokens

#

the one ur suggesting will be cw20

lime mountain
#

Yes i know the difference

#

Just asking how was it done

zinc thunder
#

the code is public we just made it easier for no code folks

#

the repos have all the tools needed and there is no need for governance idk why u asked about this KEKW

lime mountain
#

Was this made before the upgrade or after

zinc thunder
#

which upgrade?

lime mountain
#

Volan

zinc thunder
#

before

#

Some of latest tokens created via it

#

@tall bronze maybe you can help @lime mountain understand anything dev related he might have

lime mountain
ancient musk
#

Good Morning/Afternoon to everyone here!~

#

Have a question on deploying contract on INJ.

#

If anyone could help, it would be greatly appreciated! 🙂

lime ruin
vital thunder
#

@lime ruin do I need to pass governance when I upload cosmwasm files to mainnet ?

#

still need 500 INJ deposited in proposal.. ?

ancient musk
lime ruin
# vital thunder <@911574067377733663> do I need to pass governance when I upload cosmwasm files ...

I think yes.

Also the deposit required for proposal is 100 INJ and anyone can contribute to the deposit.

This guide will get you started with the governance process of deploying and instantiating CosmWasm smart contracts on Injective Mainnet.

ancient musk
lime ruin
#

You can wait for a dev to reply or post in #1189372652561895475 .

leaden sparrow
#

Hey! Can someone send me 0.01 INJ on the testnet by any chance ? The faucet are not working and I'm stucked 😦

#

inj1l7zyvu34wf2ypexlfutqxn0ppupasksucrg8lr

#

THX!

stark oasis
#

How to use injective-std?

#

It gives errors when deployed

#

for ex. unsupported import bindgen

wanton heath
#

Hello everyone,

I am Abhitej, co-founder of Filament - a hybrid perpetual DEX. We are building on Injective EVM and wanted to connect with other builders in the Injective ecosystem. So here I am!

Setting some context on Filament:

Filament is a hybrid perpetual DEX co-founded by Abhitej (Former Ecosystem Lead, Persistence) and Pratyaksh (Former Product Lead, Persistence) who have been working in DeFi since 2019 and have collectively built 5 DeFi products.

Being active builders and avid DeFi users, we realised there’s a lot of scope in Perpetual DEX design space.

We identified three key challenges with existing models:

  • Funding rate stabilisation in emerging DeFi ecosystems
  • Trade efficiency due to low liquidity
  • Capital-efficient liquidity utilisation to provide sustainable yet attractive yields for LPs

To solve these challenges, we are building Filament, a hybrid perpetual DEX (Orderbook + on-chain liquidity pools).

We are targeting testnet launch of v1 on Injective EVM in next 6 weeks. If you are building on Injective EVM as well, would love to chat and explore synergies.

P.S.: Refraining from sharing any links for now. Will let admin respond if that's okay.

topaz seal
topaz seal
ancient musk
topaz seal
zinc thunder
#

why would yall delete?

ionic oxide
zinc thunder
#

lame

#

@tall bronze

deep solstice
#

We need to redesign the logo of injectives

Here's why;
Having grown exponentially and evolved into one of the most relevant eco systems in the, a brand logo evolution would be perfect..

olive bison
#

🚀🚀🚀🚀🚀🚀

coral dew
#

once inEVM is on mainnet,

that means all contract on eth can be deployed on injective.

any idea when inEVM coming to mainnet?

ancient musk
#

There has to be a way we are able to deploy NFT projects without passing a governance.

topaz seal
# coral dew does that mean a dev cant simply deploy any new contract he built? for example ...

In mainnet you need to create a governance proposal.
I frankly can't see the reason behind asking so many times if a new contract can be release to mainnet without a proposal in many different ways.
I will try to be more clear to stop this nonsense: it doesn't matter what you contract logic is or what it does or how it does it. If you want to deploy a contract in mainnet you need to create a governance proposal

quiet horizon
#

pretty simple 👍

#

@topaz seal , i looked at the trading docs, and still cant find any good documentation regarding how to pass a MsgCreateSpotMarketOrder

#

@kind flare what is the best way to derive current price for a spot order

austere bobcat
#

Yes, Injective is evm compatible through cosmwasm

brittle matrix
#

i asked the same a few days a go, but what i concluded is...that is not operative yet?

topaz seal
#

No, Injective is not EBM based. It is implemented using cosmos-sdk and tendermint. But all that information is available in the docs, you should not be asking that here

dark carbon
#

there is anyway that injective can support natively the wrap of original token factory into cw20? to use existing TF tokens on wormhole and such…

#

because otherwise the token factory are not very interop with outside ecosystems and tools available out there

stark oasis
#

Hello im getting an error

#

injectived accepts 2 args received 3

#

while my instantiate function uses 3 args

#

It works when args are directly passed

#

but doesnt works when wrapped in a variable

silent pewter
#

I want to use TS to write swap calls. Which sample code can I refer to?

#

Router similar to uniswap, use inj to swap usdt

austere bobcat
#

done boss

stark oasis
#

in cosmwasm

dense cairn
#

Let’s go 🔥

quiet horizon
hardy wraith
#

@topaz seal Error sending to inj1h8khkvwfuj8ry0nt8hlwx7xprulu0ylymnyyg4: Error: block height: 58388127, timeout height: 58387970: tx timeout height
at TxGrpcApi.<anonymous> (D:\Source-Files-and-projects\Visual-Studio-Code\INjective\token making tests\Lenz\node_modules@injectivelabs\sdk-ts\src\core\modules\tx\api\TxGrpcApi.ts:187:40)
at Generator.next (<anonymous>)
at fulfilled (D:\Source-Files-and-projects\Visual-Studio-Code\INjective\token making tests\Lenz\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: 'block height: 58388127, timeout height: 58387970: tx timeout height',
name: 'TransactionException',
errorClass: 'TransactionException',
context: undefined,
contextModule: 'sdk',
contextCode: 30
}

#

getting this error

hardy wraith
#

@topaz seal using send by Msgsend

#

in typescript file

topaz seal
#

What is your doubt @hardy wraith? The error description in the log you provided is already describing why the TX was rejected

hardy wraith
topaz seal
# hardy wraith i know, bro, i wanna know that why it happened, its my code error or error from ...

Let me rephrase the situation, because honestly I don't understand what is your doubt.

  • Let's suppose the current chain block height is 1000.
  • You send a TX to the chain, specifying in your TX a timeout height of 1100. This means, according to the docs, that if the TX is not included in any block before the chain reaches block number 1100, the TX should be considered invalid and discarded
  • Your transaction is in the mempool, but it is not included in any block (because there are other TXs before yours in the mempool).
  • Time passes and the chain reaches block height 1100
  • Your transaction, according to the configuration it has, is discarded

What is the question here? Everything seem to have worked as expected

#

Also please make sure you are configuring the TX with the correct timeout height before broadcasting it. If you configure a timeout height smaller or equal than the current block height, you TX will be discarded by any node right away

hardy wraith
topaz seal
#

That is explained in the docs. I don't think it makes any sense to repeat here information that is alredy in the docs

hardy wraith
#

@topaz seal which article u referring to?

topaz seal
stark oasis
hardy wraith
#

.

#

.

#

Also Anyone can help me in fetching NFTs from user wallet that what nfts he hold, i need to make "My Discordels" page in my website where user can see inj balance and nfts he hold, i dont have much knowledge in cosmos nfts, i am usually working with sol, so thats why if someone can help me Dm here or tag me or Dm on Twitter on My official NFT profile: @Discordels_NFT

brittle skiff
topaz seal
brittle skiff
quasi stump
#

is there any way to get token price(in usd) using python sdk?

quasi stump
sweet elbow
sweet elbow
muted dagger
quasi stump
dark carbon
#

is injective hooked up on wormhole Gateway?

lime mountain
#

The hub bridges uses wormhole and many other bridges on the backend, if that's what you are asking

dark carbon
#

nop, just asking if its plug in the gateway function, talking with wormhole devs and they mention that injective have just " dont think injective is hooked into the Gateway, i think its just a standard token bridge", trying to figure out how token factory can be used on wormhole.

bc "If the cosmos chain is connected through wh gateway, it should be possible to send the factory token thru gateway and have it turned into a cw20 on the way out of the gateway token bridge" and right now token factory you can use it right now

uncut talon
steel pulsar
#

Hi guys, I have a question, is there an endpoint/lib where I can pull all the txs in a contract in the injective network? 🙏

sly vortex
#

Morning builders! Anybody in here from Injective Dev Team?

lime ruin
lime ruin
sly vortex
rare temple
#

Gm

thin karma
#

Why I keep getting timeout error while using bank module on ts

#

@topaz seal pls any idea

topaz seal
thin karma
#

I dont use private node

topaz seal
# thin karma I dont use private node

There is no service level guarantee for public nodes, we have mentioned it countless times already. They are open for everyone to use, and that means that in general they are under heavy load. If you need a more stable connection you should be running your own node

thin karma
#

How do I connect to private node

#

Its not stated

topaz seal
thin karma
topaz seal
raven merlin
#

Please dont tell me a 500$/month server like the venom guys 😂

lime ruin
raven merlin
#

@lime ruin u rock. Thanks. I was being lazy apologies 💛

timber yew
#

is there a way to query trading rewards by account or subaccount using RPC nodes?

tall bronze
#

How to set the new gas price?
Even if i put manually the gas amount it says
*insufficient fees; got: *

topaz seal