Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/synthetixio/contract-linker

Auto-linking to Synthetix contracts
https://github.com/synthetixio/contract-linker

defi ethereum redirection synthetix

Last synced: 11 days ago
JSON representation

Auto-linking to Synthetix contracts

Awesome Lists containing this project

README

        

# SNX Contracts Auto Redirect

[![Netlify Status](https://api.netlify.com/api/v1/badges/aa988a7b-353d-4f71-93c4-037df373d314/deploy-status)](https://app.netlify.com/sites/contract-linker/deploys)

This is the SNX auto redirection tool. It uses `HTTP 302` temporary redirects to redirect to the latest version of the Synthetix protocol contracts on Etherscan. It's here for conveninence for those who often deal with the contracts directly, and for linking to deployed contracts in blog posts, etc.

Please use `/ContractName` (case-sensitive) to auto-redirect to the latest contract version. E.g. https://contracts.synthetix.io/Synthetix links to the latest underlying.

For the full list of contract names, please [look at our developer docs](https://developer.synthetix.io/api/docs/deployed-contracts.html).

For testnets (`goerli`, `rinkeby` and `ropsten`), please prefix the testnet in lowercase. E.g. https://contracts.synthetix.io/goerli/SynthsUSD

## Bookmark utility

Run the following to get a list of bookmarks you can import into your browser to get useful addresbar keyboard shortcuts (e.g. you could type `feepool goerli` to easily go to the `FeePool` address on `goerli`).

`npm run bookmarks`

You can import this file `bookmarks.html` file into Chrome via:

![image](https://user-images.githubusercontent.com/799038/68231553-4acd7900-ffc9-11e9-9d86-9a8abb1d179a.png)