typescriptnew TokenListProvider().resolve().then((tokens) => { const tokenList = tokens.filterByClusterSlug('mainnet-beta').getList(); console.log(tokenList);}); ```typescript jsximport React, { useEffect, useState } from 'react';import { TokenListProvider, TokenInfo } from '@solana/spl-token-registry'; export const Icon = (props: { mint: string }) => { const [tokenMap, setTokenMap] = useState>(new Map()); useEffect(() => { new TokenListProvider().resolve().then(tokens => { const tokenList = tokens.filterByChainId(ENV.MainnetBeta).getList(); const token = tokenMap.get(props.mint); if (!token || !token.logoURI) return null; Submit PR with changes to JSON file src/tokens/solana.tokenlist.json, Please follow the Uniswap Token List specification found here: https://github.com/Uniswap/token-lists. Only one suggestion per line can be applied in a batch.
It is now read-only. You signed in with another tab or window. I fixed the file if they can approve the PR.duplicate keys, keys with spaces, too many logoURIs, people adding their tokens to the end of the file vs the token array right be4 the "version" key:https://github.com/solana-labs/token-list/pull/3454, Was this ever resolved? the JSON looks invalid on JSONLINT.com. The community maintained Solana token registry, Certbot crontab for automatic certificate renewals - certbot, How to connect to a docker container cli - docker, How to execute shell commands with exec() - golang, Read shell command output with io.popen - nginx-lua, How execute shell command with Lua - nginx-lua, Remove a directory that is not empty - php, How to filter a list of strings by specific text included in string - powershell, How to get local system keyboard layout information - powershell, How to retrieve numbers divisible by 10 from a list of values - powershell, How to get current PS cmdlet general shell hosting info and version(s) - powershell. "discord": "https://discord.gg/NJjqzzXNKb", "twitter": "https://twitter.com/mynftspace_art". To review, open the file in an editor that reveals hidden Unicode characters. export controls and sanctions law. There is a scam nft that takes you to a fake MagicEden, What is most Reliable validator Solana/Ledger staking, Solana (SOL) Becomes Top Performing Heavyweight: Reasons. All claims, content, designs, algorithms, estimates, roadmaps,specifications, and performance measurements described in this projectare done with the Solana Foundation's ("SF") good faith efforts. Who is this phone for? Learn more about bidirectional Unicode characters. This repository has been archived by the owner. and old review comments may become outdated. As a project based primarily on open-sourcesoftware, it is possible that such sanctioned persons may neverthelessbypass prohibitions, obtain the code comprising the Solana blockchainprotocol (or other project code or applications) and deploy, integrate,or otherwise use it. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. The reader should be aware that U.S. export control and sanctions lawsprohibit U.S. persons (and other persons that are subject to such laws)from transacting with persons in certain countries and territories orthat are on the SDN list. It is now read-only. This is a place to post any information, news, or questions about the Solana blockchain. Accordingly, there is a risk to individuals thatother persons using the Solana blockchain protocol may be sanctionedpersons and that transactions with such persons would be a violation ofU.S. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. I was able to auto-merge somehow but will my token/image even show up in wallet if the JSON is valid? SF does not encourage,induce or sanction the deployment, integration or use of any suchapplications (including the code comprising the Solana blockchainprotocol) in violation of applicable laws or regulations and herebyprohibits any such deployment, integration or use. on December 28, 2021, There are no reviews yet. Can someone with the Head First Java second edition book Can someone pls help explain something re the end of Why is Sol criticized so heavy for not being as Whats your stake stack? Suggestions cannot be applied while the pull request is queued to merge. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. Solana Mobile Saga. Hi, I see a lot of devs are trying to add information and a logo to their token, but the json keeps dismissing them. This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. This repository has been archived by the owner. Be the first one to, github.com-solana-labs-token-list_-_2021-12-28_22-37-31, Advanced embedding details, examples, and help, https://github.com/solana-labs/token-list, Terms of Service (last updated 12/31/2014). "address": "BqRtfrNpvRAW3KW319hvhPoTu76wKU2LTdXJyG9CyDze". I need to change the logo image on a token and having hard time figuring out how. It is now read-only. "logoURI": "https://i.imgur.com/HnnxQND.png", "twitter": "https://twitter.com/solanadonkeBs". Welcome to the official Solana subreddit. "logoURI": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/X71v8NH6dbLwPsn4TR1Tx38K4uWgGZ78mC599XSPJox/logo.png". Auto merge fail on error validating schema: chainId: conflicting values 103 and 0 in pull request Add REALZ token #29912, Auto Merge Fail please check pull request #29924, Plz rename token name(FOXIE TOKEN -> FOXIE), I'm not sure what happened but I get an error not related to my token, Unable to fix spelling, I tried Github desktop merge no success, Update NFTU Farm token image for existing token, Update Change WATT token website URL #29515. This subreddit is operated by the Solana Foundation. Any content produced by SF or developer resources that SF provides, arefor educational and inspiration purposes only. Learn more about bidirectional Unicode characters. It is up tothe reader to check and validate their accuracy and truthfulness.Furthermore nothing in this project constitutes a solicitation forinvestment. Uploaded by Sorry, this file is invalid so it cannot be displayed. This suggestion is invalid because no changes were made to the code. You signed in with another tab or window. narabot This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. Applying suggestions on deleted lines is not supported. This risk applies toindividuals, organizations, and other ecosystem participants thatdeploy, integrate, or use the Solana blockchain protocol code directly(e.g., as a node operator), and individuals that transact on the Solanablockchain through light clients, third party interfaces, and/or walletsoftware. Press question mark to learn the rest of the keyboard shortcuts, https://github.com/solana-labs/token-list/blob/c5938211e7eb41b4b9fc1afb7d98eafc764d5908/src/tokens/solana.tokenlist.json, https://github.com/solana-labs/token-list/pull/3454. This repository has been archived by the owner. This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. This suggestion has been applied or marked resolved. To review, open the file in an editor that reveals hidden Unicode characters. I think you are right. You signed in with another tab or window. "address": "X71v8NH6dbLwPsn4TR1Tx38K4uWgGZ78mC599XSPJox". It is now read-only. Suggestions cannot be applied while the pull request is closed. You signed in with another tab or window. Suggestions cannot be applied while viewing a subset of changes. You signed in with another tab or window. "address": "NpgsBSfavf5hmUeGQAbMz5pHDtXhn9ZFNRQypTr8Tfv", >>>>>>> 5c045107cb9e2f193a2aa743a216fc10e18b07a7. Due to a planned power outage on Friday, 1/14, between 8am-1pm PST, some services may be impacted. bashnpm install @solana/spl-token-registry. Learn more about bidirectional Unicode characters. Learn more about bidirectional Unicode characters, cue vet src/tokens/solana.tokenlist.json automerge/schema.cue -d. Suggestions cannot be applied from pending reviews. Some commits from the old base branch may be removed from the timeline, The formatting of https://github.com/solana-labs/token-list/blob/c5938211e7eb41b4b9fc1afb7d98eafc764d5908/src/tokens/solana.tokenlist.json is completely messed up so it keeps rejecting every pull request to auto-merge. Suggestions cannot be applied on multi-line comments. Cannot retrieve contributors at this time. Web-scale blockchain with speeds of 50k TPS. It is now read-only. This repository has been archived by the owner. assets/mainnet/X71v8NH6dbLwPsn4TR1Tx38K4uWgGZ78mC599XSPJox, assets/mainnet/X71v8NH6dbLwPsn4TR1Tx38K4uWgGZ78mC599XSPJox/logo.png. Thanks. To review, open the file in an editor that reveals hidden Unicode characters. You must change the existing code in this line in order to create a valid suggestion. Press J to jump to the feed. This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. This includes use ofany such applications by the reader (a) in violation of export controlor sanctions laws of the United States or any other applicablejurisdiction, (b) if the reader is located in or ordinarily resident ina country or territory subject to comprehensive sanctions administeredby the U.S. Office of Foreign Assets Control (OFAC), or (c) if thereader is or is working on behalf of a Specially Designated National(SDN) or a person subject to similar blocking or denied partyprohibitions. Add this suggestion to a batch that can be applied as a single commit. This repository has been archived by the owner. Can someone make a compilation of Gorp epic comeback games, Can Someone Make a Review on Shinjin Okazaki. To review, open the file in an editor that reveals hidden Unicode characters. Cannot retrieve contributors at this time.
Can someone contact the devs somehow? Cannot retrieve contributors at this time. Solana Token Registry is a package that allows application to query for list of tokens.The JSON schema for the tokens includes: chainId, address, name, decimals, symbol, logoURI (optional), tags (optional), and custom extensions metadata.