Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion oracles/pyth/anchor/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.anchor
.DS_Store
target
**/*.rs.bk
node_modules
test-ledger
.yarn
1 change: 0 additions & 1 deletion oracles/pyth/anchor/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.anchor
.DS_Store
target
Expand Down
13 changes: 5 additions & 8 deletions oracles/pyth/anchor/Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[toolchain]

[features]
seeds = false
resolution = true
skip-lint = false

[programs.localnet]
pythexample = "F6mNuN1xoPdRaZcUX3Xviq7x1EFtoBXygpFggCLd62eU"
pythexample = "GUkjQmrLPFXXNK1bFLKt8XQi6g3TjxcHVspbjDoHvMG2"

[registry]
url = "https://api.apr.dev"
Expand All @@ -13,9 +16,3 @@ wallet = "~/.config/solana/id.json"

[scripts]
test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"

[test.validator]
url = "https://api.mainnet-beta.solana.com"

[[test.validator.clone]]
address = "H6ARHf6YXhGYeQfUzQNGk6rDNnLBQKrenN712K4AQJEG"
12 changes: 0 additions & 12 deletions oracles/pyth/anchor/migrations/deploy.ts

This file was deleted.

16 changes: 15 additions & 1 deletion oracles/pyth/anchor/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
{
"private": true,
"version": "1.0.0-example",
"author": "guibescos (https://github.com/guibescos)",
"description": "Example Pyth Oracle Program",
"homepage": "https://github.com/guibescos/anchor-pyth",
"bugs": {
"url": "https://github.com/guibescos/anchor-pyth/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guibescos/anchor-pyth.git"
},
"license": "ISC",
"scripts": {
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
},
"dependencies": {
"@coral-xyz/anchor": "^0.27.0"
"@coral-xyz/anchor": "^0.30.1"
},
"devDependencies": {
"chai": "^4.3.4",
Expand Down
Loading