#🚀・dev-support

1 messages · Page 6 of 1

humble estuary
#

This burns inj but how do you burn lp tokens?

paper marsh
#

How to query the average gasfee of a block?

placid kite
#

guys any other more stable mainnet rest rpc?

getting a timeout of 15000ms exceeded pretty often using this rest auth api from the sdk utils https://lcd.injective.network

nova niche
#

Yeah the problem was that your GitHub repository is outdated.

The given networks you have there are either down or outdated. Checked it myself. Your GitHub is awful. Edited it myself and now it’s running smooth, fix your shit

sick pond
#

Thank you, but I hope to use my own node, but grpc_exchange_endpoint, grpc_explorer_endpoint, chain_stream_endpoint need to be configured in py sdk

peak forge
#

How do I access or spend inj through cmd?

earnest cliff
#

Node setup successful,
How to link your own nodes

potent lagoon
#

Who can i ask about token factory?

lime ruin
potent lagoon
#

Where should I start to create token factory ?

#

Should I use the file on injevtive ts?

potent lagoon
#

Thanks! Is vs studio can be used to code?

#

Im windows user

lime ruin
potent lagoon
#

Where can I download it?

lime ruin
potent lagoon
#

Other software pop up when i click the files on injective

#

Okay thanks

#

Creating token factory will cost 10 inj?

lime ruin
potent lagoon
#

Thank you!

#

Where should i download the injectived, on vs studio?

#

Sorry i find hard

lime ruin
#

Injectived is a command line tool, it's not used in VS Code

potent lagoon
#

This one?

#

I can choose the “ Go installed”?

lime ruin
#

Make sure you meet the requirements before installing Injectived.

potent lagoon
#

It says i need to install binary

#

Is this the right one?

earnest cliff
#

Are the management personnel present? I have many inquiries on channels, but no one has replied
I just want to know how to link to my own RPC node?

elder shoal
#

How send lp pair to other wallet like mizra?

silent pewter
#

Invalid string. Length must be a multiple of 4

#

help me thanks

#

This error was reported during the transaction, but the transaction was successful

#

await signingClient.sendTokens

#

@scarlet temple Invalid string. Length must be a multiple of 4 Has this question been resolved?

proper blade
#

Greetings, everyone. A day ago I noticed that explorer stopped displaying transaction blocks under heavy network load. Is there any alternative way to find out what block is currently being written in the chain?

scarlet moss
#

Can we check a SC on $INJ like on etherscan ?

#

Is this because I don't have INJ on my wallet ?

distant dagger
#

Why is it so expensive? Isn't there a more convenient method?

distant dagger
#

The documents are very old and there are many missing parts. This should be updated.

tough leaf
#

How to multisend address?

shy jasper
#

Gooday, I'm a new developer on INJ. Pls how does one read / view a smart contract code. I have the address and can view on explorer but can't read code (like In eth).
Or is it private?

lean rampart
#

when trying to convert bank to cw20 im getting this error, i tried to ctrl f the discord but not getting any hits#

No registered tokens provided: execute wasm contract failed [!injective!labs/wasmd@v0.40.0-inj/x/wasm/keeper/keeper.go:394] With gas wanted: '50000000' and gas used: '76507' : unknown request

appreciate any pointing to a doc or something of the sort

lean rampart
#

its like down payment for house

distant dagger
lean rampart
thick bluff
#

Deployment fee are still 10 INJ on mainnet ?

#

heard was brought to 1 ?

peak forge
#

Can I use cmd to send inj?

topaz seal
#

Gas price is always fixed and can only be changed by governance. What varies depending on the actions each transaction requires to be processed is the gas amount. The current gas price is 500000000 (this number is expressed in chain format)

topaz seal
topaz seal
topaz seal
topaz seal
topaz seal
topaz seal
#

Actually, you should already have INJ in the account, because if you are trying to submit a TX you need to have enough INJ to pay for the gas fee. What is the address?

topaz seal
scarlet moss
topaz seal
topaz seal
topaz seal
empty edge
#

how can i get "verified" in token verification?

tall plover
#

loooking for a dev

#

to launch

weak frigate
#

how can i change rpc endpoint for msgbroadcaster?

tall plover
#

will pay forsure

empty edge
empty edge
tall plover
empty edge
topaz seal
topaz seal
weak frigate
tall plover
#

waitinf for u

topaz seal
#

Check in the TS SDK code there are different default Networks already provided. In general people use one of those, but you could create your own instance with your own endpoints

merry crane
#

how do i add a new token to dexes like helix? let's say i created and minted "factory/injaddrhere/denom", what's the next steps?

topaz seal
#

Each DEX is a separate dApp. Each dApp decides what things they enable. You need to get in touch with the dApp team

merry crane
#

thank you 🙂

sand atlas
#

Dev team where is the testnet ? it is very hard to build without it do you have an ETA on when it is available ?

merry crane
#

sure i'll FR you

merry crane
#

is it injectived q exchange params

copper sequoia
#

type: 'http-request',
code: 502,
originalMessage: 'Bad Gateway',
name: 'HttpRequestException',
errorClass: 'HttpRequestException', guys help

copper sequoia
topaz seal
topaz seal
copper sequoia
topaz seal
# copper sequoia how

You can check the TS SDK repo (it is open source). In the code there are several instances of Network provided by default (to connect to the public nodes). You can use that as an example to create your own Network instance

tall plover
#

How can i check a contracts source code?

#

For example NINJA memecoin on Injective. How can i read its source code

#

to see if its safe

topaz seal
tall plover
#

Are contracts not open source on Injective like on ETH?

#

you know, security 101 stuff

#

dont trust, verify. and all that

topaz seal
#

No, they are not by default. Making a contract open source is up to the developer team

#

Well, sure, you should not trust and verify, by getting in touch with the team that created the contract

tall plover
#

and then just trusting them that what they show us is the correct code?

#

how is this better than web2 btw. serious question. i thought blockchain was about reading contracts and knowing the safety of functions your about to call

copper sequoia
#

I NEED RPC

tall plover
#

for example. id like to know if a token i buy has the ability to infinite mint as much supply as they want

topaz seal
tall plover
#

if any chain cant show that. its not gonna make it. i promise. cos then its no better than web2.. Just something to pass on to the devs. imo

topaz seal
#

Don't worry, there are always ways to verify, like source code hashes for example.

merry crane
#

i found spot_market_instant_listing_fee: amount: "100000000000000000000" denom: inj inj has 18 decimal places so instant listing fee is 100inj, is that right?

#

this is from injectived q exchange params --chain-id injective1

primal terrace
copper sequoia
topaz seal
kind flare
empty edge
topaz seal
topaz seal
kind flare
empty edge
kind flare
#

It can be transferred even now, just click on "Show More"

#

on the Wallet page

strange iris
finite shell
#

how to create my own NFT in Inj?

timber condor
#

Is there a easy way to create a token on INJ?

untold wren
#

need a simple dapp example of connecting to keprl and signing a tx, all the demo ones on injective docs are out of date

timber condor
toxic glacier
#

Is there any sample code to excute a swap transaction using ts sdk ?

fresh crypt
#

If we create our project coin on inj network, what to do?

vivid python
#

how do we add liquidity for a token created on testnet?

shy jasper
#

Pls for InEVM, chainId 1738 is this the mainnet or testnet???

topaz seal
#

InEVM is only on testnet for now

untold wren
#

how do you change the endpoint
network: Network.Testnet,
network: Network.Mainnet,

untold wren
#

what can we pass here to use our own endpoint
const txHash = await new MsgBroadcasterWithPk({
privateKey,
network: Network.Testnet,

tall plover
empty edge
kind flare
kind flare
empty edge
ocean stream
#

is the Mito building on inEVM or cosmwasm?

gray spindle
#

Builders who's building I wanna join a team

ionic oxide
#

Mito is being build on top on injective, not inevm (caldera)

topaz seal
tall plover
#

!faucets

wild frigateBOT
nova niche
#

i am doing this here

const txService = new TxGrpcClient(grpc_endpoint)

and then this

txService.broadcast(txRaw)

how do i change the code so that it works via normal RPC as well?

It only works via GRPC currently.

topaz seal
#

All Injective created SDKs use gRPC, just because Injective nodes use gRPC. If you don't want to use gRPC you will have to implement all the logic again on your own

ocean stream
#

With the volan upgrade we can check verified contracts on the explorer? @topaz seal

nova niche
topaz seal
kind flare
nova niche
ocean stream
topaz seal
dreamy knot
#

@topaz seal what's is the problem stopping peer for error when running a node? sorry for troublesome

#

have using the latest snapshot

topaz seal
dreamy knot
kind flare
flat ginkgo
#

According to the codes in the example file "MsgSend.py" in github, I intend to execute a transaction. I've tested this code, and the transaction being executed results in an error! The error displayed in the transaction log is: "out of gas in location: WritePerByte; gasWanted: 101302, gasUsed: 101669: out of gas.". Is there a solution to this problem? Or it can automatically determine the gas

topaz seal
toxic glacier
#

do you know why i have this error

contract: decoding bech32 failed: invalid character not part of charset: 47

when executing this code ?

const message = MsgExecuteContract.fromJSON({
    sender: injectiveAddress,
    contractAddress: contractAddress,
    msg: {
      create_pair: {
        pair_type: { xyk: {} },
        asset_infos: [
          {
            native_token: {
              denom: contractAddress,
            },
          },
          { native_token: { denom: "inj" } },
        ],
        init_params: "10000000000000",
      },
    },
  });

  console.log(message);
  const txHash = await new MsgBroadcasterWithPk({
    privateKey,
    network: Network.Testnet,
  }).broadcast({
    msgs: [message],
  });

  console.log(txHash);
```
flat ginkgo
topaz seal
sturdy vessel
#

i assume this applies to normal transaction? or is it a general rule ?

sturdy vessel
#

so i want to interact with a SC via the wasm modul.
raw_log: 'insufficient fees; got: required: 8000000000000000inj: insufficient fee'

topaz seal
dim pine
# kind flare There is no thing as “verified” contact on chain, its mostly an UI thing

Did the "internally verified" state of a token recently be removed on testnet? A few days ago I created a token and updated its metadata with attributes such as a token 'image url' and the token state was listed as 'internally verified'. Additionally, the token image used to show on testnet. Now it appears that since the testnet outage of yesterday ... that "internally verified" state and where a token "image.png" used to appear seems to be removed on testnet and my test token is no longer listed as "internally verified". No problem is so....just asking.

sturdy vessel
#

auto didnt work

topaz seal
sturdy vessel
dim pine
zealous birch
#

Can build a token for you but do not hit me up unless you have 100 inj in your wallet

dim pine
#

@Astroguy1 if you have experience and knowledge...please share with the community as opposed to just solicit for business on this channel. Remember, we are all trying to build here.

zealous birch
lime ruin
pastel jasper
#

Slight bump for @kind flare

topaz seal
fading ivy
#

do you guys like this more or less than a ETH evm

topaz seal
sturdy vessel
# topaz seal Why don't you just simulate the TX to get better idea of the amount of gas you w...

that is going to come later. first i wanted to have the main tx. i am messing around with the cli. That is with what i cam up so far.

injectived tx wasm execute contractaddres '{"swap":{"offer_asset":{"amount":*XYAMOUNT*,"info":{"native_token":{"denom":"inj"}}},"belief_price":*CALC_B_PRICE*,"max_spread":*SLIPPAGE*}}' --amount *XYAMOUNT*--chain-id=injective-1 --from *SendingACC *--node https://sentry.tm.injective.network:443 --gas 500000000

#

thought i can just push it

topaz seal
sturdy vessel
topaz seal
#

What is the amount of gas you consider "ridiculous"? Do you have the number handy?

sturdy vessel
#

like 0.001 inj

frosty kiln
wintry idol
#

wishing I'm a builder

lime ruin
crisp drum
#

how do i make the name of my coin its name on astro instead of factoryadadada

#

I will only bother with 1 question today @topaz seal

#

oh i have to do a pr somewhere dont i

drifting silo
#

where can I find a lsit of dexes on injective??

bitter tiger
#

How can I add Injective testnet to Leap wallet?

foggy star
#

How do I speak to a business development manager?

dim pine
fallen pelican
#

or is leap better

untold wren
#

Why does token factory take 10 INJ ?

dim pine
zealous birch
prisma pebble
#

with the injective-py library, is it possible to query the token balance (untracked token) of an address? i managed to do this somehow in javascript (not using the injective sdk) but i cant for the life of me find the injective-py example on how to perform this trivial action

bitter tiger
#

@dim pine thank you! Can I have astroport work off injective testnet as well?

#

Looking for a liquidity provider on testnet to do some testing

bitter tiger
bitter tiger
#

I am here https://app.astroport.fi/pools and I dont see an option to change the network to injective testnet. It only shows the mainnets

dim pine
# fallen pelican yes

@bitter tiger Not sure. @fallen pelican Please share as I would be interested in the answer as well.

shy jasper
# topaz seal InEVM is only on testnet for now

Thanks for the reply.
Pls I'll like to know outright if this implies that *.sol cannot be deployed on Injective?????

Actually this what I'm working on:
Deploying an AI meme token which intends to be traded via Astroport Launchpad.
Pls is this impossible with solidity??

If impossible😭, then pls what's the easiest alt???

Big thanks in anticipation 🫡👑

bitter tiger
#

@dim pine

dim pine
bitter tiger
#

it works

tardy cove
#

How do you deploy a token onto injective ?

dim pine
# bitter tiger it works

I was able to connect my wallet but not add to the pool. Getting an error saying this pool cannot be created.

bitter tiger
#

yeah, i am unable to create a new pool either

dim pine
#

This is unfortunate as it would be great to test a coin launch end to end.

crisp drum
drifting silo
#

does subsquit run on Injective???

remote fog
#

why cant I create a token?

#

after following th documentation

#

I got error like inj above some inj insufficiet

#

despite having 0.4 inj

#

does anyone has the typescript code for token creation?

#

please my project needs it

sturdy vessel
#

you need 10 inj to deploy a token on mainnet

fallen pelican
#

sheeesh

sturdy vessel
dim pine
dim pine
lime ruin
frosty kiln
remote fog
frosty kiln
dim pine
untold wren
#

How can we update token meta data?

dim pine
fallen pelican
#

Builder or Ninja? or both?

untold wren
# dim pine See the MsgSetDenomMetadata method in the documentation I just posted.

if i only want to change the uri
do i need to put in all the other info?

 base: denom, /** the base denom */
    description: '', /** description of your token */
    display: subdenom, /** the display alias of your token on UIs (it's the denom of the unit with highest decimals) */,
    name: '', /** the name of your token */,
    symbol: '' /** the symbol of your token */,
    uri: '' /** the logo of your token, should be hosted on IPFS and should be a small webp image */
    denomUnits: denomUnitsIfTokenHas6Decimals  /** choose if you want to have 6 or 0 decimals for the token */
dim pine
potent sinew
#

if im pairing a memecoin with injective, i go constant pool right ?

toxic glacier
#

Do you know how to burn a liquidity ?

lime ruin
crisp drum
#

can someone help me send lp tokens

#

why doesnt it want me to do it

fallen pelican
#

please

untold wren
#

where in the docs is the warning about 10 INJ?

#

it was just taken from my wallet, but i didnt get a warning

untold wren
#

oh thank you

#

so if we just make a cw20 token on inj, then its jut fees

crisp drum
#

would really like to burn my lp tokens for my token i just launched

untold wren
#

what is the benefit of using factory token vs creating cw20 tokens?

crisp drum
crisp drum
#

I FIGURED IT OUT

#

I BURNED MY LP LETS GOOOOOOO

placid kite
#

@topaz seal any idea why i get error of
Query failed with (18): decoding bech32 failed: string not all lowercase or all uppercase: invalid request
when trying to query this token balance?

heres my code

        const observeQuery = await client.queryContractSmart(
            "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
            {
                balance : {
                    address: "inj1ew2z229yt5pg0cdf5numlvmp3eq7tjje5fh23g"
                }
            }
        );
placid kite
topaz seal
placid kite
# topaz seal Can you show the import for `CosmWasmClient`?

ok suree thankss

import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate";
import { getNetworkInfo, Network } from '@injectivelabs/networks'

const start = async () => {
    try {
        const network = getNetworkInfo(Network.Mainnet)
        const client = await CosmWasmClient.connect(network.rpc as string);

        // ** QUERY ** // 

        const observeQuery = await client.queryContractSmart(
            "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
            {
                balance : {
                    address: "inj1ew2z229yt5pg0cdf5numlvmp3eq7tjje5fh23g"
                }
            }
        );

        console.log(observeQuery.assets[0].info, observeQuery.assets[1].info);

    } catch (err) {
        console.error(err);
    }
};

start();
topaz seal
placid kite
sweet apex
#

We created SnowyOS the Mobile Operating System which is integrated into the Injective Network.

In short, its a more secure Solana Phone without the need to buy a expensive phone because you can deploy it on a 150$ phone!

We are new to the Ecosystem and we are looking for some connections. Thank you

merry crane
#

i tried searching, couldn't find any answers for getting past this error when setting metadata Error: metadata's first denomination unit must be the one with base denom

const msgSetDenomMetadata = MsgSetDenomMetadata.fromJSON({
        sender: address,
        metadata: {
            base: `factory/${address}/${subdenom}`, /** the base denom */
            description: 'test injtoken', /** description of your token */
            display: 'injtoken', /** the displayed name of your token on UIs */
            name: 'test injtoken', /** the name of your token */
            symbol: 'INJT', /** the symbol of your token */
            uri: '', /** the logo of your token, should be hosted on IPFS and should be a small webp image */
            denomUnits: [
            {
                denom: `factory/${address}/u${subdenom}`, /** notice the u */
                exponent: 0,
                aliases: [`micro${subdenom}`]
            },
            {
                denom: denom,
                exponent: 6, /** if you want your token to have 6 decimals */
                aliases: [subdenom]
            },
            ]
        }
    });```
#

is there a standard way to change the admin to a dead address, like 0x0 in eth?

crisp drum
#

When I am adding my token metadata when doing a PR, what do I put for the tokenType?

#

alright I submitted my PR

crisp drum
#

@soft dome how long does it generally take for a PR to be approved to update token metadata

tall plover
crisp drum
#

try here

#

if it doesnt work lmk ill send you some

pastel jasper
#

Another bump on this.

humble estuary
#

Where can I find error code info for commands like "injectived tx wasm store"?

humble estuary
#

What does account sequence mismatch error mean when using "injectived tx wasm store"? Error code 32

shy jasper
#

Also pls anyone has a template code for token.
I'll appreciate 🙏

untold wren
sage cove
#

Hey!
How to fetch all token holders for factory and CW-721 contracts?

sweet apex
#

We developed a "Injective Phone". Its a own mobile operating system which you can install on several phones via our online installation service.

own encrypted OS
own App store for the Injective Ecosystem
own encrypted E-sim cards
In just 12 hours, we've already gained the support of over 15,000 enthusiastic participants!

Would be amazing to receive your feedback on it. https://injsnowy.com/

Ints not just a meme its a encrypted injective meme phone 🙂

wild perch
#

guys, how do you proceed for doing some dev right now, are you all on the mainnet ?

tawny grove
#

wanting to convert LP from CW20 -> Bank, any eta on being able too, thanks

tawny grove
placid kite
#

Guys for address like factory/inj,,,,,,/TOKENNAME does this means that its a token from the token launcher? if thats the case how about token with inj........??

empty edge
placid kite
#

can anybody send me some testnet funds? at inj1savh2mk298tjyqtmeu7cmce22xfxh4lypxxdnj

umbral linden
#

@kind flare could you help me with some problems in uploading wasm to mainnet?

mental river
late steppe
#

I am not recieving any testnet tokens despite it saying success. I am also receiving this error often - Transaction Failed: pubKey does not match signer address - i tried changing my rpc endpoints to this https://sentry.tm.injective.network/ - any ideas?

dusky grove
#

my Keplr wallet is not connecting to the INJ testnet. I am getting the following: "Failed to query response from endpoint"
The other message I am getting when trying to use the Testnet to log into an app is "Failed to get response from https://k8s.testnet.lcd.injective.network/cosmos/tx/v1beta1/txs"" Yesterday everything was working fine.

sage cove
lime ruin
dim pine
#
const ethereumAddress = '0x0000000000000000000000000000000000000000'
console.log('Injective address from Ethereum address => ', getInjectiveAddress(ethereumAddress))```  By using this code from the sdk we can translate a well established ETH burn address to the INJ equivalent. I would like to propose all future burners to use the translated INJ address for future token burns.
inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49. Please let me know if I  am off base here. Thanks!
topaz seal
jovial token
topaz seal
shy jasper
#

Okay thanks.

dim pine
jovial token
wild frigateBOT
topaz seal
topaz seal
dim pine
# topaz seal Please, don't do that. Injective is a different chain than Ethereum or any Ether...

Thanks for the response...agreed! I wont advertise this as a solution anymore. As a follow up question, I would like to clarify that if no one has the private key on the ETH burn address...why would we worry about the translated INJ address? It is my understanding (and I could be wrong) that a private key (set of words) could be used to create both a eth address and inj address. Therefore, if no one has the private key to the ETH burn address...I assume that the equivalent translated INJ burn address is safe. But I am new here and would defer to you all as the experts.

kind flare
topaz seal
#

RE: Burning Tokens
Injective chain does not provide a way to burn tokens properly. The functionality is going to be added with the next chain upgrade. If you want to burn tokens please wait until the chain upgrade. We will share the official method to burn tokens when the functionality is available

#

The chain upgrade in mainnet is planned for January 2024. We will announce the specific date as soon as we are ready to create the governance proposal for the upgrade.

mental river
#

Is testnet down? What RPC can I use?

topaz seal
prisma pebble
#

using injective-py, is it possible to query the read variables of any contract on injective? i mean for example, how on evm you can check, token_contract. balanceOf(your_address)

topaz seal
plush crow
#

Any smart contract devs in here who can help me build a contract?

mental river
#

@topaz seal what is the difference between the injective-core and injective-core-staging

lime ruin
topaz seal
mental river
full quest
#

@topaz seal when I am deploying smart contract on mainnet, but I faced this issue
Error: unknown command "submit-proposal" for "wasm"
I was on injectived CLI and struggling to run this command: injectived tx wasm submit-proposal wasm-store artifacts/cw20_base.wasm
Could you help me pls?

merry crane
topaz seal
topaz seal
full quest
#

I am getting this version

Version dev (b8cff804f)
Compiled at 20230113-0025 using Go go1.19.3 (amd64)

I am on old version?

mental river
topaz seal
full quest
#

I used docker. but how to do that. Pls let me know 🙂

#

🙏 @topaz seal

jovial token
topaz seal
full quest
#

no way with docker image?

topaz seal
fiery flint
#

I am founder of $hachi

#

We still received same error while trying to resolve the LP

fiery flint
jovial token
topaz seal
fiery flint
kind flare
# fiery flint

Adapter contract needs to be funded with INJ to complete this conversion from CW20 to Token Factory. We'll do that in a bit

fiery flint
#

Thank you so much guys

frosty kiln
kindred sluice
#

is the injective adapter down?

azure crest
topaz seal
topaz seal
young gorge
full quest
#

@topaz seal so now I am submitting proposal , but I get this error: Error: code verification info: source is required what does this mean?

topaz seal
full quest
#

it's your template code

#

I just cloned it

topaz seal
young gorge
full quest
humble estuary
#

No block processed for 20 mins on testnet, anyone know whats going on?

rapid frigate
#

Thanks guys!

pallid hill
young locust
#

In injective-ts, there is no way to use RPC to send queries? I saw only Rest and GRPC classes 🤔

topaz seal
untold wren
#

What do I need to do to whitelist a cw20 from terra so it can be ibc into injective?

topaz seal
young locust
grim shoal
#

I have a few questions about the token factory as I can't find it's code on Injective repo...

Can a factory demon create more than one tokens?

If so, does changing admin represent transfer of ownership of the token or the factory.

lime ruin
young locust
#

is injective node source code public? can't find it

lime ruin
young locust
lime ruin
grim shoal
lime ruin
grim shoal
#

Ok, clearer now.

Thank you.

#

Can I set a max supply on the token

near rose
#

Is it a fonction that checks liquidity of a contract ?
Thanks

#

@topaz seal @kind flare

wild perch
#

inj176tn6dtrvak9vrqkj2ejysuy5kctc6nphw7sfz guys if you could send some INJ testnet tokens, if you have a bit more

wild perch
near rose
#

It is very hard to have an answer when we ask questions about contract liquidity ... why ? 😅

#

I thought we could get help when we have questions?

topaz seal
near rose
#

Sorry english is not my language

wild perch
#

!faucet

lime ruin
wild frigateBOT
topaz seal
wild perch
topaz seal
# near rose Yes

You will have to check the query functions provided by each particular contract and then query it

near rose
topaz seal
untold wren
#

is there a way to see token holders?

young locust
#

@topaz seal @kind flare

Guys, I'm really struggling trying to understand why fetchDenomMetadata does not work. Tried to ask you guys with no answer and tried to find it in injective repository and can't find anything about it.

Why is fetchDenomMetadata broken? Can't fetch metadatas from some tokens, even inj and it is happening only on Injective.

If I fetch my balance, it returns the asset inj with denom inj. So why the fetchDenomMetadatasays that could not find an asset with denom inj? Seems that this method is broken in your client

grim shoal
# lime ruin Sent

Please send me some aswell

inj18r765lvc3pf975cx0k3derdxl302trjjnpwjgf

grim shoal
past dagger
#

How much INJ do I need to deploy smart contract on mainnet? I have 1 INJ, but I couldn't deploy simple cw20 contract on mainnet

#

I got this error message
Error: proposals require a minDepositAmount of at least: 50000000000000000000: insufficient funds

#

injectived tx gov submit-proposal wasm-store /var/artifacts/my_first_contract.wasm
--title "Title of proposal - Upload contract"
--description "Description"
--instantiate-everybody true
--deposit=1000000000000000000inj
--run-as inj1myp2jnfel5s0...tjmdfz9efjqsduwe
--gas=10000000
--chain-id=injective-1
--broadcast-mode=sync
--yes
--from testuser
--gas-prices=500000000inj

#

this is my command

#

is it true i need 50 injective to run a deploy ?

pearl wedge
#

does anybody know?

drifting silo
#

can I build a dex aggregator in solidity

#

?

topaz seal
drifting silo
humble estuary
#

Do any of you use a local node to develop/test your smart contracts?

topaz seal
zinc thunder
wild perch
#

wttfffff

zinc thunder
#

this is crazy risky for all pools

drifting silo
tall plover
drifting silo
#

someone told me if I do it in EVM it will have high gas fee and be slow

#

is that true?

#

I was told it has to be native

topaz seal
wild perch
drifting silo
merry crane
topaz seal
drifting silo
zinc thunder
topaz seal
topaz seal
merry crane
topaz seal
young locust
grim shoal
#

I have a little question.

The contract address for a token deployed from the factory is the same as the Denom .

Am I correct?

e.g
factory/abcdefjh/Ninja is a contract address

#

Error: timeout of 1500ms exceeded.

Inj Testnet.

Can I alter the timeout?

What could be the cause

oblique dew
#

Do you have an example on how to derive private key from seed phrase without using injective sdk? Compared to the others cosmos chain, isn’t enough to change the coin type to 60?
Any language is fine

merry crane
#

i'm getting an error trying to create an astroport custom pool:

Generic error: The factory/inj1.../VIC precision was not found: instantiate wasm contract failed
#
injectived tx wasm execute inj1c4e2787cwawlqslph0yzn62wq4xpzzq9y9kjwj '{
    "create_pair": {
        "pair_type": { "custom": "concentrated" },
        "asset_infos":[{"native_token":{"denom": "factory/inj1.../VIC"}},{"native_token":{"denom": "inj"}}],
        "init_params": "eyJhbXAiOiIxMCIsImdhbW1hIjoiMC4wMDAxNDUiLCJtaWRfZmVlIjoiMC4wMDI2Iiwib3V0X2ZlZSI6IjAuMDA0NSIsImZlZV9nYW1tYSI6IjAuMDAwMjMiLCJyZXBlZ19wcm9maXRfdGhyZXNob2xkIjoiMC4wMDAwMDIiLCJtaW5fcHJpY2Vfc2NhbGVfZGVsdGEiOiIwLjAwMDE0NiIsIm1hX2hhbGZfdGltZSI6NjAwLCJwcmljZV9zY2FsZSI6IjUwMDAwMCJ9"
      }
}' --from starsdev --node https://testnet.sentry.tm.injective.network:443 --gas 50000000 --fees 8000000000000000inj
merry crane
#

xyk pool seems to work fine

thick bluff
#

what is the CW20 ADAPTER COntract address ?

dim pine
kindred sluice
#

guys, does the injective protocol allow to create that kind of reflection tokens as on BSC? you know from every transaction 2% goes as dividents to all the holders

drifting silo
#

can anyone please explain me if building a dex aggregator on EVM will have any disadvantages?

#

Someone on here had told me if I build a token on EVM it will have more gas fees and run slower

#

can someone explain me this?

topaz seal
lofty creek
#

is there a good SDK to build a dApp on injective using rust?

topaz seal
#

Not sure if there is any community produces Rust SDK. InjectiveLabs has only created SDKs for TS, Go and Python

jaunty oyster
#

wondering when will the inevm be out, and how easy and cheap would the moving of tokens between inj mainnet and inevm be like?

untold wren
#

is there instrunctions on how to upload a .wasm, get a code id, to instantiate o the code id ?

untold wren
# untold wren is there instrunctions on how to upload a .wasm, get a code id, to instantiate o...

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.

#

if we create tokens this way(compile cw20 wasm, upload, instantiate) can we avoid the 10 INJ fee?

pastel jasper
kind flare
gusty gyro
#

I keep getting timeout errors, I assume INJ is under heavy load.
(if there is a status page, please share it too, thank you!)

I am trying to set the timeout time + block timeout. To sign my tx's I use:

new MsgBroadcasterWithPk({
  xxx
  xxx
}).simulate({xxx})

&

new MsgBroadcasterWithPk({
  xxx
  xxx
}).broadcast({xxx})

Is there a possibility to change the timeout of those tx's? Or is there a global flag I can adjust to change the default timeout?

#

Or do I have to use createTransaction({ pubKey, chainId, fee: DEFAULT_STD_FEE, message: msgs, sequence: baseAccount.sequence, timeoutHeight: timeoutHeight.toNumber(), accountNumber: baseAccount.accountNumber, })
I see in the docs that I can specify an timeout there, can't I achieve the same with MsgBroadcasterWithPk?

vivid thunder
#

Can someone please help me fix this error

zealous cairn
#

I'm having trouble understanding the guidebook, then I'm confused about the flow, do I have to install docker first or create a sc?

#

Thank you for answering me sir

vivid thunder
#

bro how did you fix this, I am getting the same error

gusty gyro
#

how can I get the current gas programmatically?

dire nexus
#

I need development help can anyone help me

#

I want to make a dex swap that usage injective network and also allow to bridge

#

Please 🙏 help me

#

I found a template called helix but couldn't setup it and Dont know how to add liquidity in it

fervent whale
#

I am following the tutorial from here https://docs.injective.network/develop/guides/token_launch/
I managed to create an account, i get test INJ from the faucet and the command with create tokenfactory denom works, however when I want to submit token metadata, the transaction fails with the message "failed to execute message; message index: 0: unauthorized account" . I tried with the exact same parameters as there and also with changed name description etc. Do you know what i might be missing out ?

#

Also, in the tutorial it says that 10 INJ are required to launch a token. When i created the token on testnet, i did not have to pay 10 INJ from my account. is that payment required only on mainnet ?

vital crown
#

elder brother , how do I deploy a new contract online in Injective? Are there any tutorial steps for me to follow?

nova niche
#

Any dev here who can help me asap with the MsgExecuteContractCompat function ( TS )

#

Cant find docs as usual

#

Ur docs arent wrong, theyre fully missing

gilded gull
#

any example for NFT contract?

shut falcon
#

how to revoke tokens approval on injective , anyone can help

#

@kind flare

#

@topaz seal

azure crest
#

Is there an example of creating a coding to connect to a custom rpc?

tough yoke
#

Are we having any rpc testnet problems because all of my txs return an Failed to get response from https://k8s.testnet.lcd.injective.network/cosmos/tx/v1beta1/txs anyb facing that issue?

fervent whale
#

Is there a way to deploy an INJ token with custom properties such as transfer tax or other popular features tokens have on other blockchains ?

lofty creek
#

if you build a dApp on Injective, it should work across all the other chains built with cosmos, or just those with IBC? Would it work on other rust-based chains like solana, etc?

tough yoke
#

can i change the rpc and rest points while adding inj testnet to keplr? if so, how to do that?

shut falcon
#

how to revoke tokens approval on injective , anyone can help , is there any @brave quail

rigid hatch
#

I've a dumb js question. Running the follow gives me error

import { PrivateKey } from "@injectivelabs/sdk-ts";
PrivateKey.generate();
const mnemonic = bip39_1.default.generateMnemonic(); // from PrivateKey
// TypeError: Cannot read properties of undefined (reading 'generateMnemonic'). bip39_1.default is undefined 
lime ruin
rigid hatch
#

The bip39_1.default.generateMnemonic() is part of the cjs built output. Hence why i think it might be some js related issue. I'm on a typescript project, running tsc before executing the .js file

jagged bramble
#

Is there still deployment issues

rigid hatch
#

Anyone has repos for working example for injective nodejs with typescript ?

#

@injectivelabs/sdk-ts examples url in the repo is broken fyi

lime ruin
vivid thunder
#

Finally created a coin on Injective 😁

rigid hatch
#

@lime ruin Is like this one right?
https://docs.ts.injective.network/

But is there an examples repos of the package being used? Different target environment (nodejs, deno, web or react) requires different project configs (tsconfig / esbuild or babel etc)

Can't get @injectivelabs/sdk-ts running in nodejs or deno etc. Will keep at it, but let me know if this is something other have done or have an example already

lime ruin
sage cove
#

how to fix this when I check my token in explorer?

Minter address has the ability to increase supply

so that I can't mint supply anymore

cerulean pine
#

Keep building farm

#

Congratulations 👏🎉

pastel jasper
pastel jasper
wild perch
tall plover
#

I got the error: missing field gov_chain when instantiate te cw 20 contract, how could I fix that?

merry crane
#

is there an easy way to get holders of a tokenfactory token?

#

is it visible in the explorer?

restive lodge
#

If you guys have early nft projects on INJ, you can send me a DM
I can serve as your
moderator
Content creator
And Collab manager

rigid hatch
#

Okay I managed to run the @injectivelabs/sdk-ts in a React project. However unable to run it in a Nodejs project. (Possibly related to how package is bundled and Nodejs tsconfig or bundler etc). Anyone got any clues on this type of example?

untold wren
#

we are not allowed to upload wasm to mainnet? testnet worked but mainnet it says

Error Log
failed to execute message; message index: 0: can not create code: unauthorized
#

we dont have permission to upload cw20 wasm on mainnet, so any already uploaded ?

wild perch
#

When a transaction requires the private key of a wallet, such as creating a TokenFactory, how should we proceed as dev ?

untold wren
wild perch
#

how should i proceed ?

inland isle
#

Can we turn off the mintable feature when we launch a native token on inejctive?

thick bluff
#

how do i convert tokenfactory to CW20 ? using testnet btw.

Read the docs but it nees the adapter Contract who needs 10inj to perfom the transac but can't find anything about this adpater contract

hardy osprey
#

I want to deploy the contract to mainnet. How should I do?

rigid hatch
#

How can i request faucet on test net?

hardy osprey
#

please help me.

ornate viper
hardy osprey
#

yea.

flint knot
#

What’s happening here ?

untold wren
rigid hatch
#

Which network should i use for Main and Test. K8s keep giving 503

pastel jasper
#

There are a few things not anywhere in the documentation.

How can you get the supply of a token?

How to get whoe the current admin of a token is?

And how to get the creation date of a token?

#

@kind flare @topaz seal

lime ocean
#

failed to query response from endpoint. On enjective testnet can someone help?

#

failed to fetch balance on testnet

kind flare
pastel jasper
#

I found HOW a token owner can CHANGE who the admin is, but not to query the current admin.

#

And for supply there's info on how to query a holders balance for a token Denom, and how to mint new supply.

But I failed to find anything on how to query for the current supply also.

#

I even looked through the SDKs GitHub to see if I could find what module to use, but I'm missing it lol

pastel jasper
wild perch
#

but if Abel told its in the docs, it might be somewhere I guess

pastel jasper
wild perch
#

and for testing purpose too, i'm doing a back-end test api

pastel jasper
#

I MAY have found something, so going to do some testing. If I find anything i'll post it here.

wild perch
hardy osprey
#

I want to deploy the contract to mainnet. Please help me.

fossil quartz
#

Let me know too

wanton zenith
#

guys i just wanna renounce ca can aynone helps me ?

#

docs are not helping me 😦

pastel jasper
wanton zenith
cerulean pine
#

Keep building

wanton zenith
#

so basicaly where to write it ?

#

can nyone help

#

@pastel jasper

tulip shore
#

docs.ts.injective.network is not up to date? When I build, I have deprecated errors

austere bobcat
tulip shore
#

Extract:

../../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 '() => { initial_deposit: { denom: string; amount: string; }[]; proposer: string; content: { type_url: string; value: any; }; '@type': string; }' is not assignable to type '() => (MsgSubmitProposal & { '@type': string; }) | Object'.
Type '{ initial_deposit: { denom: string; amount: string; }[]; proposer: string; content: { type_url: string; value: any; }; '@type': string; }' is not assignable to type '(MsgSubmitProposal & { '@type': string; }) | Object'.
Type '{ initial_deposit: { denom: string; amount: string; }[]; proposer: string; content: { type_url: string; value: any; }; '@type': string; }' is not assignable to type 'MsgSubmitProposal & { '@type': string; }'.
Property 'initialDeposit' is missing in type '{ initial_deposit: { denom: string; amount: string; }[]; proposer: 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.d.ts145
14 initialDeposit: Coin[];
~~~~~~~~~~~~~~
'initialDeposit' is declared here.

Found 8 errors in 4 files.

Errors Files
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

kind flare
tall bronze
#

is testnet still offline?

lime ruin
flint knot
#

I need explanation

tall bronze
#

@lime ruin

#

Same problem with TestnetSentry

lime ruin
# tall bronze

Keplr is using old LCD endpoint, you'll need to change it to the latest one:

https://testnet.sentry.lcd.injective.network

You can do it from Settings -> Advanced -> Change Endpoints -> Select Injective Testnet -> Enter the URL in LCD - Save.

#

Works without issues on my end.

inland isle
tulip shore
#

I am trying to make a swap using TS (nodejs). Documentation is not up to date so when I try to use the same functions, it's not recognized. Are there any tutorials?

kind flare
#

Also, why are you not using TypeScript to get suggestions on imports from our SDK?

tulip shore
#

I have never developed on cosmos ecosystem so I am a little bit lost and when I copy paste code from the doc, imports are not good for exemple

kind flare
#

You should try to fix them on your own, its just imports…

inland isle
toxic glacier
#

Is there a way to fetch a token supply using ts-sdk ?

lunar lava
#

I have requested from testnet faucet almost for 10 minutes, but not received any funds, is it normal?? how can i get some funds to work on testnet then?

untold wren
keen solstice
#

Y'all sell testnet token rn

untold wren
kind flare
kind flare
#

You can check the docs on how to do that

pastel jasper
pastel jasper
kind flare
keen solstice
#

How do i learn how to build on injective

hardy wraith
#

@topaz seal 2 days ago i was here aksing for help, u dont give but said to read docs.
So am here to thank for it.
U made me to read more deeply, now i am successfully developing tokens on INj.
Very thanks for not giving me easy path

tall plover
#

I just wish you guys can make this more simple. Are your devs unable to make an explanatory guide? A video guide or something.

It is exhausting when one need to ask for a question and you have to refer them to the doc which comprises of no command line to build on your network...

Do well to attend to this. @kind flare

tall plover
kind flare
spare maple
#

I want to deploy the contract to mainnet. Please help me.

kind flare
inland isle
kind flare
#

Hey guys, testnet faucet has been back and the pending queue has been processed!

desert garden
#

Never worth rushing things.. thats how big mistakes happen.

inland isle
#

I'm not here to listen to advice

#

Don't reply if you don't want to help

kind flare
#

We are not a school here to teach people how to write code.

inland isle
#

admin said that lmao

kind flare
inland isle
pastel jasper
pastel jasper
#

Also @kind flare I was able to get all the information I needed (aside from top wallets, but not priority). Do you guys offer any marketing support to projects?

pastel jasper
# kind flare contact@injectivelabs.org

Thank you for your help! Will email, and thanks for guiding to get the info I needed, we are adding support to Injective into our security tool now, so users are aware of any potential risks! Thank you and happy holidays!

inland isle
kind flare
pastel jasper
merry crane
#

I'm getting this error with setting up passive concentrated liquidity pool: Error: One or both of the tokens do not have any decimals in the token registry contract. is there something wrong with my denomUnits?

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],
                },
            ],
lofty creek
#

is there a decentralized file storage protocol that is very easy to integrate with INJ?

topaz seal
topaz seal
near rose
#

@topaz seal , is there a module we can query to find New created pair ?

topaz seal
#

Do you mean new markets?

#

There are three messages to get all markets: one for spot markets, one for derivative markets and one for binary options markets

#

If with new pairs you mean new liquidity pools, you would need to contact the dApp providing the liquidity pools (that is not something native in the chain)

near rose
#

I mean all New smartcontracts created.

topaz seal
near rose
untold wren
#

how much has injective made from 10 INJ fees from that factory token? will that go to stakers?

wild perch
#

@topaz seal firstly first, i hope everyone isafe, with their family, but programming is more important. can we handle fees tx with the TS SDK or I need to put my glasses on and go read the smart contract doc ?

white steppe
#

hey @topaz seal can you accept friend request

wild perch
#

any docs on how to deploy your nft on injective ?

#

the same law of the ERC-721 applies ? I mean, I need to deploy a SC and use it to mint nfts ?

kind flare
hardy wraith
kind flare
kind flare
wild perch
kind flare
wild perch
kind flare
#

Fees can mean trading fees, gas fees, etc, etc, you have to be more elaborate

wild perch
#

oh I see, it was only a fix % of fees from an amount

vestal venture
#

If i am not looking to run a full node and just want to perform simple execute messages and query smart contracts, can i install Injectived even though my hardware is well below the requirements?

#

Or can i skip Injectived entirely and only install injective-ts to do this?

devout escarp
#

I am trying to deploy the contract from the tutorial, but I get this errror:

Error: error unmarshalling: invalid character '<' looking for beginning of value

#

how can I debug what is going on? or fix it?

topaz seal
topaz seal
topaz seal
topaz seal
devout escarp
# topaz seal Please check the contract source is correct. If it is please share the command y...

I am following the tutorial at
https://docs.injective.network/develop/guides/cosmwasm-dapps/Your_first_contract_on_injective/#prerequisites

, the command is
injectived tx wasm store artifacts/my_first_contract.wasm
--from=$(echo $INJ_ADDRESS)
--chain-id="injective-888"
--yes --fees=1000000000000000inj --gas=2000000
--node=https://k8s.testnet.tm.injective.network:443

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.

#

whre can I find the complete error log?

#

also, on question: if "cargo wasm" completes correctly, the source code should be correct, right?

topaz seal
devout escarp
#

thanks, that was it

topaz seal
#

We have recently updated the servers and we have not had time yet to update all examples in the docs. That is work in progress. In any case examples in the docs are intended to show how to use the tools, not to be code snippets for people to copy, paste and run

devout escarp
#

got it. coming from someone joining the network, the erro rmessage will never make me think the server is incorrect 🙂

quiet horizon
#

ERR::ERR_INSUFFICIENT_RESOURCES any updates on this error?

fringe berry
#

Any doc on building a launchpad or marketplace?

devout escarp
#

I am trying to send the instantation of a contract on the testnet, but the transactions is not bing sent

#

root@ed6aa9852706:/working_dir/my-first-contract# injectived tx wasm instantiate $CODE_ID $INIT --label="CounterTestInstance" --from=$(echo $INJ_ADDRESS) --chain-id="injective-888" --yes --fees=1000000000000000inj --gas=2000000 --no-admin --node=https://testnet.sentry.tm.injective.network:443
Enter keyring passphrase:
code: 19
codespace: sdk
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: ""
timestamp: ""
tx: null
txhash: D77F9F506C0EC8884165A4648310B4AA59A00AE1A69A5DF6667752DDF62CAAA9

however the txhash is not in the blockchian:
https://testnet.explorer.injective.network/transaction/D77F9F506C0EC8884165A4648310B4AA59A00AE1A69A5DF6667752DDF62CAAA9

#

root@ed6aa9852706:/working_dir/my-first-contract# echo $CODE_ID
5075
root@ed6aa9852706:/working_dir/my-first-contract# echo $INIT
{"count":99}

quiet horizon
#

@kind flare is there anyone other than Achilleas who can upload smart contracts?

smoky venture
#

I get this {"code":12,"message":"Not Implemented","details":[]} when I try and use this link: https://injective-testnet-api.polkachu.com/

I was told by the support channel to drop this here..I'm trying to get my inj testnet account to show up in my keplr wallet so I can configure the endpoints correctly

merry crane
#

trying to follow this example, getting an error Error: Invalid address (empty address string is not allowed): invalid address

const msg = MsgChangeAdmin.fromJSON({
  denom,
  sender: injectiveAddress,
  newAdmin: '' /** SET TO BLANK STRING */,
})
wild perch
lime ruin
merry crane
wild perch
#

you want to get rid of the right on a token

lime ruin
#

But you're sending a MsgChangeAdmin

merry crane
#

how do i make admin empty?

lime ruin
#

You don't want any address to be an admin?

wild perch
#

he wants to revoke the token

#

by dropping the admin right on it

lime ruin
#

Oh

merry crane
wild perch
#

you have to do that

#

but

#

is this the right function ?

merry crane
wild perch
#

how do you broadcast the msg ?

lime ruin
#

Maybe you can try setting it to null instead but unsure if that'd work.

merry crane
#

async function main() {
const msg = MsgChangeAdmin.fromJSON({
denom,
sender: injectiveAddress,
newAdmin: '' /** SET TO BLANK STRING */,
})

const txHash = await new MsgBroadcasterWithPk({
privateKey,
network: Network.Mainnet,
}).broadcast({
msgs: msg,
})
it's not a broadcast error

untold wren
topaz seal
topaz seal
topaz seal
wild perch
#

@merry crane did you succeed with the zero acc ?

smoky venture
topaz seal
topaz seal
#

If it is a wallet app, please take into account that we have not implemented any wallet app, and hence we don't provide support for third party apps. Please consider getting in touch with the app support team

smoky venture
#

fair enough I'll get in touch with the Keplr team..thanks

zealous birch
#

I can help create tokens on inj

merry crane
zealous birch
#

Experienced dev

lime ruin
# smoky venture I get this {"code":12,"message":"Not Implemented","details":[]} when I try and u...

Go to the top left menu and click Manage chain visiblity and then enable Injective (Testnet) then click Save, after than your Testnet INJ should be visible also Keplr is using old LCD endpoint, you'll need to change it to the latest one:

https://testnet.sentry.lcd.injective.network

You can do it from Settings -> Advanced -> Change Endpoints -> Select Injective Testnet -> Enter the URL in LCD - Save.

kind flare
pastel jasper
zealous birch
#

I can help build token contracts

grand blade
#

ı write ETH contract but ı didnot see INJ contract anywhere. What is diffirent?

grand blade
merry crane
merry crane
topaz seal
merry crane
topaz seal
#

Oh, wait, you won't be able to burn tokens not generated by a TokenFactory. For that you will have to wait until the chain upgrade is applied. A new functionality will be added there to burn tokens in general

merry crane
topaz seal
#

Yes, correct. The Volan update

merry crane
#

maybe i can send lp tokens to the zero address, and that effectively does the same thing

topaz seal
#

It is not going to be the same. Tokens will not be available to anyone. But some services (like CoinGecko) will not consider the tokens burnt really

#

I would suggest to wait unti the Volan update is in mainnet

merry crane
#

ok

#

just to double check...

const msg = MsgExecuteContractCompat.fromJSON({
        sender: injectiveAddress,
        contract: astroLpLiquidityTokenContractAddr,
        msg: {burn: {amount: lpBurnAmount}}
    });

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

i can't do something like this in injective now?

topaz seal
#

Well, if the contract you interacting with has a burn function, technically that would be valid. What I can confirm you is that Injective does not provide a way to really burn CW20 tokens for now

merry crane
white steppe
#

@topaz seal heey sorry for tag, available?

#

It's about the Injective Pepe 😅

kindred sluice
#

Guys, is it possible to renounce the ownership / admin righst of a meme coin? People are discussing this on different telegrams but I didn't see any project doing this and i'm curios if it's technically possible

lime ruin
kindred sluice
#

how?

#

there are a couple of devs asking for help

#

i would like to create a guide because the projects are bullish

#

but they don't know how to do it

smoky venture
kindred sluice
#

@lime ruin can you guide me a bit, bro 🙂 ?

lime ruin
kindred sluice
#

thank you, I appreciate your help! ❤️

lament lynx
#

does injective only support typescript apps ?

kind flare
lament lynx
#

I have an React javascript project (nft minting website) where i want to deploy it on injective blockchain is there any guide it can help me @kind flare

kind flare
#

Docs are pretty extensive, you should read through

white steppe
kind flare
white steppe
kind flare
white steppe
merry crane
white steppe
crisp drum
merry crane
# white steppe Through what application?

yea cli tool. injectived tx wasm execute liquidity-token-address '{"burn":{"amount": "1000000"}}' --from address-in-key-list --gas 50000000 --fees 8000000000000000inj

white steppe
crisp drum
grim salmon
#

which tool use to deploy my code (tokenfactory) on injective ?

primal mesa
#

whats the defaut language used to write smart contracts on injective?

I saw ts on the docs

white steppe
#

@topaz seal poss to check dm?

sturdy vessel
#

i cant find GAS_FEE_BUFFER_AMOUNT, GAS_PRICE classes in pyinjective.constant

topaz seal
merry crane
#

@topaz seal thank you for your help! merry christmas bouncingtree

topaz seal
untold wren
#

click transactions, then filter by type, and keep hitting refresh

plucky cloak
gilded gull
#

Does injective have NFT standard or the same with eth?

#

Im using hashlips to generate nft

pastel jasper
gilded gull
#

Does the cw20 cosmwasm just the same with injective cw20?

zealous birch
#

I can help launch memecoins on. Injective

wispy parrot
zealous birch
wispy parrot
#

Made $$ on each memecoin i bought on INJ

zealous birch
wispy parrot
zealous birch
wispy parrot
wispy parrot
zealous birch
wispy parrot
languid hare
#

I'm launching a token on INJ, and need to get verified to be listed on inj hub so I can get transfer support. Any help with this?

gilded gull
zealous birch
gilded gull
zealous birch
open whale
#

If someone looking for injective dev lmk i’ve deployed memecoin tokens and working for Building a marketplace

shell cliff
#

Is the testnet down right now? I am using inj-ts package to implement account balance fetching but it's not working.

wind nacelle
languid hare
#

Any admins around? There's a scammer in here

stable geode
grim zealot
#

Who's finding Mod?

kindred sluice
#

any dev that is willing to discuss with me an idea?

#

it could be unique on injective 🙂

glossy garden
sick solstice
#

What's up

#

If anybody could let me know how I'm supposed to query the total supply of an asset (token, like Ninja, Kira or whatever) on injective, would be nice
I've spent hours trying to figure out, don't know how

#

I'll try ty

copper sequoia
#

guys what is the zero address for injective, 0x0000000000000000000000000000000000000000 for evm but what is for injective

kindred sluice
hollow geyser
#

Where can I find the typescript code to interact with an astroport smart contract to perform a swap?

dense folio
#

Is there any testnet? faucet?

#

Regulard ERC tokens etc working?

merry crane
#

is there a way to get events on a specific tokenfactory? then i can calculate things like holder count, etc

#

it doesn't seem to be visible on the normal explorer. is there a numia integration (or other events store) for injective?

topaz seal
wild frigateBOT
dense folio
#

In a lign with nft collection

#

Auuuu

dense folio
#

?

topaz seal
dense folio
dense folio
#

Thanks fam!

dense folio
lime ruin
dense folio
#

Mean just some you know - financial support for projects which build up jere

lime ruin
dense folio
#

But u answered me in other channel ⚽️

topaz seal
dense folio
languid hare
#

Guys be careful of “devs” messaging you to help. @longitude who has the ninja role in this group DMed me to help with my projects. He talked a really good game, and seemed to know what he was talking about. I’ve been in crypto since ‘17 and haven’t been scammed in years. But he 100% tricked me. Sent him 10 INJ. Luckily I didn’t send him any more for the LP of my coin. Need to have him banned before he scams more

austere bobcat
#

I will remove him

shell cliff
#

Is there a way to send 0 amount from walletA to walletB with some message parameters in injective?

shell cliff
#

Is there any alternative to do so? Also, is the field memo in injective equivalent to transaction data of other chains?

topaz seal
shell cliff
#

For me, the use case is: I need to transfer 0 tokens from my wallet to my wallet only. But I will be sending some information in memo field within that txn, that is going to reside in the blocks forever.

#

I hope it makes sense.

topaz seal
languid hare
#

This guy being an INJ embassador is laughable. He literally just rugged his Galaxy token, now he's on to another one already

#

How is he not black balled in this community? lol

lime ruin
#

@white steppe 9239kokorothink

languid hare
#

Phrexyboy has me blocked everywhere except discord it seems

#

I told people a week ago his Galaxy token was a scam, and he rugged them last night

lusty lava
#

arawr

dim pine
#

I just noticed that $NINJA and $KIRA is displaying in my wallet USD Total. When launching a token, Is there a specific process one has to follow to ensure that is displayed correctly on Injective Explorer?

lime mountain
viscid wigeon
#

How would I use this with a SigningCosmWasmClient or similar?
https://docs.ts.injective.network/transactions/transactions-cosmos

client.sign takes a readonly EncodeObject[], if I'm using the DirectSecp256k1HdWallet with wallet.signDirect(wallet.address, signDoc) it tells me that @injectivelabs/core-proto-ts/cjs/cosmos/tx/v1beta1/tx").SignDoc" is different from /cosmjs-types/cosmos/tx/v1beta1/tx").SignDoc".

I have a message and just want to send it, this seems to be really complicated? Thanks for any help :)

const msg = MsgExecuteContractCompat.fromJSON({
sender: wallet.address,
contractAddress: …,
msg: details,
funds: […],
})

languid hare
lime mountain
#

Yes but can you provide proof about this?

languid hare
#

He rugged Skeleton Punks on Luna for 350k, and stole and sold charity NFT pieces

lime mountain
#

so I can take actions

languid hare
#

I can show proof that he was admin there before he removed himself

lime mountain
#

nice, dm me

viscid wigeon
# viscid wigeon How would I use this with a SigningCosmWasmClient or similar? https://docs.ts.in...

So I found the way to do this:

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

I created my wallet with return await DirectSecp256k1HdWallet.fromMnemonic(mnemonic, { prefix: 'inj' });

My Keplr wallet has three addresses, and the last one (injective) looks different. But when I create it with fromMnemonic it also looks like the other ones. Is the prefix initialization wrong? Doing it with the private key returns the same address as Keplr

cosmos1gteh…
celestia1gteh…
inj142zyj….

kindred sluice
#

@kind flare can you check dm please 🙂

kind flare
kindred sluice
#

I want to ask if it's possible to do rewards project on injective

upper cedar
#

faucet is not working

kindred sluice
#

like they did on bsc a while ago

#

x% from every transactions goes to holders as INJ

upper cedar
#

can someone help me with some testnet funds

#

please

#

inj1s48g5rapux7kfxhm6780cjvqkfytv93jsgqes7

#

I just want some gas for testnet

#

Anyone

#

Faucet says I'm in the next batch but its taking a while

#

still no funds in sight

kindred sluice
#

I need to hire a dev! is someone available?

untold wren
upper cedar
#

I wanted it for my test net deployment

viscid wigeon
#

So I just cut out all wallet abstractions from cosmos, use queries like this and transfer the private key everywhere I need it?

kind flare
merry crane
lime ruin
#

Unsure, you shuld be able to find more details on the page.

merry crane
#

@kind flare is there a smart contract events indexer on tokenfactory events? i'd like to query holder counts, transfers,... for a specific tokenfactory denom. can not find it on https://explorer.injective.network/

fringe mirage
#

Builders please share your opinion. If there is any wrong or updated info , please inform.

https://blockchainbuzz.hashnode.dev/building-a-dex-on-injective-crafting-the-future-of-finance

Bikram's Blockchainbuzz

Introduction
Embark on a thrilling odyssey into the heart of decentralized finance (DeFi) as you explore the boundless possibilities of crafting your very own decentralized exchange (DEX) on the Injective Protocol. This guide serves as your trusted c...

languid hare
#

I need a dev to answer a qustion for me real quick

#

Will tip

#

ASAP please

#

Got a coin waiting to launch, just needs LP. Just need to confirm with an unbiased DEV that I'm doing this right

toxic glacier
#

do you have an idea about how can i get a token pair from it's token denom ?

hollow geyser
#

U guys had this aswell?

#

Why does it not recognize "funds" ????????????????????????????????????

languid hare
#

WILL TIP

quiet horizon
#

you wrapped it in your exec

#

@kind flare getting timeout errors when i try to post TXs to mainnet sentry?

#

Transaction was not included in a block before timeout of 180000ms

kind flare
quiet horizon
#

@kind flare the past tense of try is blocked rooKek

#

oh wait its a f t e r n o o n

#

lmfao

#

been trying all a f t e r n o o n

languid hare
quiet horizon
kind flare
languid hare
#

But I have to be sure that he doesn't have access to the wallet so he can';t yoink LP

quiet horizon
#

are you using astroport?

languid hare
#

He sent me admin rights already

languid hare
quiet horizon
#

transfer admin rights of the contract to a wallet he didnt ever have the keys for

#

then fund lp from there

languid hare
#

ADMIN RIGHTS WERE SENT TO MY WALLET

#

Sorry caps

quiet horizon
#

lol

#

so does he have access to that wallet?

#

or no

languid hare
#

No, it's my wallet

quiet horizon
#

Ok, then send all of your token to your personal address

languid hare
#

But the coins we made are in a wallet he gave me seed phrase to

quiet horizon
#

then fund the LP from there

quiet horizon
languid hare
quiet horizon
#

nope

languid hare
#

Or should I just be safe and move coins to my wallet and add LP from it

quiet horizon
#

send tokens to your personal wallet
go to astroport
add liquidity to your pool of both INJ and your token

languid hare
#

Okay, then I can burn LP from there as well

#

Since it's my LP

quiet horizon
#

i dont think so

hollow geyser
hollow geyser
quiet horizon
#

ok

hollow geyser
#

When trying to snipe

quiet horizon
#

idk

hollow geyser
# quiet horizon idk

Is there a way to send with higher gas when sending transactions through typescript

quiet horizon
hollow geyser
#

place it under msgs than?

quiet horizon
#

yes

hollow geyser
quiet horizon
burnt igloo
#

iroh, ofcourse I see you here, devving again 😉

hollow geyser
quiet horizon
#

it may be different. you can ctrl+click on the broadcast function and then ctrl+click on the MsgBroadcasterTxOptions

quiet horizon
#

i know thats wrong lol

#

lemme find it

#
gas: {
            gasPrice: "5000000000",
            gas: 10000000
        }
hollow geyser
#

Thank you @quiet horizon , what is the difference between gas and gasprice here?

hollow geyser
#

And gasprice than the amount of inj per gas?

topaz seal
plush oyster
#

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

snow dove
shut falcon