#🚀・dev-support

1 messages · Page 5 of 1

tame fable
#

Not getting any of it

#

I took the contract you provided in the testnet guide, its called cw20_base

#

Wdym it wont get approved by governance?

#

Is there maybe a way to verify that I didnt change the bytecode or smth?

#

Because surely someone approved this?

#

And I would if the faucet worked

#

...

frosty kiln
#

mainnet is for production ready contracts, not for testing. that's why there are more restrictions about uploading. if you are still in the testing phase as it seems, you should use testnet. I can send you some testnet funds personally, if you share your address

tame fable
#

Look

#

I took the contract from here

#

How is it not production ready?

topaz seal
#

Please, try to actually check the endpoints page in the documentation https://docs.injective.network/develop/public-endpoints. The examples that show how to deploy new tokens have the goal to show the user which are the steps. But the user has to put a little bit on his side to actually use the correct endpoints

tame fable
#

Or at least, the transaction but then it failed

frosty kiln
# tame fable How is it not production ready?

this is an example contract, maybe people use it for production who knows. but the point is that mainnet has restrictions for uploading. it doesn't matter what contract you upload, anything would be rejected. if you are asking on how one would then even deploy anything ever to mainnet, I think the best approach would be to talk to our one of our team to explain the best process

tame fable
potent sinew
#

I have an issue after i ran a local node.

Basically I dont know the passphrase. tried using the seed to recover but requires a keyring pass. Whats the best way to go about this?

tame fable
#

Man I just want to launch a proper memecoin

#

Could you send me one contract which is "approved" or a link to it?

frosty kiln
#

and this CW20 is just one example implementation

tame fable
#

I get that

#

But it hasnt been verified yet?

frosty kiln
#

you mean uploaded already

tame fable
#

Ill try to submit the proposal, idk why it would get rejected

frosty kiln
tame fable
#

If its example code from the official code, could you maybe share a reason why they would reject that?

tame fable
topaz seal
frosty kiln
# tame fable If its example code from the official code, could you maybe share a reason why t...

because mainnet is like I said for production ready code, not example code. and even production ready code would need either a very well written proposal on why it should be accepted with instructions how to verify the source code or even better communicate this with someon from the team ahead of the proposal. in other words, mainnet is for contracts that use real money with real users

tame fable
#

Okay now I get it(hopefully)

#

Waaait

#

Okay I think thats it then

frosty kiln
#

@topaz seal how do you know this example CW20 exists on mainnet?

mild moat
#

if we have questions about deploying tokens on INJ, where should we direct them?

tame fable
topaz seal
mild moat
#

And is INJ compatible with solidity?

tame fable
#

Code

#

Is verified haha

#

I really dont care about specifics just the simplest possible stuff

frosty kiln
#

@tame fable just use testnet, that's the answer

tame fable
#

I get that just like ERC20 there are multiple specifications but ye

tame fable
tame fable
#

Because I didnt upload any code to mainnet

#

I dont get a code_id right

mortal anvil
#

TypeError: Cannot redefine property: stack

#

why?

topaz seal
# tame fable Yes it does but take a look at this step

Ok, let me make it easy for you.

  • You either create your own CW20 contract and you upload it (getting the code_id in the process)
  • OR you ask the community if any member has already coded a CW20 contract and they are willing to share the code_id for you to create an instance (because you don't really want to do the work, just create one more meme coin out of thin air)
tame fable
#

But idk what u mean by "not really wanting to do the work"

#

Do u mean that I dont want to upload a contract to testnet?

#

Because does the code_id from there carry over to mainnet?

#

Like in the tutorial the code_id was 514 right, is that some sort of a unique identifier for the code?

topaz seal
#

What I mean is that you need to implement the CW20 contract for the token you want to create, or use one contract already created

#

The code_id from testnet will not carry over to mainnet outomatically, no

#

And to deploy a contract logic in mainnet you need to go through the governance procedure

topaz seal
mortal anvil
frosty kiln
#

Also note, our guide uses the official CW20 example implementation. It also includes the steps of uploading the contract.

tame fable
#

But suppose that I go over here

tame fable
#

And pick a contract

#

Then, if I understand everything correctly, that code has already been approved

#

And I can use that code_id right?

kind flare
mortal anvil
#

I ctrl+c this code

#

/root/inj/node_modules/@injectivelabs/exceptions/dist/cjs/exception.js:68
super.stack = stack;
^

TypeError: Cannot redefine property: stack

deft pelican
#

Just want to ask if there's any guide for an aspiring creator like me to release a NFT collection here in INJECTIVE?

I'm from Cardano but I'm on a new adventure and I chose INJ

mortal anvil
#

I just provide secrete-key

topaz seal
topaz seal
mortal anvil
kind flare
deft pelican
inland isle
#

While creating a native token on injective, where can I add an image to this token?@kind flare

topaz seal
kind flare
deft pelican
ancient ice
#

is it possible to rennounce mint authority of a token I created?

inland isle
drifting silo
#

I want to create my own toke on inj

#

can anyone help me out?

#

I know python, I can adapt to any language tho

#

is there any $ninja standard code that I can copy from?

dawn bramble
#

is there an sdk for helix? typescript or rust or any other language

quiet horizon
#

@kind flare ^

#

in the docs

quiet horizon
quiet horizon
dawn bramble
#

I guess i'll be clearer with what I'm asking - I'm interested in helping to build the helix protocol, and building out sdks is something ive got a lot of experience in (as well as trading bots, which is my personal fav thing to work on and the thing ive spent the most time on)
I saw you guys were hiring for some engineering roles, and so I was wondering what are the specifics re: dev workflows atm - whats the 6-month goal, what are the technical blockers/sub-projects being worked on?

drifting silo
quiet horizon
quiet horizon
drifting silo
#

what is native support?

quiet horizon
#

if you want to run on the EVM side of INJ, thats fine. but to interact with the L1, you need to instantiate a tokenfactory token.

drifting silo
#

what would be the downsides of running running on the EVM side of INJ?

quiet horizon
#

evm is high fees

#

and overall bad

drifting silo
#

$Ninja is native right?

quiet horizon
drifting silo
#

that meme token

quiet horizon
#

oh, yes its native.

topaz seal
#

there is a detailed guide. Please go and check the documentation page

drifting silo
#

I see there is an example code. I can just use that for a basic token right?

drifting silo
#

how?

quiet horizon
#

use the injectived tool

drifting silo
#

where is it

topaz seal
quiet horizon
quiet horizon
#

@topaz seal, any chance you know why the mainnet RPC (i would imagine either LCD or sentry LCD) is saying i have an empty account but the explorer says its got 0.1 INJ in it?

#

or any way to negate it?

quiet horizon
#

inj1f33sksq8lhd3rzaprn9qjmxt9hwqmv0pjhl9ad

topaz seal
#

Which RPC message is giving you the wrong number?

#

This is the result of the portfolio request (as you can see it does return the INJ shown by the explorer)

portfolio {
  account_address: "inj1f33sksq8lhd3rzaprn9qjmxt9hwqmv0pjhl9ad"
  bank_balances {
    denom: "factory/inj1zq37mfquqgud2uqemqdkyv36gdstkxl27pj5e3/bulls"
    amount: "2666666666666000000"
  }
  bank_balances {
    denom: "inj"
    amount: "100000000000000000"
  }
}
quiet horizon
drifting silo
#

I have to pay 10 INJ to create the token?

quiet horizon
drifting silo
#

it will always remain the same price even in the future?

quiet horizon
#

presumably, unless governance or an update changes it

runic hornet
#

Is the testnet faucet down? Can anyone send me some testnet tokens pls? Thanks!

inj1zvkdzpnch8znwdlkth222jvx3wjtn52e4d5qt6

topaz seal
drifting silo
quiet horizon
quiet horizon
topaz seal
topaz seal
quiet horizon
quiet horizon
topaz seal
topaz seal
# quiet horizon the only options are Mainnet, MainnetK8s, and MainnetLB

Are you using the latest SDK version? mainnetSentry is one of the valid options (and the one that should be used)
https://github.com/InjectiveLabs/injective-ts/blob/94b7ba4223c9894c7f60f9bc4691d6b0c850b471/packages/networks/src/types.ts#L6

GitHub

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

quiet horizon
#

ah i am not

#

fuck

#

you guys and your breaking changes rooKek

topaz seal
#

Things are improving fast, we know. We try hard to be as backward compatible as we can. But sometimes it is not possible (for example when we deploy new public servers)

quiet horizon
#

tbh its mostly bc the new SDK version changes up a bunch of property names

#

got it working, thanks Abel!

runic hornet
#

Can anyone send me some testnet tokens pls? Thanks!

inj1zvkdzpnch8znwdlkth222jvx3wjtn52e4d5qt6

runic hornet
#

Received with thanks!

topaz seal
#

What do you mean with "full node"?

#

Network.mainnet() to connect to mainnet, Network.testnet() to connect to testnet

#

Sorry, I am not following you

indigo pulsar
#

Is there any candy machine availabe for Injective?

topaz seal
#

I don't know that service, but I am not sure they provide access to a node directly. You should check the project's documentation

#

You can fully configure the Network instance by using Network.custom() but you need to pass al required parameters (you might need to get all the URLs from nownodes docs or their support team)

wind nacelle
#

is devnet on inEVM the mainnet on inEVM ?

livid coyote
#

how do i transfer LP tokens on Injective?
whenever i try it fails instantly on Leap

#

@topaz seal

gilded gull
#

what if i created an NFT using EVM can i make the EVM NFT to bridge on Native chain?

young locust
#

Guys, why can't I get the DenomMetadata for inj? I was querying it with abci_query /cosmos.bank.v1beta1.Query/DenomMetadata and getting rpc error: code = NotFound desc = client metadata for denom inj: key not found

mild moat
#

Guys how can we see the token holders of a token on INJ?

gilded gull
#

it needs 10 $INJ to launch an token?

lime ruin
gilded gull
mild moat
cerulean cipher
#

From last 30 minutes it's showing pending.

inner adder
#

any way that someone could make it so that Injective tx's could be accounted for in Koinly? Someone should at least create a "down'load csv" function in the injective scan. Someone also should contact Roger Hong at stake.tax (support@stake.tax).

crystal nacelle
#

Where does one submit security vulnerabillities & do you guys have a VDP?

lofty creek
#

any Injective devs in Bali? I'm working on a volatility reduction infrastructure to prevent dApps token from massive crashes. It's a market making infrastructure for DEX or CEX.

misty prairie
#

ser, can i get a pubilc node for dev?

grave ingot
#

trying to get testnet INJ but getting this can anyone send me Testnet INJ token.
here is my address=> 0x73426923AF5FdaDa87c6a3662E3d9253b87AC084.

plush oyster
grave ingot
knotty socket
dark quarry
#

are there any guys on how to deploy a ca on inj?

gilded gull
dark quarry
#

which documents?

kindred talon
lofty creek
unkempt acorn
#

How is your day going

acoustic yoke
#

I need to write a send $INJ function, can I use the NodeJs library? If yes, can you give me the documents?

gilded gull
#

CW721 mint ui

paper marsh
#

Can a transaction be issued if it is not a verification node?
Can I issue transactions against my own full node?
Already the latest height

#

what is the error

untold wren
#

how do we open up injective?

deft pelican
#

Are there references you guys can give me on how to make a smart contract for minting an NFT collection here in INJ?

mystic prawn
#

I want to buy a paid RPC node. Is there any recommended website? Because I want to test and don’t want to occupy the resources of public nodes

untold wren
swift carbon
#

how to send a transaction with sdk?

unkempt acorn
swift carbon
dim mirage
#

Ok

unkempt acorn
acoustic yoke
#

Attempted import error: 'PrivateKey' is not exported from '@injectivelabs/sdk-ts' (imported as 'PrivateKey').
What should I do about this error?

#

how to send a transaction with typescript sdk?

lilac stream
#

i getting thie error, when trying to create token

Error: rpc error: code = NotFound desc = account ..\

why?

#

not found: key not found

swift abyss
#

im curious about deploying token shold i look at terra or cosmos ?

tawny grove
lilac stream
cerulean cipher
#

Can't we use the injective sdk ts into js?

kind flare
tawny grove
# livid coyote <@831364009877569538>

need a hand transferring swc20 tokens, instantly fail within the wallet and cant pinpoint the right denom factory to use injectived tx bank send thanks

kind flare
lilac stream
cerulean cipher
acoustic yoke
#

Does someone have the source code that can do this? Can you share with me?

lilac stream
kind flare
kind flare
earnest cliff
#

injectived version

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

why??

lilac stream
# kind flare google it out

okay, i can guarantee you that my private key is correct, and my wallet alredy funded with 1 INJ, why I still got the error?

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

unreal aspen
#

$ injectived tx tokenfactory create-denom tess --from=gov2 --chain-id=injective-1 --node=https://t
m.injective.network:443 --gas-prices=500000000inj --gas 1000000
Enter keyring passphrase:
Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account inj1a0undl835v98m8lv0mcd2vr5jkc563wjldy87q not found: key not found
Usage:
injectived tx tokenfactory create-denom [subdenom] [flags]

#

same err

unreal aspen
kind flare
#

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

Your keyring setup is incorect I guess

unreal aspen
#

Fixed it

#

RPC was incorrect

#

why dont you just put propoer RPC url in the docs

#

Also why is it required to pay 10 INJ for creating tokenFactory?

#

That makes it expensive than ETH lol

#

can I reuse tokenFactory?

#

how do I test something on mainnet, since astroport does not support testnet?

#

got any info on this?

nimble holly
#

Injectived not working on my MacBook M1. I tried installing the binaries and also build. I also tried docker

solemn sorrel
acoustic yoke
#

It seems like the new @injectivelabs typescript sdk version has removed many things. But in the document there are no updates, so following the document only gives an error

solemn sorrel
acoustic yoke
#

please help me

nova hull
earnest cliff
#

I am building a node and checking the logs. Is this a success or a failure? What should I do?

lilac stream
lilac stream
mortal anvil
#

there have other fast RPC?

unreal aspen
unreal aspen
unreal aspen
#

--node flag

vocal canyon
#

guys what is LCD endpoint? if i change only RPC endpoint is that enough?

#

in heavy traffic some RPCs don't work i don't want to have this situation so

#

found a few RPC but do i have to change LCD section

lilac stream
#

do I really need to hold

#

at least 10 INJ to deploy token?

#

sdk is not stable enough

#

got 2 different errors with same setup 😭

#

should better I use the cli?

nova hull
lean rampart
#

am i correct in understanding that to launch a token its 10inj for denom, 10inj for metadata, 10inj for mint

#

?

#

so count at least 30inj for token creation (not counting potential renouncing which would be another 10inj)

lean rampart
#

injectived tx tokenfactory mint as

empty edge
#

@kind flare I took stagaze's addresses and converted to injective. I checked with mintscan and they are ok... But they can't get that Inj address on kplr with that private key... I mean with the same private key get the stargaze address but the injective one is another... Do you know how to get that address on wallets?

lilac stream
#

i got this

metadata's first denomination unit must be the one with base denom

any suggestion? Im trying to set denom metadata

gilded gull
mental river
gilded gull
#

From what i know to deploy token denom 10inj only

#

But the other things i dont know

#

Ngl looking from the current price the fee is big?

mental river
gilded gull
#

Didnt anyone create a proposal to adjust things out?

lilac stream
#

how to verify asset detail in scan?

#

already set the denom metadata but nothing happen

gilded gull
lilac stream
#

so i guess the token that live on mainnet didnt submit via github tho

mental river
gilded gull
kind flare
empty edge
unreal aspen
pallid hill
#

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

ancient ice
#

is it possible to rennounce mint authority of a token I created?

empty edge
ancient ice
kind flare
empty edge
shadow inlet
#

@kind flare

pallid hill
#

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

#

can someone help?

kind flare
#

You need to use a different public key than the default one on Injective and make/sign/broadcast the transaction that way. We don't have that kind of example right now so I'd leave it up to you do some reaseach.

topaz seal
kind flare
pallid hill
#

sorry sir

empty edge
kind flare
# pallid hill sorry sir

If you keep pinging I'll restrict you from writing, we are not robots. Be patient or you are out.

pallid hill
kind flare
empty edge
coral niche
#

how can I import keplr wallet on injectived cli

lavish vault
#

what's the rest endpoint for my own node?

topaz seal
#

Injective documentation page. I am positive you can find that by yourself (also the link has been shared in this same channel countless time yesterday)

coral niche
languid phoenix
#

Thanks for your response

kind flare
coral niche
spring sluice
#

guys to install Injectived it says it needs 64 gb ram, can't i run on like 32 lets say?

kind flare
kind flare
spring sluice
#

i don't mind it being a bit slow

#

but would it at least run?

kind flare
topaz seal
kind flare
#

Hey guys, please understand that our team is extremely busy and working on high priority items right now that make us unable to solve smaller issues that people have that's unrelated to Injective. Before reaching out, try to search our documentation and Google out the issues for a potential solution. We are not going to answer questions which are easy to solve by just browsing the web.

dim pine
# kind flare Hey guys, please understand that our team is extremely busy and working on high ...

Agreed. I am beginning my journey by watching all the hackathon videos that are posted on youtube and would recommend other developers to do the same https://www.youtube.com/watch?v=IAjEs55SCBc&list=PLTS_stt4XpDC3isu2cnBGpfviy3y7_Egu

Register to join: https://injective.com/hackathon

Join us for the first-ever Injective global virtual hackathon where you’ll get the chance to build the next generation of decentralized finance applications alongside developers, creators, and industry-leading mentors from across the blockchain ecosystem.

Injective is a lightning fast interoper...

▶ Play video
spring sluice
tranquil marsh
#

having an issue where using a mnemonic gives me a diff wallet address than in wallet extensions, anyone else had this and know how to fix?

hazy oasis
#

How can I set a price like injs if I deploy a token?

lilac stream
#

do i really need to have 10 INJ for deploying token?

spring sluice
#

What is the keyring passphrase when creating a key?

topaz seal
#

The passphrase should be configured by the user

spring sluice
#

where can I see a tutorial or something

topaz seal
junior bronze
scarlet moss
#

Can someone help me ? I entered the same passphrase that I used to create the key

lilac stream
topaz seal
scarlet moss
topaz seal
#

check the endpoints section of the docs

wild perch
#

is testnet live ?

#

are you guys testing the testnet with keplr or metamask ?

ionic oxide
#

Testnet is down for maintanance

drifting nova
grand canopy
#

Can anyone provide a tutorial on how to write inscriptions? I am a beginner

young gorge
#

Im doing cosmwasm and was wondering what versions were available on the chain (for the std, the optimizer...) Thanks very much !

zealous birch
#

If any one needs to launch a token lmk

wild perch
inland isle
#

@quiet horizon can i dm

quiet horizon
topaz seal
#

You can use the Python SDK then

young locust
#

Did you manage to fix that? Getting the same problem.

wind glade
#

Anyone know if there is a multisig wallet that can be used with Injective?

wild perch
#

@wary storm how do I find my private key for keplr ? in order to use the tokencreation for example

topaz seal
#

You should check that in Keplr docs or ask Keplr support team. The wallet is not implemented by InjectiveLabs

#

It is possible, but the SDK does not include any high level component to do that. It was designed having market makers and traders in mind. I am not sure why in the past two days there has been such a frenzy with meme tokens creation

strange iris
strange iris
wild perch
topaz seal
# strange iris

If you already had the private key in the first line, what do you need the second line for?

strange iris
#

No problem

strange iris
#

the first one only convert to private key in string type

topaz seal
#

If you keep the first line without executing the .toPrivateKeyHex() you already have a PrivateKey instance

strange iris
#

Okay, thanks man. It is a bit redundant

gilded gull
wild perch
strange iris
wild perch
#

do I need to Bech32 the injective Address ?

#

for the token creation for example

#

its not in the doc

strange iris
#

yes, to define sender. For token creation, you give a look to their libs

#

seem like testnet is shutdown for a while, i'm trying to test deploy token also

wild perch
latent fable
#

Btw Im newbie on INJ chain, I have a issue, I can't connect my wallet to vscode. Can someone help me?

ancient ice
#

After creating a pool on Astro to you get some kind of LP tokens that you can burn like on SOL?

wild perch
#

cant pass through this error ?
Error: duplicate denomination unit factory/inj176tn6dtrvak9vrqkj2ejysuy5kctc6nphw7sfz/TestCoin

i can't get it

pine blade
#

can anyone change the rpc in the TS sdk ?

ancient ice
#

"DUPLICATE"

ancient ice
pine blade
#

nah.. I want to test it in testnet.. I can't find how to change it in the docs ?

#

can someone help ?

wild perch
pine blade
#

ohh damn.. okay.. but can you show me how to change it ? Incase it's get back up ?

#

or anyone ?

wild perch
#

is this what we receive when we create a new token ?

  "account": {
    "@type": "/injective.types.v1beta1.EthAccount",
    "base_account": {
      "address": "*************************",
      "pub_key": null,
      "account_number": "*****",
      "sequence": "0"
    },
    "code_hash": "**********************"
  }
}```
tired escarp
#

Anyone get this error when trying to create a pair?

dim pine
normal moth
#

How do I get token_meta for whatever token I need it for? Need to find out decimals for certain tokens that are not using the usual 18.

left briar
#

I am trying sending out our uLP token pair to Eric and/or Mirza's address but I am receiving an error. Any idea? And/or any alternatives such as LP lock etc. available?

gritty rampart
#

may I ask how to use 1rpc's rpc in the python sdk.
Once I replace grpc_endpoint, an error will be reported.

dim pine
#

Appears that the testnet faucet is also down.... can anyone send me some testnet $inj please! inj1lypqwz349za88um0m4ltjhgf8q6q8p4y93pv6p

oblique dew
stray cradle
#

im trying to run injectived on my mac but im getting some problems . I downloaded https://github.com/OpenDeFiFoundation/injective-core and built it from source but when i run injectived version i get the following error

Library not loaded: @rpath/libwasmvm.dylib
Referenced from: <F9D0F06A-6103-33D0-A298-1F1B0AE8D20A> /usr/local/bin/injectived
Reason: tried: '/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.2.3/internal/api/libwasmvm.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.2.3/internal/api/libwasmvm.dylib' (no such file), '/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.2.3/internal/api/libwasmvm.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.2.3/internal/api/libwasmvm.dylib' (no such file), '/usr/local/lib/libwasmvm.dylib' (no such file), '/usr/lib/libwasmvm.dylib' (no such file, not in dyld cache)
zsh: abort injectived version

GitHub

Contribute to OpenDeFiFoundation/injective-core development by creating an account on GitHub.

urban sonnet
#

can someone help me out with injective py

#

i dont get how to call a read function on a contract

#

QueryMsg

ripe robin
#

Are the RPCs dead? I cant use the TS SDK module at all.

normal moth
#

any idea how to call this "GetWasmContractByAddress" in Python? Keep getting this: 'AsyncClient' object has no attribute 'GetWasmByContractAddress'

granite coyote
#

I encountered an error when i use chainRestAuthApi.fetchAccount

#

It prompts me that I cannot find the account details

ripe robin
#

same

#

i cant change the RPC

#

whenever i do gives me the same error

urban sonnet
#

is there no method to read contract state using python package

#

MsgQuery

#

cant be found...

untold wren
# strange iris This one will do the work

in the tutorial the privatekey looks like the hex address from private key

const privateKey = "0x...";

if you display do this

const privateKeyFromMnemonic = PrivateKey.fromMnemonic(mnemonic)
console.log(privateKeyFromMnemonic)

you get an object not a string

PrivateKey {
  wallet: Wallet {
    _isSigner: true,
    _signingKey: [Function (anonymous)],
    address: '0x',
    _mnemonic: [Function (anonymous)],
    provider: null
  }
}
{
  injectiveAddress: 'inj',
  ethereumAddress: '0x'
}
tawny grove
crisp drum
#

so i deployed to testnet, how do i verify and add picture

#

and socials and such

#

using astroport

#

unless you suggest something else

tawny grove
crisp drum
tawny grove
crisp drum
tawny grove
#

have you run the metadata add command?

crisp drum
#

i did on testnet

tawny grove
#

injectived tx tokenfactory set-denom-metadata this one yeah?

crisp drum
#

yes yes

#

there was a picture flag there?

#

/ how to verify

tawny grove
#

no need to verify a tokenfactory

crisp drum
#

does it cost any extra INJ btw outside of the 10 to deploy on main?

tawny grove
#

pictures are submitted directly to the asset registers you wish to list with

crisp drum
#

im mildly confused

#

i promise im a good dev

#

but mildly confused

#

never worked with inj before today 🤣

#

have built loads on other chains

#

What are the available asset registers?

granite coyote
#

I found a bug where when I successfully sent a transaction and returned the result for parsing, the code would parse the string of base64. However, the character in the screenshot I just took was not base64, and it tried to parse but reported an error. However, the transaction was already successful

compact olive
#

how to deploy private RPC. I must deploy full node mainnet to do this?

stray cradle
#

can anyone give me some instructions on how to run injectived on my mac ? is doing it on my pc going to be way easier?

untold wren
crisp drum
#

so did this one on testnet

#

how do i get the contract address?

#

also am I submitting a pull request to the dev branch to supply token info?

#

just a little confused on any outstanding process to do

untold wren
untold wren
dim pine
untold wren
#

const subdenom = "inj-test";
const denom = factory/${injectiveAddress}/${subdenom};

#

is this correct?

dim pine
dim pine
#

If so please send it here: inj1lypqwz349za88um0m4ltjhgf8q6q8p4y93pv6p

dim pine
dim pine
tough leaf
#

how to create token with "Asset type: token factory"

drifting nova
#

Waiting 24 hours for testnet inj faucet down

#

inj1evzvmjdtycklkxnk4k3pxc9u8mu9tqn3e675ul

plush oyster
humble estuary
#

Has anyone run into the error "Error: error unmarshalling: invalid character 'C' looking for beginning of value" when running "injectived tx tokenfactory create-denom"?

tough leaf
#

To create a token on Injective, must pay 10 INJ ??

humble estuary
#

The wallet I am using has >10 INJ

#

Any ideas?

tough leaf
wheat dagger
#

Im trying to convert LP tokens into the bank so I can send them to Mirza, when I go to hit convert I get this error.

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: '180575'

#

Any idea on how to solve this?

young hedge
#

One in docs for mainnet is incorrect

dim pine
tough leaf
#

How to create token. Any link? thanks

dim pine
humble estuary
#

Could I get the proper mainnet node url?

dim pine
# wheat dagger Any idea on this?

I have no idea as I am about 1 day into these docs....but could it be a gas funding issue? "With gas wanted: '50000000' and gas used: '180575'"

burnt junco
wheat dagger
#

That's what I thought at the start... But we added 11 inj and same error.

dim pine
#

Currently looks like Testnet is down...so that may also be problematic.

#

No new bocks have been create in the last 25 minutes

burnt junco
dim pine
tough leaf
#

how to be Token Verification ? Any one help me?

placid kite
#

guys how can i deploy a token with some custom logic? any examples or guide ?

burnt junco
#

i think yes but hard

nocturne gazelle
#

I import into Keplr with privateKey and phrase,get the same cosmos address,but different inj address?privateKey is from crypto.getKeysFromMnemonic(mnemonic);I don't know what happen?

sly oriole
burnt junco
zealous birch
#

I can help to easily launch a token or dapp on inj

inland sluice
placid kite
inland sluice
#

help

grave ingot
#

RPC URL is not working, Transaction has been pending for the last 30 Mins.

tawny grove
strange iris
#

@topaz seal in the future, can we deploy cw20 without submiting proposal ? like testnet

kind flare
queen lodge
#

Can someone help where to find docs for token creation in inj

#

?

tawny grove
steep niche
#

Does deploying a token need proposal first?

tawny grove
kind flare
tawny grove
tawny grove
kind flare
tawny grove
kind flare
empty edge
#

guys, how we can verify and be able to transfer tokens on kplr and leap for example?

runic hornet
#

I got the following error when instantiating a smart contract with dry run, followed by go panic. Does any one know how to resolve this issue?

Error: rpc error: code = Unknown desc = [reason:"panic" metadata:{key:"ABCICode" value:"111222"} metadata:{key:"Codespace" value:"undefined"}]: rpc error: code = Unknown desc = recovered: Block (unix) time must never be empty or negative 
stack:
goroutine 847786 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
github.com/cosmos/cosmos-sdk/baseapp.newDefaultRecoveryMiddleware.func1({0x38269e0, 0x4b8a100})
        /go/pkg/mod/github.com/!injective!labs/cosmos-sdk@v0.47.3-inj-9/baseapp/recovery.go:71 +0x27
tawny grove
tall plover
#

yo

#

I need to install injectived and I am running into some issue here

tawny grove
#

is your path actually /path/to ?

tall plover
#

kensdev@192 injective-core % export PATH=$PATH:/path/to/injective-core
kensdev@192 injective-core % injectived version
zsh: command not found: injectived

tawny grove
#

/path/to/injective-core this looks incorrect. set it to your actual path.

tall plover
#

Same

empty edge
kind flare
#

We'll fund the adapter contarct, gotta be patient

empty edge
empty edge
kind flare
#

You mean convert to token factory first from CW20 and then transfer, right?

kind flare
bright belfry
#

I've got a question about event listeners.

You have the following example in your Python library (injective-py) to listen to failed orders:
event_filter = (
"tm.event='Tx' AND message.sender='inj1rwv4zn3jptsqs7l8lpa3uvzhs57y8duemete9e' "
"AND message.action='/injective.exchange.v1beta1.MsgBatchUpdateOrders' "
"AND injective.exchange.v1beta1.EventOrderFail.flags EXISTS"
)

Is there any alternative for this with MsgInstantiateContract or MsgCreateDenom? where can I find all message.actions that I can specify there? Thanks.

runic hornet
#

Is testnet RPC out of sync? Just got this error when executing CLI to send a transaction:

Error: rpc error: code = Unknown desc = [reason:"incorrect account sequence" metadata:{key:"ABCICode" value:"32"} metadata:{key:"Codespace" value:"sdk"}]: rpc error: code = Unknown desc = account sequence mismatch, expected 2, got 1: incorrect account sequence [!injective!labs/cosmos-sdk@v0.47.3-inj-9/x/auth/ante/sigverify.go:269] With gas wanted: '50000000' and gas used: '37256' : unknown request
empty edge
# kind flare Token Factory is not the same as CW20. Can you send me the denom/asset on the ex...
Injective Explorer - Visualize and search for data on the Injective Chain

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

tall plover
#

I need to install injectived on Mac @kind flare

noble stump
kind flare
empty edge
tall plover
#

injectived won't install

kind flare
empty edge
wheat dagger
#

Will this allow me to convert cw-20 into bank?

noble stump
kind flare
kind flare
noble stump
#

Now it's working again, it seems. But still getting sequence mismatch

compact olive
#

How can i send rest API ? I saw they only use grpc with python sdk

kind flare
kind flare
noble stump
kind flare
#

Yeah, I'll have a look at the faucet today

empty edge
kind flare
#

Just connect to the hub and transfer

tall plover
#

worked out well

tawny grove
kind flare
tall plover
kind flare
tall plover
grave ingot
#

Can we know when RPC url issue will be resolved?

kind flare
empty edge
grave ingot
tawny grove
rugged ferry
#

any tutorial or lanuchpad to release a coin?

rustic cave
#

Is there any other way to bridge from native Injective to $ETH. I have a transaction in progress for 10+ hours on the official Injective hub. I need another solution in the meantime asap!I used rocket X before bit injective seems to be Grayed out.

ionic oxide
vivid thunder
silent pewter
#

const privateKeyFromMnemonic = PrivateKey.fromMnemonic(mnemonic)
const privateKeyHash = privateKeyFromMnemonic.toPrivateKeyHex() as string
reason: 'invalid private key', why?

#

const wallet = (await InjectiveDirectEthSecp256k1Wallet.fromKey(
Buffer.from(privateKeyHash, "hex")
)) as OfflineDirectSigner;
this

strange iris
silent pewter
#

thank you very much

solemn topaz
#

anyone knows why im getting sm errors in my node modules after i added them in and trying to build on tsc

vivid thunder
willow bison
vivid thunder
gilded gull
#

does the 10INJ fee payment for token factory denum is one time only?

topaz seal
topaz seal
topaz seal
# empty edge please <@545287134257479700>

The "builders" channel is not the correct one to ask questions about how to manually transfer tokens. If you want to transfer using any of the SDKs, the docs explain how

topaz seal
empty edge
#

because on leap im not able to transfer it

topaz seal
#

I understand that you have a valid question. But:

  • Injective team does not implement either Keplr or Leap. If you have doubts about those wallets you should ask their support teams.
  • Injective team and community could still help with the doubt, and it is ok for you to ask the question. But you should use the correct channel. Please post your question in the #🆘︲help-and-support-old channel and use this channel for devloping tools related questions
warm depot
#

First post and very new to this. I'm trying to set-up Injective TS in my MVC .NET project as a test. I've got typescript/node working but I'm getting constant errors:

Error Build:Module '"**/node_modules/@injectivelabs/core-proto-ts/node_modules/protobufjs/minimal"' has no default export.

#

Going round in circles updating packages but nothing is working. Any ideas?

vivid thunder
#

Is there any video tutorial or a complete article about how to create a token on Injective?

topaz seal
strange iris
warm depot
#

Just wondering, have I posted the above question in the right channel?

strange iris
empty edge
hardy wraith
#

How can we get contract address of denom after like making token adding metadata etc.
all we have is this:
factory/inj164dlu0as6r5a3kah6sdqv0tyx73upz8ggrcs77/TokenNameHere
where address is creator address, i mean we have no way of making a token contract address?

#

@topaz seal

#

@kind flare

#

I just created token on inj, buh cannot find a proper address for it

#

Its also non-transferable why?

hardy wraith
hardy wraith
#

Now only 2 problems:
its non-transferable,
it dont have address

kind flare
#

its non-transferable,
it dont have address
it is, it does, read the docs please, thanks

#

you can also scroll in the chat here, there are tons of user asking the same question

bright belfry
empty edge
topaz seal
empty edge
hardy wraith
topaz seal
hardy wraith
topaz seal
topaz seal
# empty edge my token doesnt show there

In that case you have two options:

  • Do it programmatically using any of the Injectie SDKs
  • Contact your wallet support team to check if there is a way to do the transfer directly from the wallet
hardy wraith
kind flare
winged idol
#

Where is the ''tokenfactory'' link to make a contract?

#

I'm a sniperbot builder in erc20, but can't seem to figure out INJ

hardy wraith
topaz seal
hardy wraith
#

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

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

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

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

console.log(txHash);`

#

in this

#

there is place for contract address to send

#

Buh injecitve give this long thing factory/inj164dlu0as6r5a3kah6sdqv0tyx73upz8ggrcs77/INJAmanullahTest1

topaz seal
#

It is clear that you have not read the documentation pages carefully @hardy wraith. Tokens transfers is native funtionality in the chain, you don't have to send a request to any particular contract to do the transfer. You only need to go through a contract if you have deposited tokens in a particular contract (like for example an AMM contract, an NFT contract or any other) and you want to retrieve your funds from it

hardy wraith
topaz seal
bright belfry
hardy wraith
# topaz seal If the token exists and you have them in your wallet, just use MsgSend to transf...

hahaha, no problem bruh will not ask, i know MsgSend,
`import { MsgBroadcasterWithPk } from '@injectivelabs/wallet-ts'
import { MsgSend } from '@injectivelabs/sdk-ts'
import { BigNumberInBase } from '@injectivelabs/utils'

export const msgBroadcasterWithPk = new MsgBroadcasterWithPk({
privateKey: 0x..., /** private key hash or PrivateKey class from sdk-ts */
network: NETWORK,
})

// Usage Example
(async () => {
const signer = 'inj1...'

const msg = MsgSend.fromJSON({
amount: {
denom: 'inj',
amount: new BigNumberInBase(0.01).toWei().toFixed()
},
srcInjectiveAddress: signer,
dstInjectiveAddress: 'inj1...',
});

// Prepare + Sign + Broadcast the transaction using the Wallet Strategy
await msgBroadcasterWithPk.broadcast({
injectiveAddress: signer,
msgs: msg
})
})()`

buh problem is not it, problem is if we deploy on commercial scale, like i am making for my project discordels NFT, so normal person cannot transfer via script, they can via wallet

topaz seal
#

Then, I have to come back to what Bojan said: you either wait for the tokens to be supported by the Hub, or you contact wallets dev teams to add support for your token

brave valve
topaz seal
young gorge
#

Is the testnet still down today ? Thank you 🙂

ionic oxide
hardy wraith
topaz seal
hardy osprey
#

Can you help me?

#

I can't create the contract by factory contract.

#

from one day ago.

topaz seal
#

If you send all the details about your issue we will be able to evaluate whether we can help you or not. Without the details, we surely can't.

vivid thunder
#

Guys I am following this article on how to make a token using typescript:
https://docs.ts.injective.network/core-modules/token-factory

This is my first time using typescript, nodejs. I watched some YouTube videos and have started building.

Can someone please tell me why I have errors in the above code screenshot and how I can fix it. I just pasted the code from the article.

hardy osprey
#

I have changed collection data. but when get the data, I always get original data.

topaz seal
strange iris
#

@topaz seal native token mainly use for tokens that are on others chain like usdt (pegging token), am i right ? so on dex, we mainly use cw20 token ? Thanks (I want to know about the usecases of allowing creating token factory and cw20 token)

hardy osprey
#

I mean contract.

#

I have changed contract data and transaction is success. but contract data is reflected after 3 hours.

#

why?

topaz seal
hardy osprey
#

@primal terrace I have changed contract data and transaction is success. but contract data is reflected after 3 hours.
why?

#

please help me.

topaz seal
hardy osprey
#

I see.

strange iris
# topaz seal I don't think that is correct. INJ is a native token in Injective for example

yep but i see that all USDT and USDC token on INJ are native tokens created by token factory. So i just wonder why USDT and USDC should not be CW20 tokens instead. And I wonder for dex which type of token should be preferred ? Cw20 or Native Token because i don't see a way to add liquidity on helix.

For example: If a Native Token can be used for dex and every users can create it and it can add liquidity to dex, so when owner can auto mint a lot of tokens, it is not good at all. So that why i have asked you that token factory is mainly used for pegging tokens price from other chain like USDT

Thanks for ur time!

sand atlas
#

Wen testnet back up ?

winter kernel
#

I need just to send some amount of INJ from one address to another in INJ network, using Python. Simple transaction. But can't find easiest way to make it 😦 any suggestions?

runic kite
severe reef
willow bison
#

i apperently cant send my created token to other wallet
can only send INJ,
anyone can help with it i have 100$ reward

willow bison
visual furnace
#

Is there any way to listen to pending transactions on inj network using the ts sdk?

warped mauve
#

got the same error on local node, "handshake: error on replay: validator set is nil in genesis and still empty after InitChain" what i need to set?

topaz seal
strange iris
#

i don't see the method submit-proposal as in the docs. anyone have used it before ?

topaz seal
strange iris
#

with the cli on docs i got this err:

tacit frigate
#

I'm trying to transfer token using python-sdk. It works with denom "INJ" but not with my custom denom like this. How could I fix it?

strange iris
#

not use it before but i think the amount should be in wei

tacit frigate
strange iris
#

hmm, i will test it when testnet is on

crisp drum
#

Anyone no why i am getting this error when deploying to mainnet:
Error: rpc error: code = NotFound desc = account inj1597pysn2u56ggcckykt2zzjuqkeezy5yxfujtj not found: key not found
at ChainRestAuthApi.<anonymous> (/Users/nozzins/Documents/Dev/inj/node_modules/.pnpm/@injectivelabs+utils@1.14.4_google-protobuf@3.21.2/node_modules/@injectivelabs/utils/dist/cjs/classes/HttpRestClient.js:55:65)
at Generator.throw (<anonymous>)
at rejected (/Users/nozzins/Documents/Dev/inj/node_modules/.pnpm/@injectivelabs+utils@1.14.4_google-protobuf@3.21.2/node_modules/@injectivelabs/utils/dist/cjs/classes/HttpRestClient.js:6:65)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'http-request',
code: 404,
originalMessage: 'rpc error: code = NotFound desc = account inj1597pysn2u56ggcckykt2zzjuqkeezy5yxfujtj not found: key not found',
name: 'HttpRequestException',
errorClass: 'HttpRequestException',
context: 'cosmos/auth/v1beta1/accounts/inj1597pysn2u56ggcckykt2zzjuqkeezy5yxfujtj',
contextModule: undefined,
method: 'GET'
}

#

Its working with test net

topaz seal
crisp drum
#

this is my script

#

@strange iris

topaz seal
topaz seal
crisp drum
#

using Mainnet

crisp drum
#

sorry keep forgeting to tag

topaz seal
# crisp drum using Mainnet

You shouldn't use that network. Please use the search tool in Discord to find the solution. The same issue has been discussed countless times in the past 3 days (you can look for messages from Bojan)

tacit frigate
#

python sdk work with denom="INJ" but not with another custome denom

strange iris
topaz seal
tacit frigate
#

here sir, just replace network, privatekey, receiver and denom

topaz seal
crisp drum
crisp drum
tacit frigate
indigo blaze
#

I got a little problem in a js script, when I do

const wallet = await DirectSecp256k1HdWallet.fromMnemonic(mnemonic, {
      prefix: "inj",
    });

I get the wrong address. I tried without prefix and the cosmos address is correct but when I use the prefix it gives me the wrong injective address. Any ideas guys ?

tall plover
#

sirs I'm dumb and new here, are contracts written in typescript or am I missing something'?

strange iris
grim shoal
#

i have requested for some text inj via faucet but haven't recieved in a very long time, is the faucet broken?

topaz seal
crisp drum
#

it doesnt show inj network wen i go to add custom token

#

making it not able to add lp to astroport

#

hmmm

topaz seal
strange iris
grim shoal
#

can someone send me some test inj

inj18r765lvc3pf975cx0k3derdxl302trjjnpwjgf

#

or is there a way to request for test tokens from the cli?

topaz seal
#

@kind flare already mentioned that the team was working to fix the testnet faucet. Please use the search tool before posting questions and avoid re-posting repeated questions

indigo blaze
topaz seal
indigo blaze
grim arch
#

I created via tokenfactory my own native token. I added also into my wallet via add tokens. But i can‘t transfer the tokens to other wallets. Isn‘t possible to send it?

topaz seal
grim arch
#

I tried it with Leap wallet. Is there any way to do it from the terminal with injectived ?

tall plover
#

can anyone sell me some test INJ?

crisp drum
#

how can I send these LP tokens to Mirza.inj

#

is this the way

#

@winged maple

#

I am tryna send you some lp tokens

#

what wallet can i import my wallet to so that I can see my lp tokens and send you them keplr and trust are being ass

#

its mirza.inj

#

action failed?

drifting glade
#

does anyone have a script to execute a tx programatically

#

tried like 4 and none of them work

#

is the network bricked

crisp drum
drifting glade
#

also jesus there are like 10 different endpoints wtf

crisp drum
crisp drum
crisp drum
tawny grove
#

I used the bank send command

#

Let me find it

#

Injectived tx bank send

tawny grove
granite pebble
#

Can someone point me to a link of exact instructions on how to deploy on mainnet

grim arch
grim arch
#

I can add from, to, amoun but where can i add the contract address of token which i want to transfer?

grim arch
#

I would send my own native tokens to other wallet, but don‘t know how. Tried from leap wallet and doesnt work. I would do it from injective tx bank send but don‘t know how can i say here my own token.

crisp drum
#

just tryna burn this lp or give control to mirza

#

working on it but if anyone would like to assist that would be great

#

does anyone know how I can add a pub/priv key via injectived cli?

eager plinth
#

USER="myuser"
PK="86F36D76A7C8844B63F123439097C692337942AC88A557A0AADF5BC30BFCD387"
yes 12345678 | injectived keys unsafe-import-eth-key $USER $PK

#

^ @crisp drum

crisp drum
#

❤️

#

will try now

crisp drum
eager plinth
#

the default passcode for the user vault in injectived

#

you can skip the first part and see that will ask you for that passcode

grim arch
#

Okay i solved

crisp drum
#

Alright, when doing the bank send command, i am getting an invalid decimal coin expression error

#

how should I enter the amount?

#

@eager plinth

#

so close

eager plinth
#

you need to make sure you are entering the amount scaled by the number of decimals

#

each denom has a different number of decimals

#

for example: INJ has 18 digits

#

USDT 6

#

and so on

crisp drum
#

here is the lp token

eager plinth
#

what do you read in the Decimal field?

#

6

#

so enter your amount scaled by 10^6

pastel jasper
#

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?

crisp drum
eager plinth
#

for 154,919,333,848,295 tokens?

crisp drum
#

for 154,919,333,848.295

#

do i add the denom after it like that?

eager plinth
#

yes

crisp drum
#

here is my command and my error

crisp drum
crisp drum
#

im currently screwed just trying to burn or lock these lp tokens

nova niche
#

theres a big error in ur github repo

using this:

const { getNetworkInfo, Network } = require('@injectivelabs/networks')

then this
var network = getNetworkInfo(Network.Mainnet)

network.rest URL is down ! --> outdated probably.

crisp drum
#

@eager plinth

dim pine
#

Is it possible to add the injective testnet network in MetaMask? If so any thoughts on what is the correct chain id? I am currently getting this error (in the image in red). If MetaMask is not recommended....which wallet works best with testnet. Thanks!

crisp drum
#

can someone explain what the converting does in the hub?

torn charm
#

Anyone knows what message should i check in injective explorer for adding liquidity ?

kindred sluice
#

guys, I have an error, can someone guide me a bit

elder shoal
dim pine
# kindred sluice guys, I have an error, can someone guide me a bit

Testnet is currently down do that is more than like your issue. You can see that block are not being generated by going here. https://testnet.explorer.injective.network/blocks/

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

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

noble dragon
#

does anyone know if there's a burn address to burn tokens ?

elder shoal
#

any idea how to fix that? metadata's first denomination unit must be the one with base denom

crisp drum
#

What does convert do in the hub??

#

I converted my LP tokens and now they are gone. not sure how to get them back

untold wren
#

how do we burn tokens?

normal moth
#

is there a way to fetch all historical transaction from a contract?

untold wren
dim pine
# untold wren this address can be used inj1sk06e3dyexuq4shw77y3dsv480xv42mqjushky it is conver...

Same concept for ETH ....by using the injective TS library you can convert an ETH address to and INJ address. Therefore here is a INJ burn address = inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqph4dlwyxj4 or this one inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49 import { getInjectiveAddress, getEthereumAddress } from '@injectivelabs/sdk-ts' const ethereumAddress = '0x000000000000000000000000000000000000dEaD' const ethereumAddress2 = '0x0000000000000000000000000000000000000000' console.log('Injective address from Ethereum address => ', getInjectiveAddress(ethereumAddress)) console.log('Injective address from Ethereum address => ', getInjectiveAddress(ethereumAddress2))

elder shoal
#

Hmm after what time i would see mine token at astroport?

#

Are you adding LP as Concentrated Liquidity ?

nova niche
#

Error: Cannot find module '@injectivelabs/sdk-ts/dist/client/exchange/ExchangeGrpcClient'

#

stg the fucking library and docs of this injective shit are so awful

#

fix ur shit

#

get better devs

#

whatever

#

do something

vivid python
#

for custom token should i use CW20 or use the tokenfactory?

crisp drum
#

i launched a token

#

and it was not easy

#

🤣

vivid python
#

yea? how did you add liquidity?

crisp drum
#

create a pool

#

add lp

#

that was not the hard part lol

vivid python
#

lol! what was the hard part?

#

and do you mint all tokens at once and then just add to lp?

#

I am strugling with testnet and got to know that testnet is down.

#

any help will be appreciated.

crisp drum
#

this guy is scamming for private keys

distant dagger
crisp drum
tall plover
#

anyone know the value for --fees when uploading my contract to mainnet? testnet hasn't came back online...
https://docs.injective.network/develop/guides/cosmwasm-dapps/Your_first_contract_on_injective/
yes 12345678 | injectived tx wasm store artifacts/my_first_contract.wasm \ --from=$(echo $INJ_ADDRESS) \ --chain-id="injective-1" \ --yes --fees=1000000000000000inj --gas=2000000 \ --node=https://k8s.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.

versed thistle
#

guys injectived cli not working for me

#

neither on mac or windows

#

need halp

inland sluice
tall plover
inland sluice
#

help join miannet is error

plush oyster
tall plover
#

wen functional testnet or useful docs for mainnet?

tall plover
# tall plover anyone know the value for --fees when uploading my contract to mainnet? testnet ...

this is from the "Your first contract on injective" docs, but is for testnet, well gee testnet is down.
So, I change the URL to remove testnet, change the chain-id to injective-1
It doesn't work because the url doesn't exist.
So I go to Native Token Launch on Injective in the docs, copy the url specified there to use testnet commands on mainnet (which only removes the k8s from the prefix).
Txn goes through, and is rejected...

#

Peak developer experience right there

merry crane
#

can someone send me testnet tokens? thanks! inj1yq4dwvnujpr9m8w4m5uq3e8hu0xxnw0eypzr0k

merry crane
tall plover
quiet horizon
#

@kind flare what does this error mean? net::ERR_INSUFFICIENT_RESOURCES

tall plover
merry crane
#

what's your tx?

topaz seal
versed thistle
tall plover
#

is this the type of developer experience and treatment we should expect?

#

a snobby "RTFM"?

inland sluice
#

help me

topaz seal
wicked geyser
#

?

topaz seal
sick pond
#

I running a node join the mainnet,but I use the node rpc,tell me use http2,Is it possible to not use HTTP2?

topaz seal
tired escarp
#

When create a LP

wicked geyser
#

@viscid hound @soft dome @kind flare anyone here?

topaz seal
wicked geyser
#

Literally takes 5 minutes to solve my issue lol

kindred sluice
#

guys, quick question, there is one guy trying to send the lp tokens to mirza for a shitcoin but it doesn't work from the wallet

wicked geyser
topaz seal
inland sluice
#

help me

topaz seal
# inland sluice

If you have an error and you:

  • Send a photo of you monitor with the error -> nobody will even try to read that
  • Send a screenshot of the error in the terminal -> some people will try to help, with very hash attitude
  • Send send the complete error stack as clear text -> all of us will try to help you
merry crane
#

is inj permissionless or permissioned?

inland sluice
#

photo is not see?

topaz seal
versed thistle
topaz seal
# tall plover is this the type of developer experience and treatment we should expect?

Well, after spending two days answering the exact same questions once and again, with no one of the new meme coins launchers even bothering to use the Discord search tool to try to see if their doubts have been addressed before ... then yes, this is the kind of answers we provide, trying to make people look for the information that we know is there in the docs.
I see you are trying to know how to deploy a meme token on Mainnet. I tried to let you find the info in the docs yourself. But I take your point saying that the experience is not the one you expected. Considering this, I will paste the link to the exact doc page next, but this it the last message you can expect from me.
https://docs.injective.network/develop/guides/cosmwasm-dapps/Cosmwasm_CW20_deployment_guide_Mainnet

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

tall plover
# merry crane this doesn't look right, what are you trying to do?

following this https://docs.injective.network/develop/guides/cosmwasm-dapps/Your_first_contract_on_injective#upload-the-wasm-contract, I'm in the upload step right now, just changed chain-id and url to mainnet ones because I don't have testnet INJ
I used "http://tm.injective.network:443" as described in the docs "https://docs.injective.network/develop/guides/token_launch/"

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.

topaz seal
wicked geyser
placid kite
#

@topaz seal any idea how can i modify the gas while sending transaction as i keep on getting this ith gas wanted: '50000000' and gas used: '130354'" error

Heres my code

wicked geyser
#

Dm @topaz seal please man

topaz seal
versed thistle
wicked geyser
#

0 help, thanks anyways 😄

#

Been here asking for help way before sum other but ^^

topaz seal
merry crane
placid kite
# topaz seal The error is not the gas you configured, that is actually ok. I think the error ...

I see.....thanks

I am actually trying to make a swap initially using the CosmWasm signer like

        const swapMsg = {
            "swap": {
                "offer_asset": {
                    "info": {
                        "native_token": {
                            "denom": "inj"
                        }
                    }, 
                    "amount": "10000000"
                }, 
                "ask_asset_info": {
                    "token": {
                        "contract_addr": "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7"
                    }
                },
                "belief_price": 0.01, 
                "max_spread": "0.1",
                "to": walletAddress
            }
        };
        
        console.log("walletAddress", walletAddress)

        const executeSwap = await signingClient.execute(
            walletAddress,
            pairContractAddress,
            swapMsg,
            "auto", // fee
            "" // memo
        );

from the astroport docs but keep getting a 'Error: Unsupported type: '/injective.types.v1beta1.EthAccount'' error at the signingClient.execute() so then i try to use the injective sdk

Wonder i can't do a contract interaction using the CosmWasm Client isit? or am i missing something

merry crane
#

replace $INJ_ADDRESS w either your key name or your addr. make sure it shows up when you do this since you need a private key injectived keys list | jq

#

btw who i gotta blow to get testnet inj?

topaz seal
crisp drum
placid kite
crisp drum
#

I am certainly going to try but figured i would ask first

topaz seal
merry crane
topaz seal
topaz seal
placid kite
# topaz seal Just the string? And how do you initialized signingClient?

yeap the code to initialize the wallet address and siginingClient are

        const privateKeyHash = PrivateKey.fromMnemonic(mnemonic).toPrivateKeyHex()

        const wallet = (await InjectiveDirectEthSecp256k1Wallet.fromKey(
            Buffer.from(privateKeyHash.slice(2), "hex")
          )) as unknown as OfflineDirectSigner;

        const walletAddress = (await wallet.getAccounts())[0].address
          
        const signingClient = await SigningCosmWasmClient.connectWithSigner(
            rpc, 
            wallet,
            { gasPrice: GasPrice.fromString("0.01inj") } 
        )

placid kite
#

Heres the complete code @topaz seal using the CosmWasm but getting a 'Error: Unsupported type: '/injective.types.v1beta1.EthAccount'' error

at the signingClient.execute()

topaz seal
placid kite
#

But i am getting the error message of

Error parsing into type astroport::pair::ExecuteMsg: Invalid type: execute wasm contract failed [!injective!labs/wasmd@v0.40.0-inj/x/wasm/keeper/keeper.go:394] With gas wanted: '50000000' and gas used: '130354

could it be my msg construction is wrong? @topaz seal the contract i am trying to interact are https://github.com/astroport-fi/astroport-core/tree/d9e00f4edf855105b780b83cde975d10470bd0ba/contracts/pair#swap and i am following their json message using the MsgExecuteContract.fromJSON()

ocean gale
#

How to connect to my node’s private RPC with Metamask?

#

My node is active atm

#

But I can’t find any guides to move forward

inland sluice
# topaz seal I don't think that will work. You are using a TX signer from the cosmos library....

Dec 21 100332 BCT-server-34-01 bash[1716494]: panic: minimum commission rate cannot be nil: <nil>
Dec 21 100332 BCT-server-34-01 bash[1716494]: goroutine 1 [running]:
Dec 21 100332 BCT-server-34-01 bash[1716494]: github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.InitGenesis({{0x3c4fbe0, 0xc001720f40}, {0x3c8fdc0, 0xc0003d5650}, {0x3c7bc00, 0xc0002f85a0}, {0x7f1b343b4f30, 0xc001214000}, {0x3c90ae0, 0xc0002dd1e8}, ...}, ...)
Dec 21 100332 BCT-server-34-01 bash[1716494]: /root/.go/pkg/mod/github.com/!injective!labs/cosmos-sdk@v0.47.2-inj-4/x/staking/keeper/genesis.go:31 +0x1c48
Dec 21 100332 BCT-server-34-01 bash[1716494]: github.com/cosmos/cosmos-sdk/x/staking.AppModule.InitGenesis({{{_, }}, , {, }, {, }, {, }}, {{0x3c755d8, ...}, ...}, ...)
Dec 21 100332 BCT-server-34-01 bash[1716494]: /root/.go/pkg/mod/github.com/!injective!labs/cosmos-sdk@v0.47.2-inj-4/x/staking/module.go:172 +0x145
Dec 21 100332 BCT-server-34-01 bash[1716494]: github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(
, {{0x3c755d8, 0xc000056068}, {0x3c90990, 0xc0029e8bc0}, {{0x0, 0x0}, {0xc0029983c0, 0xb}, 0x0, ...}, ...}, ...)
Dec 21 100332 BCT-server-34-01 bash[1716494]: /root/.go/pkg/mod/github.com/!injective!labs/cosmos-sdk@v0.47.2-inj-4/types/module/module.go:357 +0x433
Dec 21 100332 BCT-server-34-01 bash[1716494]: github.com/InjectiveLabs/injective-core/injective-chain/app.(*InjectiveApp).InitChainer(
, {{0x3c755d8, 0xc000056068}, {0x3c90990, 0xc0029e8bc0}, {{0x0, 0

topaz seal
sick pond
#

My node is not synchronizing, and there are no error messages. How can I troubleshoot this

#

@topaz seal

topaz seal
topaz seal
topaz seal
sick pond
#

ok. thank you

tall plover
#

anyone got testnet INJ they can share or is there any place I can buy it with real INJ?

versed thistle
#

you know where we can lock or burn LP tokens sers?

crisp drum
#

just send to burn.inj

tall plover
placid kite
# topaz seal I think (not sure about this, so I could be wrong) but there seems to be an erro...

ahh i see okk thanks alot!

Btw i am always getting this error using the public mainnet rpc

tried 3 of these which can be found via googling but each of them get the same kind of err msg, or else a 15000ms timeout response
const rpc = 'https://injective-rpc.publicnode.com:443'
const rpc = 'https://sentry.tm.injective.network:443'
const rpc = "https://injective-mainnet-rpc.autostake.com:443"

Any other rpc or its normal that this happen?

tall plover
#

thank you

topaz seal
quiet horizon
#

@topaz seal, what is the net::ERR_INSUFFICIENT_RESOURCES error in the JS SDK?

topaz seal
topaz seal
quiet horizon
#

👍

carmine temple
#

I was told to ask this here- Is there a way to see historical token balances for my wallet for a specific past block height? thank you

topaz seal
untold wren
#

I got this error when building a dapp

export 'ChainId' (imported as 'ChainId') was not found in '@injectivelabs/ts-types' (possible exports: StreamOperation)

here is my code

// WalletIntegration.js
import React, { useEffect, useState } from 'react';
import { getInjectiveAddress } from '@injectivelabs/sdk-ts'
import { ChainId } from '@injectivelabs/ts-types'


const WalletIntegration = () => {
  const [injectiveAddresses, setInjectiveAddresses] = useState([]);

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

      return window.getOfflineSigner;
    };

    const fetchData = async () => {
      try {
        const keplr = getKeplr();
        const chainId = ChainId.Mainnet;
        await keplr.enable(chainId);
        const addresses = await keplr.getAccounts();

        setInjectiveAddresses(addresses);
      } catch (error) {
        console.error('Error fetching wallet data:', error);
      }
    };

    fetchData();
  }, []);

  return (
    <div>
      <h2>Wallet Integration</h2>
      <p>Injective Addresses:</p>
      <ul>
        {injectiveAddresses.map((address, index) => (
          <li key={index}>{address}</li>
        ))}
      </ul>
    </div>
  );
};

export default WalletIntegration;
carmine temple
old forge
placid kite
topaz seal
topaz seal
topaz seal
inland sluice
topaz seal
inland sluice
#

[Unit]
Description=injectived

[Service]
WorkingDirectory=/usr/bin
ExecStart=/bin/bash -c '/usr/bin/injectived --log-level=error start'
Type=simple
Restart=always
RestartSec=5
User=root

[Install]
WantedBy=multi-user.target

zealous birch
#

I can help with creating tokens

earnest cliff
#

May I ask if this is considered successful?
Display active (running)
But there are still errors in the log ("notifying bug: Stopping peer for error")
There is one more question,
How do I link my own RPC?

vivid thunder
#

Guys how much does it cost creating a token using typescript?

upbeat grotto
#

I'm tryna send txs with injective-ts and cosmjs, I have trouble deciding how many gas I should put in transaction. Is there any method to track current gasPrice like ethers.js?

untold wren
#

is there any good examples of a simple dapp connecting to keply and querying balance and signing a tx? the example on the ts site is eth metamask

untold wren
#

ill open source what i make if someone can help

dull talon
glacial coral
#

My dms are open if you guys are looking to shill your dapps. I own a VC group looking to invest in new ecosystems

vivid thunder
strange iris
#

@crisp drum how you added token factory to kelpr yesterday ?

strange iris
#

does everything works out well in both lp token and token factory when transfer ? and what dex you have used ? Thanks

sick pond
#

I run a node, how to get chain_stream_endpoint, grpc_explorer_endpoint, grpc_exchange_endpoint?

elder shoal
#

can you send me burn address?

lime ruin