Skip to content

Commit

Permalink
Merge pull request #450 from AlbinMonsimier/updateTokenList
Browse files Browse the repository at this point in the history
update token list & token mint resolver
  • Loading branch information
BifrostTitan committed Jul 14, 2024
2 parents 5fbb059 + cf6ac25 commit 7bada11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/Solnet.Extensions/Models/TokenMint/TokenDef.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Solnet.Extensions.TokenMint
{
Expand Down Expand Up @@ -140,8 +137,6 @@ internal TokenDef CloneWithKnownDecimals(int decimalPlaces)
TokenProjectUrl = this.TokenProjectUrl
};
}


}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Solnet.Extensions/TokenMintResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class TokenMintResolver : ITokenMintResolver
/// <summary>
/// The URL of the standard token list
/// </summary>
private const string TOKENLIST_GITHUB_URL = "https://github.com/solana-labs/token-list/main/src/tokens/solana.tokenlist.json";
private const string TOKENLIST_GITHUB_URL = "https://cdn.jsdelivr.net/gh/solflare-wallet/token-list@latest/solana-tokenlist.json";

/// <summary>
/// Internal lookfor for resolving mint public key addresses to TokenDef objects.
Expand Down

0 comments on commit 7bada11

Please sign in to comment.