We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed the Github repo publishes a Github Page at https://celo-org.github.io/celo-token-list. I assume that's to make the celo.tokenlist.json accessible via HTTP requests to https://celo-org.github.io/celo-token-list/celo.tokenlist.json.
https://celo-org.github.io/celo-token-list
celo.tokenlist.json
https://celo-org.github.io/celo-token-list/celo.tokenlist.json
To start I added the URL in the repo description
You can make an API call to retrieve the latest OFAC sanctions list from https://celo-org.github.io/compliance/ofac.sanctions.json For example: export async function getSanctionedAddresses(): Promise<string[]> { return await fetch("https://celo-org.github.io/compliance/ofac.sanctions.json") .then((response) => { return response.json(); }) .catch((err) => { console.log(err); }); } [!TIP] No changes to your code will be necessary when the list is updated as this API will always return the latest version.
You can make an API call to retrieve the latest OFAC sanctions list from
https://celo-org.github.io/compliance/ofac.sanctions.json
For example:
export async function getSanctionedAddresses(): Promise<string[]> { return await fetch("https://celo-org.github.io/compliance/ofac.sanctions.json") .then((response) => { return response.json(); }) .catch((err) => { console.log(err); }); }
[!TIP] No changes to your code will be necessary when the list is updated as this API will always return the latest version.
Source: celo-org/compliance > README.md
I think we are intentionally not publishing this to NPM, but just double-checking.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed the Github repo publishes a Github Page at
https://celo-org.github.io/celo-token-list
. I assume that's to make thecelo.tokenlist.json
accessible via HTTP requests tohttps://celo-org.github.io/celo-token-list/celo.tokenlist.json
.To start I added the URL in the repo description
Source: celo-org/compliance > README.md
I think we are intentionally not publishing this to NPM, but just double-checking.
The text was updated successfully, but these errors were encountered: