|
|
2 жил өмнө | |
|---|---|---|
| .. | ||
| scripts | dd56ac64f6 feat(near): contract manager integration | 2 жил өмнө |
| src | dd56ac64f6 feat(near): contract manager integration | 2 жил өмнө |
| store | 2c93737366 chore(eth): deploy stable contracts on testnets (#1146) | 2 жил өмнө |
| .eslintrc.js | b9dbd54d5a [contract-manager] General improvements (#1024) | 2 жил өмнө |
| .gitignore | c732fcf586 Abolish xc governance sdk (#957) | 2 жил өмнө |
| README.md | dd56ac64f6 feat(near): contract manager integration | 2 жил өмнө |
| package.json | dd56ac64f6 feat(near): contract manager integration | 2 жил өмнө |
| tsconfig.json | 66e5f186b2 Initial version of contract manager sdk (#943) | 2 жил өмнө |
The contract manager is a tool to interact with Pyth related contracts on all supported chains.
It has the following structure:
store contains all the necessary information for registered chains and deployed contractsscripts contains utility scripts to interact with the contract manager and accomplish common taskssrc contains the contract manager codeAdding a new chain type to the contract manager can be done like so:
src/chains.ts extending Chain.src/contracts/. See another contract for reference.shell.ts and store.ts with your new Chain type.scripts/ for useful tasks.