#🚀・dev-support
1 messages · Page 6 of 1
How to query the average gasfee of a block?
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
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
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
How do I access or spend inj through cmd?
Node setup successful,
How to link your own nodes
Who can i ask about token factory?
You can just ask your question, when devs are they might answer.
Where should I start to create token factory ?
Should I use the file on injevtive ts?
Read the docs: https://docs.injective.network/develop/guides/token_launch/
You'll need to use Injectived which is a CLI tool to create a token factory denom.
Where can I download it?
Please read the docs, there are step by step instructions there.
Other software pop up when i click the files on injective
Okay thanks
Creating token factory will cost 10 inj?
Yes, you're correct.
Thank you!
Where should i download the injectived, on vs studio?
Sorry i find hard
Injectived is a command line tool, it's not used in VS Code
That is for installing Go.
Make sure you meet the requirements before installing Injectived.
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?
How send lp pair to other wallet like mizra?
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?
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?
Can we check a SC on $INJ like on etherscan ?
Is this because I don't have INJ on my wallet ?
Why is it so expensive? Isn't there a more convenient method?
None for now.
The documents are very old and there are many missing parts. This should be updated.
TS examples not working. https://github.com/InjectiveLabs/injective-sdk-ts-example
How to multisend address?
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?
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
I've the same question
its becasue when u create it u can do the minting burning ect without paying
its like down payment for house
@scarlet moss #❓︲dev-questions message
This price is too high. There is no such fee in EVM supported networks.
ty
is this because of an error in my deployment of the token factory?
Can I use cmd to send inj?
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)
Please ask in #🔩・node-operators
Please check the endpoints list in the documentation page. That is not the correct endpoint to use.
You are asking in the wrong channel, I don't think you will get any reply here. Please post your node related questions in #🔩・node-operators
You will have to share your code to understand what is goin on
You can always request nodes directly. You will have to program a short script to do that.
No, that is not possible
Please initialize your account (you can send a little amount of any token to initialize it)
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?
The goal is to keep meme coins spammers under control
This is the address : inj1m07q0kyk2pxs96axvpstr9q0gq5lzd6k5emd9d
But faucet doesn't work
You need to contact the contract owner and get the contract code from them or a link to the repo (if it is open source)
If you don't have INJ in the account you won't be able tu submitt transactions
Can you explain what you are doing? Or share the TX hash?
I'm waiting...
how can i get "verified" in token verification?
how can i change rpc endpoint for msgbroadcaster?
will pay forsure
launch what?
@topaz seal
a token on Injective
i can relate to my dev if you want...
The broadcaster takes the endpoints for the network instance (I suppose you are using TS SDK). You just need to use the broadcaster with a different network instance
I don't know that answer. @primal terrace
it takes network enum, so should i give endpoint as an enum?
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
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?
Each DEX is a separate dApp. Each dApp decides what things they enable. You need to get in touch with the dApp team
is the dapp a UX around the injective exchange module? https://docs.injective.network/develop/modules/Injective/exchange/spot_market_concepts how do i look up SpotMarketInstantListingFee
thank you 🙂
Dev team where is the testnet ? it is very hard to build without it do you have an ETA on when it is available ?
sure i'll FR you
is it injectived q exchange params
type: 'http-request',
code: 502,
originalMessage: 'Bad Gateway',
name: 'HttpRequestException',
errorClass: 'HttpRequestException', guys help
is there a way to use custom rpc in ts-injective package
@primal terrace
Yes, you can create your own Network instance
It is under maintenance. Some tests in preparation for the chain upgrade are required and do have more priority than anything else at the moment
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
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
You have to get in touch with the contract developer/s
Are contracts not open source on Injective like on ETH?
you know, security 101 stuff
dont trust, verify. and all that
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
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
I NEED RPC
for example. id like to know if a token i buy has the ability to infinite mint as much supply as they want
You can find more details in Cosmos documentation about all those topics
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
Don't worry, there are always ways to verify, like source code hashes for example.
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
cc @kind flare
const endpoint = getNetworkEndpoints(Network.MainnetSentry);
endpoint.rpc = "https://injective-rpc.publicnode.com:443";
endpoint.grpc = "injective-grpc.publicnode.com:443";
endpoint.rest = "https://injective-rest.publicnode.com";
const txHash = await new MsgBroadcasterWithPk({
privateKey,
network: Network.MainnetSentry,
endpoints: endpoint,
}). @topaz seal is it correct
No, I would not recommend doing it that way. My recommendation is to create your own Netowrk instance
any example ?
please
Verified means it's added in the token-metadata package
@topaz seal how please
ty, and how to be added?
Please check the code in the open source repo
You can find the steps in the TS SDK documentation page
ty
when is verified it can be tranferred on injective hub right?
because the endpoint here is just a object so you can define like, but you should do when you log the endpoint first to see whether anything you should change:
const newEndpoint = {...endpoint, rpc: "", rest: "", grpc: ""}
If it leads to type error, then do with
const newEndpoint = {...endpoint, rpc: "", rest: "", grpc: ""} as ChainInfo & NetworkEndpoints
Hope this help!
i cant
how to create my own NFT in Inj?
Is there a easy way to create a token on INJ?
need a simple dapp example of connecting to keprl and signing a tx, all the demo ones on injective docs are out of date
Yeah, does not help at all, I thought maybe some kind of no coding token generator.
Is there any sample code to excute a swap transaction using ts sdk ?
https://docs.injective.network/develop/guides/token_launch/
No other way for now.
If we create our project coin on inj network, what to do?
how do we add liquidity for a token created on testnet?
Pls for InEVM, chainId 1738 is this the mainnet or testnet???
InEVM is only on testnet for now
how do you change the endpoint
network: Network.Testnet,
network: Network.Mainnet,
Seems both testnet and mainnet are down 1500ms time out, how do you go about updating the end point
what can we pass here to use our own endpoint
const txHash = await new MsgBroadcasterWithPk({
privateKey,
network: Network.Testnet,
so I couldn't find the testnet funds you sent me yesterday now that testnet is back online, could it be possible to send again? inj1tvml37kkfymrwmx583ed9eyur3jjq72ftf67rc
@kind flare could you see this?
You can, the param is called endpoints
patience
yes, sorry
is the Mito building on inEVM or cosmwasm?
Builders who's building I wanna join a team
Mito is being build on top on injective, not inevm (caldera)
You can create your own Network instance
!faucets
Receive a small amount of INJ, enough to make 1-2 transactions.
- https://inj.supply/
- https://stakely.io/en/faucet/injective-protocol
- https://bwarelabs.com/faucets/injective-mainnet
For Testnet use: https://testnet.faucet.injective.network/
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.
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
With the volan upgrade we can check verified contracts on the explorer? @topaz seal
@kind flare
god damn why so complicated. I only found 2 GRPCs which arent offline. Over 30 RPCs are online tho. Anywhere a list of GRPCs at least?
The only list we have is the list of public nodes we provide. All the endpoints are specified in the documentation page. If there are other private nodes, we don't have their details
There is no thing as “verified” contact on chain, its mostly an UI thing
Alright, have u ever thought about hiring new developers actually? There are so many mistakes in the github code ( for SDK at least ) u provide. I customized it for a few hours and its running way smoother now.
So will be able to check verified contracts on the explorer in the near future?
The project is open source: feel free to create a PR to share your improvements whenever you want
@topaz seal what's is the problem stopping peer for error when running a node? sorry for troublesome
have using the latest snapshot
Sorry, I could not understand the question.
Are you asking related to running nodes? If that is the case please post the question in #🔩・node-operators
Yes, I have post in the channel. Problem running the node after syncing the latest snapshot from polkachu
I’m hiring devs in my team, I’d be happy to hear your improvements!
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
You need to configure the transaction with more gas.
You can estimate the gas requirement by simulating the TX first. Or you can estimate it based on calculations as the Broadcaster does
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);
```
Gas may be different for each transaction, is that correct?
Gas is different for each transaction, yes
i assume this applies to normal transaction? or is it a general rule ?
That is a general rule
so i want to interact with a SC via the wasm modul.
raw_log: 'insufficient fees; got: required: 8000000000000000inj: insufficient fee'
Did you send a TX without any gas?
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.
The error message you posted is telling you that the amount of gas you provided was not enough to pay for the TX
hmmm if i raise the gas value it tells me that i need more and more
As a follow on question...should we submit pull request to the https://github.com/InjectiveLabs/injective-ts/blob/master/packages/token-metadata/CONTRIBUTING.md repo for tokens on testnet. I would assume not.
Can build a token for you but do not hit me up unless you have 100 inj in your wallet
@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.
Yeah man build and make money as well I'm tired negotiating with people who just waste my time . Sorry not directed to anyone
Well if the instructions in the docs are followed correctly then you shouldn't have any problem at all.
Slight bump for @kind flare
Why don't you just simulate the TX to get better idea of the amount of gas you will need?
do you guys like this more or less than a ETH evm
Please let's keep this channel for technical questions. You can open other discussions in #🌆|chit-chat
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
Yes, sure, you can push it. I have already told you that you need to provide enough gas for the TX to succeed. If you want to continue sending a TX with less gas than required, you are totally allowed to do so (don't expect the TX to succeed, because it won't)
i know what you mean. sorry for being kinda stupid. i thought if i just overpay gas (which i tried a few times with ridicolous high amounts of gas) it will be okay, but apparently there are still some issues with the command itself
What is the amount of gas you consider "ridiculous"? Do you have the number handy?
like 0.001 inj
I am unable to deploy to injective Blockchain. Both remix and hardhat.
I got this error.
Rpc error code = internal desc = invalid opcode: PUSHO
despite following the guide
https://calderaxyz.gitbook.io/injective-documentation/getting-started/deploy-on-inevm/hardhat
wishing I'm a builder
You can learn, good luck!
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
where can I find a lsit of dexes on injective??
How can I add Injective testnet to Leap wallet?
How do I speak to a business development manager?
Switch the Network within Leap to Testnet.
any idea how to do this on Keplr.
or is leap better
Why does token factory take 10 INJ ?
I tried to make it work on Keplr for about 30 minutes and gave up and moved on to LEAP.
hhaha fair enougj
I cannhelp bypass it
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
@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
So that there arent useless spam coins I guess
yes
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
@bitter tiger Not sure. @fallen pelican Please share as I would be interested in the answer as well.
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 🫡👑
@dim pine
Let me try now.
it works
How do you deploy a token onto injective ?
I was able to connect my wallet but not add to the pool. Getting an error saying this pool cannot be created.
Same for me
This is unfortunate as it would be great to test a coin launch end to end.
because cheese tax
does subsquit run on Injective???
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
you need 10 inj to deploy a token on mainnet
sheeesh
I am pretty sure you need at least 1 inj on testnet
The Typescript code in the docs works for me.
It depends on where you're creating your token factory denom.
On Mainnet you need 10 Mainnet INJ
On Testnet you need 10 Testnet INJ
I am unable to deploy on injective (inEVM).I tried both remix and hardhat but still the same. I followed this guide too ,it's the same issue.
https://calderaxyz.gitbook.io/injective-documentation/getting-started/deploy-on-inevm
Is it not possible to deploy Solidity on injective?
please i will send you a dm
The errors it shows on testnet is "Awaiting internal transaction for a reason"
No problem....but to benefit the entire community....I would like to go on the record that my source code is directly from the docs the team has provided.
I am using this document. https://docs.ts.injective.network/
Specifically....the section on token factory contracts. https://docs.ts.injective.network/core-modules/token-factory
How can we update token meta data?
See the MsgSetDenomMetadata method in the documentation I just posted.
Builder or Ninja? or both?
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 */
I do not know for sure....but I would assume that the object would require all the fields...so yes put in all the other info.
if im pairing a memecoin with injective, i go constant pool right ?
Do you know how to burn a liquidity ?
If you need test tokens then check: https://bwarelabs.com/faucets/injective-testnet
Go claim before the run out. 
please
where in the docs is the warning about 10 INJ?
it was just taken from my wallet, but i didnt get a warning
Did you create a token factory denom? https://docs.injective.network/develop/guides/token_launch/
would really like to burn my lp tokens for my token i just launched
what is the benefit of using factory token vs creating cw20 tokens?
https://dexscreener.com/injective/inj1tdkgvlmn380pnu4jdwpru56m87xscaulf5y7cf
can someone please just help me burn/transfer these lp tokens for my coin please and thank you
@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"
}
}
);
What is client in your code?
const network = getNetworkInfo(Network.Mainnet)
const client = await CosmWasmClient.connect(network.rpc as string);
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();
You are using cosmwasm-stargate and not the Injective TS SDK. You should ask stargate team, unfortunately we can't help with that
ohh found the reason, its because this peggy token considered as a natve token instead of a cw20
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
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?
@kind flare
When I am adding my token metadata when doing a PR, what do I put for the tokenType?
alright I submitted my PR
@soft dome how long does it generally take for a PR to be approved to update token metadata
meeples could it be possible to get some testnet INJ from you? don't need a lot, just for one or two creations from the factory. I've seen you pretty active these past couple of days
try here
if it doesnt work lmk ill send you some
Another bump on this.
Where can I find error code info for commands like "injectived tx wasm store"?
What does account sequence mismatch error mean when using "injectived tx wasm store"? Error code 32
Pls ser @topaz seal , im a noob to INJ network. Can anyone answer this???
I'm tryna launch Meme token to be traded via Astroport.fi.
Solidity is my stack but just learnt InEVM is in testnet only rn.
Pls how do I achieve my goal. (Launch token)???
Also pls anyone has a template code for token.
I'll appreciate 🙏
I can help you launch
You dont need solidity, you can just use the injectived cli tool. https://docs.injective.network/develop/guides/token_launch/
I think i update it and it looks like the tx is correct but how do i check if its updated
Hey!
How to fetch all token holders for factory and CW-721 contracts?
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 🙂
where does this money go?
Meeples, can I dm you ?
guys, how do you proceed for doing some dev right now, are you all on the mainnet ?
wanting to convert LP from CW20 -> Bank, any eta on being able too, thanks
dispatch: submessages: Adapter is missing balance to create a new token-factory denom: execute wasm contract failed [!injective!labs/wasmd@v0.40.0-inj/x/wasm/keeper/keeper.go:394] With gas wanted: '50000000' and gas used: '180656'
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........??
@kind flare could you check this?
can anybody send me some testnet funds? at inj1savh2mk298tjyqtmeu7cmce22xfxh4lypxxdnj
@kind flare could you help me with some problems in uploading wasm to mainnet?
Check my GitHub, I have a tool that extracts this
Share address
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?
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.
where can I find it?
Please contact Keplr regarding this, I checked other wallets such as Leap and the testnet is connecting fine.
I would assume you check the token address on the injecitve explorer.
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!
You can find details about the different error codes in the API documentation page
@dim pine is ur last reply for this issue ?
If you need to launch the token before inEVM is in mainnet you can either use TS SDK or injectived CLI to create your token. You can find all the details in the official documentation page
Okay thanks.
No it is more directed at the general conversation in the channel and on the Astroport discord on how to properly burn tokens on Injective. I am hoping that we as builders can agree on something or be definitively directed by the injective team.
@kind flare
Ah ok, can u take a look plz at this issue when trying to burn LP, whole community waiting for it
!faucets
Receive a small amount of INJ, enough to make 1-2 transactions.
- https://inj.supply/
- https://stakely.io/en/faucet/injective-protocol
- https://bwarelabs.com/faucets/injective-mainnet
For Testnet use: https://testnet.faucet.injective.network/
You will have to explain a little bit more what you were doing when receiving the error
Please, don't do that. Injective is a different chain than Ethereum or any Etherum L2. Any address that is a burn address on those chains only exist on those chains. What you are suggesting makes no sense at all
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.
Injective doesn't work the same as Ethereum, just like Abel explainied.
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.
Looking forward to it!
Is testnet down? What RPC can I use?
There is only one Testnet public resource: the load balanced set of nodes. If you can't use that the only alternative is to find a private node or run your own
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)
Most of the facilities the Python SDK includes in the current version are focused on trading actions (for market makers and traders). Querying contracts has not been included yet
Appreciate the response
Any smart contract devs in here who can help me build a contract?
@topaz seal what is the difference between the injective-core and injective-core-staging
You can try with https://injective-testnet-api.polkachu.com/ this lcd.
What do you mean with "injective-core-staging"?
these containers
@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?
for anyone else with this issue, the docs are out of date. better to look at the codebase to see the type
Not sure, we can ask @primal terrace. It might be one of the images we use in InjectiveLabs to run our tests.
Not sure what the problem could be. Are you using an updated version of injectived?
This is what I see when trying to execute the same command (as you can see the command is valid)
$ injectived tx wasm submit-proposal
Submit a wasm proposal.
Usage:
injectived tx wasm submit-proposal [command]
I am getting this version
Version dev (b8cff804f)
Compiled at 20230113-0025 using Go go1.19.3 (amd64)
I am on old version?
Alright. Mac be stressing me out
Did you install it from binary or source? If from source, try to use one of the available tags. dev branch is not and will by definition never be stable
Any update on this plz, whole community waiting for hours @topaz seal
The guides on how to install injectived are in the documentation pages, please refer to them
no way with docker image?
No official docker image provided by InjectiveLabs. But you can create one, that should be easy
Is this still failing?
Yes sir
Yes, the founder also replied to u
What is the command you are executing? cc: @kind flare
Adapter contract needs to be funded with INJ to complete this conversion from CW20 to Token Factory. We'll do that in a bit
Thank you so much guys
I am unable to deploy on injective (inEVM).I tried both remix and hardhat but still the same. I followed this guide too ,it's the same issue.
https://calderaxyz.gitbook.io/injective-documentation/getting-started/deploy-on-inevm
Is it not possible to deploy Solidity on injective?
is the injective adapter down?
how to change rpc custom on sdk-ts ?, i try follow this tutorial https://github.com/InjectiveLabs/injective-ts/wiki/06Networks but still stuck. may u help me
Please don't post repeated questions in many channels, or we will see ourselves forced to ban you
Please check Bojan's message exactly 3 messages before yours
The MsgBurn function of the bank module doesn't work ? It seems to work on InjectiveTestTube on my part
need help
thx
@topaz seal so now I am submitting proposal , but I get this error: Error: code verification info: source is required what does this mean?
Based only on that info, I would say that you need to provide the source code
That functionality is only available for tokens created using the TokenFactory (native tokens)
Sure thanks. Good luck for the next days, this channel just gave me cancer ❤️
so which file do you require? all that I have now is your template code, cw-counter contract
No block processed for 20 mins on testnet, anyone know whats going on?
Thanks guys!
@topaz seal can u help this sir?
In injective-ts, there is no way to use RPC to send queries? I saw only Rest and GRPC classes 🤔
You can check the TS SDK repo. In the code there are examples on how to create instances of Network(the code includes Network instances creation for public nodes). You can emulate the same using your own endpoints
What do I need to do to whitelist a cw20 from terra so it can be ibc into injective?
I am not sure what you mean with that the RPC in gRPC stands for RPC. gRPC is RPC
Did you see something about fetchDenomMetadata? It seems to be broken at Injective. Can't fetch anything with it.
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.
Yes, you can mint whatever amount you wish, changing the admin changes the ownership of the denom and transfers the permissions to mint, burn, etc.
is injective node source code public? can't find it
Here is hosted only scripts for node creation and the binary, right? Is there a repo for opening issues about nodes?
I am not sure, I think you can open issues on that repository.
Ok, let me explain better.
So as a token factory, I can create different tokens with entirely different metadata.
Meaning changing admin transfers ownership of the entire tokens.
Or would I have to create a new Factory Denom for a new token...
I am not exactly sure about this but I think you'll need to create a new token factory denom for a different token.
inj176tn6dtrvak9vrqkj2ejysuy5kctc6nphw7sfz guys if you could send some INJ testnet tokens, if you have a bit more
Sent
thx a lot
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?
Any update on this plz
What do you mean with liquidity? Do you mean the balance in the contrac's account?
No it is not the balance.
Liquidity is the amount provided before the trade begins.
We can see this on txn :
"provide_liquidity" and "amount".
I want to get the amount
Sorry english is not my language
!faucet
!faucets
Receive a small amount of INJ, enough to make 1-2 transactions.
- https://inj.supply/
- https://stakely.io/en/faucet/injective-protocol
- https://bwarelabs.com/faucets/injective-mainnet
For Testnet use: https://testnet.faucet.injective.network/
Just to confirm: are you speaking about liquidity pool contracts?
got it thx :p
You will have to check the query functions provided by each particular contract and then query it
Do you have an exemple ? A function name ?
But it depends on each contract implementation. I would suggest speaking with any of the liquidity pool dApps projects
is there a way to see token holders?
@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
Please send me some aswell
inj18r765lvc3pf975cx0k3derdxl302trjjnpwjgf
Thank you so much
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 ?
For which denom are you running the query?
can you check my question please?
Do any of you use a local node to develop/test your smart contracts?
You will have to search for inSVM https://docs.injective.network/develop/cascade-svm-chain/
A lot of project have been rugging but @NinjaBot__ rugged 436 INJ by utilizing simple "MsgMint" cmd to mint more supply and dump on LP.
I didn't know tokenfactory can be minted more after creation.
@kind flare @subtle haven @winged maple
https://explorer.injective.network/transaction/316E0BD433C53D83BCD7D39F2AB384E44B9FCCCA2710851969B7CCBBA158CAF2/
wttfffff
this is crazy risky for all pools
wont it have a lot of lags and high gas fee this way?
did you get any help at all regarding this sir?
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
MsgMint is clearly explained in the documentation for TokenFactory: https://docs.ts.injective.network/core-modules/token-factory
It should not be a surprise for anyone
yes but if you deploy a 1k token supply, you shouldnt be able to mint more than this 1k, no ?
?????????
yea, the token metadata example in docs is out of date, need to look at codebase
You need to ask Cascade team. They implemented inSVM.
where can I contact them? what about evm?
well i just got to know it nvm then, although i think this should be smth addressed since this will never allow users to trully trust on the ecosystem if creators can mint more and more
Actually this makes it hard for all native tokens to trully be trusted, and opens a door to potential exploits if a wallet is hacked
Please check the documentation I shared with you, you will find the answer there
Token creators could always remove admin privileges from the TokenFactory. It is up to them.
Regarding people trusting on memecoins, well that is a different discussion
how do you remove admin privileges? with changeadmin right? how to change it to a dead address? https://docs.injective.network/develop/modules/Injective/tokenfactory/messages#changeadmin
Yes, with MsgChangeAdmin. Just leave the NewAdmin parameter empty to remove admin privileges without assigning a new admin (⚠️ WARNING ⚠️ this change CANNOT be undone)
Tried:
injuinjfactory-inj1xtel2knkt8hmc9dnzpjz6kdmacgcfmlv5f308w-ninjafactory/inj1xtel2knkt8hmc9dnzpjz6kdmacgcfmlv5f308w/ninja
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
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
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
xyk pool seems to work fine
what is the CW20 ADAPTER COntract address ?
Not good...looks like we need some sort of verification service to help investors avoid the rug pull /infinite mint. I'll give it a try.
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
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?
@kind flare
As I mentioned before, you need to contact Cascade team. Please stop posting the same question.
is there a good SDK to build a dApp on injective using rust?
Not sure if there is any community produces Rust SDK. InjectiveLabs has only created SDKs for TS, Go and Python
wondering when will the inevm be out, and how easy and cheap would the moving of tokens between inj mainnet and inevm be like?
thanks abel, ill try it
is there instrunctions on how to upload a .wasm, get a code id, to instantiate o the code id ?
if we create tokens this way(compile cw20 wasm, upload, instantiate) can we avoid the 10 INJ fee?
Please let me know if there is an answer for this also. Asked about this 2 days ago as well, with the same issue.
I've already explained, these denoms are added MANUALLY, so if someone didn't add denom metadata for this token it's not on chain.
https://docs.ts.injective.network/readme/token-metadata/denom-client you can use this abstraction to get metadata for denoms who are not "registered" on chain
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?
Can someone please help me fix this error
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
bro how did you fix this, I am getting the same error
how can I get the current gas programmatically?
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
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 ?
elder brother , how do I deploy a new contract online in Injective? Are there any tutorial steps for me to follow?
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
any example for NFT contract?
how to revoke tokens approval on injective , anyone can help
@kind flare
@topaz seal
Is there an example of creating a coding to connect to a custom rpc?
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?
hey make sure you are using the correct endpoints for testnet - https://docs.injective.network/develop/public-endpoints/#mainnet
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 ?
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?
can i change the rpc and rest points while adding inj testnet to keplr? if so, how to do that?
how to revoke tokens approval on injective , anyone can help , is there any @brave quail
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
bip39_1.default isn't defined in the code you sent.
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
Is there still deployment issues
Anyone has repos for working example for injective nodejs with typescript ?
@injectivelabs/sdk-ts examples url in the repo is broken fyi
This might help: https://github.com/InjectiveLabs/injective-ts/wiki/00GettingStarted
Finally created a coin on Injective 😁
@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
I'm not sure if any other example page exists.
Unsure if this is what you're looking for and is somewhat outdated but might help: https://api.injective.exchange/
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
So when a token is created, where is the data stored at BEFORE it is verified? How does the chain know what modules, (MsgMint, MsgBurn, etc) it has rights to if the token is not technically on chain?
I also tested this with no success on any denoms that are note registered. Same undefined error.
only the admin can mint more than the supply, so you have to conceed the admin to a dead wallet I guess @topaz seal told us this if im not wrong
I got the error: missing field gov_chain when instantiate te cw 20 contract, how could I fix that?
is there an easy way to get holders of a tokenfactory token?
is it visible in the explorer?
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
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?
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 ?
When a transaction requires the private key of a wallet, such as creating a TokenFactory, how should we proceed as dev ?
import {
PrivateKey,
} from "@injectivelabs/sdk-ts";
const privateKeyHash = PrivateKey.fromMnemonic("your seed phrase");
const injectiveAddress = privateKeyHash.toBech32()
const privateKey = privateKeyHash;
nah I mean, if i do a dApps, when someone want to use the dapp
how should i proceed ?
Can we turn off the mintable feature when we launch a native token on inejctive?
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
I want to deploy the contract to mainnet. How should I do?
How can i request faucet on test net?
please help me.
You want to deploy contract?
yea.
What’s happening here ?
thats with wallet connection
Which network should i use for Main and Test. K8s keep giving 503
How do i request Faucet for Test net? I've tried these but nothing comes through
https://inj.supply/
https://testnet.faucet.injective.network/
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
failed to query response from endpoint. On enjective testnet can someone help?
failed to fetch balance on testnet
All of those things are in the docs already
Hmm. Looked quite extensively at least 5 times lol.
I found the Denom data for both verified and unverified tokens, but that's about it.
Is it under a different section than Denom data?
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
you have some help here
This seems to be tied to price info from CoinGecko.
yes i've seen the ts type, but can't find anything to help your nned
but if Abel told its in the docs, it might be somewhere I guess
Yeah I looked at tht docs pretty extensively lol, but Abel did say it was there, so maybe its just not obvious. I'll have another look again see if I missed anything again.
I would be interested if you find something, as it could serve me well to get some data
and for testing purpose too, i'm doing a back-end test api
take a look here bruv
https://docs.ts.injective.network/querying/querying-chain/querying-chain-bank-module
I saw that one also, but seems to be tied to wallet balances, vs supply of a token.
I MAY have found something, so going to do some testing. If I find anything i'll post it here.
hope it will work, let us know !
I want to deploy the contract to mainnet. Please help me.
Let me know too
You have to ChangeAdmin to empty string to "renounce"
thank you ser will try it
how do u actually run the tx tho? like ok, thats the module and the template, now where do you put that template? thats the part i cant seem to figure out lol , there no web command line interface to do it
Keep building
docs.ts.injective.network is not up to date? When I build, I have deprecated errors
You can share your errors here
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.ts
5
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
Can be, just use TypeScript completion and fill the values of the abstraction class
is testnet still offline?
No, the testnet is up and running.
Make sure you're using correct endpoints: https://docs.injective.network/develop/public-endpoints
I need explanation
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.
Can we turn off the mintable feature when we launch a native token on inejctive?
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?
What exactly is not up to date?
Also, why are you not using TypeScript to get suggestions on imports from our SDK?
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
You should try to fix them on your own, its just imports…
Can we turn off the mintable feature when we launch a native token on inejctive?
Is there a way to fetch a token supply using ts-sdk ?
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?
You can buy mainnet funds and ask if anyone wants to trade 1 INJ mainnet for 10 INJ testnet
Y'all sell testnet token rn
What you could do is write a script that creates a new wallet, funds it from your old wallet, mints the tokens, sends the tokens to your old wallet and never reveals the keys for new wallet, then you can’t mint new tokens
Yes, its normal, we are processing some older batches first
You need to change the admin to a blank string
You can check the docs on how to do that
Got it! Last question, is there a easy way to get holders of a token, like Top 10 for example, os does that have to be parsed?
We don’t have an API for that
Even if direct blockchain calls, could their be a way to parse this data? Or is that not being indexed at a token level.
You could get all accounts on chain and fetch their balance but yeah, thats not a very clever solution
How do i learn how to build on injective
@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
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
Yo mate... can i ask you... can you publish a guide or video of you doing these? Cuz I seem to hit a road block everytime i read the doc
If you take more time to read the docs then you'd find every information you need. Now, you are just being rude.
I want to deploy the contract to mainnet. Please help me.
Hey guys, testnet faucet has been back and the pending queue has been processed!
🤦🏻♂️
That's a basic js/TS error.... maybe take some time to learn basics before jumping in to other stuff..
Never worth rushing things.. thats how big mistakes happen.
We are not a school here to teach people how to write code.
admin said that lmao
https://www.freecodecamp.org/ here is one free resource that you can use to learn, if you have any questions about Injective we'll be happy to help
If everyone knew typescript, people like you would be unemployed, right? u bozo
sure
Dude whats your deal, don't try to build something either if your not a dev. If you need handholding, then "being a dev" is not where you should be. stay on eth chain where theirs launchpads that handhold you through everything.
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?
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!
When using the latest token-metadata SDK, leveraging TokenFactory to get token information (name, symbol, etc), Using the factory denom of the token, I keep getting undefined for toToken, toTokenInfo, getFactoryDenomTokenMeta endpoints on both Mainnet and MainnetSentry.
Per the official docs, this should be returning the correct data unless I am missing something?
right?
You are not getting to ask for help after insulting team members.
He copied my original post as mockery lol.
He clearly doesn't understand the difference between, asking a question to get pointed in the right direction, vs getting handheld through things lol.
Clearly he's a clown 🤡 and just trying to stir the pot in here.
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],
},
],
is there a decentralized file storage protocol that is very easy to integrate with INJ?
Please try with fetchTotalSupply (https://docs.ts.injective.network/querying/querying-chain/querying-chain-bank-module)
Change the admin on the TokenFactory
@hardy wraith I am not sure if the message is ironic or for real. If it is for real, I am glad I could help you. If it is ironic, I am sorry you had a hard time. I hope you will be able to understand that it is imposible for us to guide each developer to the finest detail
@topaz seal , is there a module we can query to find New created pair ?
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)
I mean all New smartcontracts created.
Maybe you could do that with some Tendermint filter, but I never tried. You can use this to give you an idea, but you will still need to check Tendermint documentation https://github.com/InjectiveLabs/sdk-python/blob/master/examples/chain_client/38_StreamEventOrderFail.py
Thank you for the link.
Happy holliday. 😉
how much has injective made from 10 INJ fees from that factory token? will that go to stakers?
Injective sniffer, well done dude
@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 ?
hey @topaz seal can you accept friend request
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 ?
They go to the community spend pool
whats fee of creating token on mainnet?
10 INJ
What is the issue with the fees?
no issues yet, just want to know if the TS SDK has something already up for the fees ?
You have to be more elaborate, I don't understand your question
ok if I do a client transaction, let's say they pay 10INJ, I want to take 2% fees, can I do it with the SDK or I need a smart contract custom ?
Ofc you need a smart contract
Fees can mean trading fees, gas fees, etc, etc, you have to be more elaborate
oh I see, it was only a fix % of fees from an amount
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?
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?
Sorry, I don't have that info. Maybe you could try asking in #💬・general or checking if there is already a discussion about that in #📰︲gov-discussions
You need to create a contract to handle NFTs. I don't think there is a standard yet, but I am not sure. Maybe you can try to find more info checkin Talis project
The big hardware requirement is really to run the node. You can also just install injectived and used it as a CLI, without starting the node.
Also, for what you need to do you can just use TS SDK without installing injectived
Please check the contract source is correct. If it is please share the command you are executing, and the complete error log
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
whre can I find the complete error log?
also, on question: if "cargo wasm" completes correctly, the source code should be correct, right?
Please start by using a valid node value. You can find the valid endpoints in the docs
thanks, that was it
it would be good to update it on the tutorial, or at least reference https://docs.injective.network/develop/public-endpoints/
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
got it. coming from someone joining the network, the erro rmessage will never make me think the server is incorrect 🙂
ERR::ERR_INSUFFICIENT_RESOURCES any updates on this error?
Any doc on building a launchpad or marketplace?
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}
@kind flare is there anyone other than Achilleas who can upload smart contracts?
Also ^
Governance
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
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 */,
})
thank you, i've been searching around and find a way to do so, but one question, I need injectived at a certain moment to instantiate and deploy the contract, but I only have 32gb, can I still deploy ?
Your newAdmin property is empty.
yes i don't want a newAdmin
you want to get rid of the right on a token
But you're sending a MsgChangeAdmin
how do i make admin empty?
You don't want any address to be an admin?
Oh
yes correct, revoke admin privs so supply is fixed
this is the example i'm looking at from injective docs: https://docs.ts.injective.network/core-modules/token-factory#msgchangeadmin
how do you broadcast the msg ?
Maybe you can try setting it to null instead but unsure if that'd work.
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
As mentioned many times in the past (you can check by using the Discord search tool): official endpoints are listed in the documentation page https://docs.injective.network/develop/public-endpoints
The minimum hardware requirements only apply when using injectived to run a local node
Please try with the Zero Account id: inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49
@merry crane did you succeed with the zero acc ?
Sorry I'm not sure how this applies, the testnet isn't showing up in my wallet to configure..how do I get it to show up as a token in my keplr wallet? On the chains website, it says it's already added but its not
When you say "in my wallet", do you mean a wallet app or you INJ account?
Keplr wallet app
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
fair enough I'll get in touch with the Keplr team..thanks
I can help create tokens on inj
zero account worked! thank you 🙂
Experienced dev
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.
I've updated our docs to reflect this
Do you mind sending me what token you did this on. Since empty strng did not work so I can update my token scanner. thanks!
I can help build token contracts
ı write ETH contract but ı didnot see INJ contract anywhere. What is diffirent?
thank you for this ı will try write INJ contract
sure i'll send in a bit. happy to help explorers 🙂 need to figure out how to burn lp tokens first
could you drop a hint on how you burned lp?
Please, try to read the documentation pages first. Trust me, they don't bite https://docs.ts.injective.network/core-modules/token-factory#msgburn
oh are astroport lp tokens tokenfactory tokens? thought they were cw20?
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
oh that's the jan 2024 release?
Yes, correct. The Volan update
maybe i can send lp tokens to the zero address, and that effectively does the same thing
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
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?
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
think i figured it out, contract address needed to be typed correctly as Address
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
Yeah, the current admin address can change it.
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
Yes, that did it! Thank you!!
@lime ruin can you guide me a bit, bro 🙂 ?
I am not very sure but I think it's done through the MsgChangeAdmin, you can read more here: https://docs.ts.injective.network/core-modules/token-factory#msgchangeadmin
thank you, I appreciate your help! ❤️
does injective only support typescript apps ?
We offer TypeScript SDK. Any kind of dapps can be built. What specifically do you have in mind?
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
Hey Bojan are you currently here?
Yes, whats up
Could you possibly accept my friend request? I can type in DM
nope, sorry, please ask here, I have too much messages and can't focus on work during the day
Okay, so im currently helping a coin to burn their LP, and none of us knows how to execute msgsend through python, and we were wondering if you could possibly do this for us, since you are dev from official inj labs, and this is the best & safest option for them?
nope, I can't do that, here is an example tho https://api.injective.exchange/?python#bank
Thanks, will check 🫡
i was able to do it, it’s just a msg execute contract to burn the amount
Through what application?
I did it through the cli tool and used the bank send command.
yea cli tool. injectived tx wasm execute liquidity-token-address '{"burn":{"amount": "1000000"}}' --from address-in-key-list --gas 50000000 --fees 8000000000000000inj
Where do i find the cli tool? @crisp drum
which tool use to deploy my code (tokenfactory) on injective ?
whats the defaut language used to write smart contracts on injective?
I saw ts on the docs
@topaz seal poss to check dm?
i cant find GAS_FEE_BUFFER_AMOUNT, GAS_PRICE classes in pyinjective.constant
You must be using the code examples intended for version 1.0.* (only usable in Testnet currently, because it is prepared to work with the upgraded chain version) with SDK verion < 1.0
@topaz seal thank you for your help! merry christmas 
Merry Christmas to you too, and to all the Injective community
click transactions, then filter by type, and keep hitting refresh
Thank you. Do you have any API? or just refesh and crawl data from web?
Merry Christmas!
Does injective have NFT standard or the same with eth?
Im using hashlips to generate nft
@merry crane looks like you have to friend request me, or if you want to share the token factory address here..
Does the cw20 cosmwasm just the same with injective cw20?
I can help launch memecoins on. Injective
Did you launch any on INJ?
Yup I did as a dev
Nice which one? I probably bought it so thank you in advance 😂💪🏽💪🏽
Made $$ on each memecoin i bought on INJ
I can't reveal it actually but if you want I can Dev for ya
Good to know, whats your twitter?
@guywithipad
Just followed u
Did you help launch any on other blockchains? 👀
Almost all evms
Chad
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?
Dm
Lmk when u drop
Did you create the permissionless launchpad?
In process bro
Nice do you have other projects on injective?
Dm
If someone looking for injective dev lmk i’ve deployed memecoin tokens and working for Building a marketplace
just do github pull request
Is the testnet down right now? I am using inj-ts package to implement account balance fetching but it's not working.
Make sure you're using correct endpoints: https://docs.injective.network/develop/public-endpoints/#testnet
just do a pr on the github repo and add your token info there.
Any admins around? There's a scammer in here
Please report in #🚨︲report-violation
who's that, I seeing many and reporting them
Who's finding Mod?
any dev that is willing to discuss with me an idea?
it could be unique on injective 🙂
yuou can sepak with mods
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
#💻︲api-support message i guess this is it
I'll try ty
guys what is the zero address for injective, 0x0000000000000000000000000000000000000000 for evm but what is for injective
https://docs.ts.injective.network/core-modules/token-factory#msgchangeadmin:
inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49
thanks
I need devs
Where can I find the typescript code to interact with an astroport smart contract to perform a swap?
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?
!faucets
Receive a small amount of INJ, enough to make 1-2 transactions.
- https://inj.supply/
- https://stakely.io/en/faucet/injective-protocol
- https://bwarelabs.com/faucets/injective-mainnet
For Testnet use: https://testnet.faucet.injective.network/
Thanks 👀 gonna make some Token maybe on chain!
In a lign with nft collection
Auuuu
What details?
Mean rpc and name etc
Thanks fam!
Is here builders plan?
What do you mean?
Mean just some you know - financial support for projects which build up jere
Our Grants Program is designed to provide milestone-based funding for projects that aim to grow the Injective ecosystem with pioneering ideas.
But u answered me in other channel ⚽️
Have you tried at least opening the documentation page?
Now I am just man on a gym and collecting the data. Thanks for the all info 😦
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
Can you send me screenshot in my DM, please?
I will remove him
Is there a way to send 0 amount from walletA to walletB with some message parameters in injective?
No, that is not possible
Is there any alternative to do so? Also, is the field memo in injective equivalent to transaction data of other chains?
What do you need to do? Currently it sounds like you are asking me if there is an alternative to send a message to transfer 0 from one account to other. And the answer is yes: do nothing. It will have the same effect.
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.
I understand your description. But I don't see how any of that is related to a chain that provides native order book markets to trade assets. That is why I was asking you what you were trying to achieve (I mean the end goal really, not the description of the solution you are trying to implement).
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
@white steppe 
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
arawr
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?
hey, would you provide any proof that he's behind that rug? couldn't find any
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: […],
})
He was the admin in galaxy token, then when I called him out for being behind the Skeleton punks rug, he removed his admin role. People always asking for proof about Phrex when there's literally mountains of it
Yes but can you provide proof about this?
He rugged Skeleton Punks on Luna for 350k, and stole and sold charity NFT pieces
so I can take actions
I can show proof that he was admin there before he removed himself
nice, dm me
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….
@kind flare
@kind flare can you check dm please 🙂
Feel free to write here
I want to ask if it's possible to do rewards project on injective
faucet is not working
like they did on bsc a while ago
x% from every transactions goes to holders as INJ
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
I need to hire a dev! is someone available?
If you use local then you don’t need testnet coins
I wanted it for my test net deployment
So I just cut out all wallet abstractions from cosmos, use queries like this and transfer the private key everywhere I need it?
Testnet faucet is proceesing the queue, you should get the funds in 10-15 mins
i see grants and then venture group. is this ecosystem grants or an equity investment?
Unsure, you shuld be able to find more details on the page.
@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/
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
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
do you have an idea about how can i get a token pair from it's token denom ?
U guys had this aswell?
Why does it not recognize "funds" ????????????????????????????????????
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
Try again. Maybe the public infra is overloaded
@kind flare the past tense of try is blocked 
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
Can I dm you?
whats the question
You can ask here
DEV sent me KEYS to wallet that has my coin in it, I have to add the INJ for LP. He says it's the contract wallet or something like that
But I have to be sure that he doesn't have access to the wallet so he can';t yoink LP
are you using astroport?
He sent me admin rights already
Yes
transfer admin rights of the contract to a wallet he didnt ever have the keys for
then fund lp from there
No, it's my wallet
Ok, then send all of your token to your personal address
But the coins we made are in a wallet he gave me seed phrase to
then fund the LP from there
he cant do anything with that
That won't mess anything up?
nope
So I can just leave them in there, and ad INJ to add LP?
Or should I just be safe and move coins to my wallet and add LP from it
send tokens to your personal wallet
go to astroport
add liquidity to your pool of both INJ and your token
i dont think so
how can i know the belief price before token launches eh
you cant
?
I removed it and it works
ok
U think it will create problems on a launch of a token
When trying to snipe
idk
Is there a way to send with higher gas when sending transactions through typescript
theres an optional gas parameter on your broadcast call
here?
place it under msgs than?
yes
Is there documentation or an example somewhere?
gas: {
gasLimit: "50000000",
gasAmount: "10000000"
}
iroh, ofcourse I see you here, devving again 😉
u know me brother
it may be different. you can ctrl+click on the broadcast function and then ctrl+click on the MsgBroadcasterTxOptions
also does not work for me :/
i know thats wrong lol
lemme find it
gas: {
gasPrice: "5000000000",
gas: 10000000
}
Thank you @quiet horizon , what is the difference between gas and gasprice here?
??
Gas is gas amount
And gasprice than the amount of inj per gas?
What do you mean with "token pair"? Could you explain with an example?
Hi builders, we just opened #1189372652561895475 for you! If you have any technical question you can create new post to discuss
Happy coding!
I got a Service Unavailable at IndexerRestExplorerApi2 when calling fetchAccountTransactions any ideas what could have gone wrong?
hwo do you solve the testnet issue of not able to fetch gas Failed to get response from https://k8s.testnet.lcd.injective.network/cosmos/tx/v1beta1/txs