Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/synthetixio/contract-linker
- Owner: Synthetixio
- License: mit
- Created: 2019-10-24T15:57:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T14:11:32.000Z (8 months ago)
- Last Synced: 2024-03-13T15:34:28.336Z (8 months ago)
- Topics: defi, ethereum, redirection, synthetix
- Language: JavaScript
- Homepage: https://contracts.synthetix.io
- Size: 1.42 MB
- Stars: 5
- Watchers: 13
- Forks: 10
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)