Skip to content

Commit

Permalink
anchor 0.26 and solana 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
dovahcrow committed Jan 13, 2023
1 parent 46acb6c commit 87a0ace
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 47 deletions.
16 changes: 8 additions & 8 deletions amm-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "amm-anchor"
version = "0.1.0"
description = "Anchor bindings for the AMM native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
edition = "2021"
homepage = "https://raydium.io/"
keywords = ["solana", "raydium", "amm", "anchor"]
name = "amm-anchor"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
version = "0.1.0"

[dependencies]
anchor-lang = "0.24.2"
solana-program = "~1.9.13"
spl-token = { version="3.2.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
anchor-lang = "0.26"
raydium-contract-instructions = {path = "../lib"}
solana-program = "1.14.12"
spl-token = {version = "3.3.0", features = ["no-entrypoint"]}
13 changes: 6 additions & 7 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
[package]
edition = "2021"
name = "amm_client"
version = "0.3.0"
edition = "2021"

[[bin]]
name = "amm_client"
path = "src/main.rs"

[dependencies]
raydium-contract-instructions = { path = "../lib"}
spl-token = { version = "3.2.0", features = ["no-entrypoint"], default-features = false }
spl-associated-token-account = "1.0.3"
solana-client = "1.9.5"
solana-sdk = "1.9.5"
anyhow = "1.0.53"

raydium-contract-instructions = {path = "../lib"}
solana-client = "1.14.12"
solana-sdk = "1.14.12"
spl-associated-token-account = "1.0.3"
spl-token = {version = "3.2.0", features = ["no-entrypoint"], default-features = false}
18 changes: 9 additions & 9 deletions farm-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[package]
name = "farm-anchor"
version = "0.1.0"
description = "Anchor bindings for the farm native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
edition = "2021"
homepage = "https://raydium.io/"
keywords = ["solana", "raydium", "farm", "anchor"]
name = "farm-anchor"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
version = "0.1.0"

[lib]
crate-type = ["cdylib", "lib"]
name = "farm_anchor"

[features]
no-entrypoint = []
cpi = ["no-entrypoint"]
no-entrypoint = []

[dependencies]
anchor-lang = "0.24.2"
solana-program = "~1.9.13"
spl-token = { version="3.2.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
anchor-lang = "0.26"
raydium-contract-instructions = {path = "../lib"}
solana-program = "1.14.12"
spl-token = {version = "3.2.0", features = ["no-entrypoint"]}
8 changes: 3 additions & 5 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[package]
edition = "2021"
name = "raydium-contract-instructions"
version = "0.1.0"
edition = "2021"


[dependencies]
solana-program = "~1.9.13"
spl-token = "3.2.0"

solana-program = "1.14.12"
spl-token = "3.3.0"
18 changes: 9 additions & 9 deletions stable-amm-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[package]
name = "stable-amm-anchor"
version = "0.1.0"
description = "Anchor bindings for the stable AMM native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
edition = "2021"
homepage = "https://raydium.io/"
keywords = ["solana", "raydium", "stable", "amm", "anchor"]
name = "stable-amm-anchor"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
version = "0.1.0"

[lib]
crate-type = ["cdylib", "lib"]
name = "stable_amm_anchor"

[features]
no-entrypoint = []
cpi = ["no-entrypoint"]
no-entrypoint = []

[dependencies]
anchor-lang = "0.24.2"
solana-program = "~1.9.13"
spl-token = { version="3.2.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
anchor-lang = "0.26"
raydium-contract-instructions = {path = "../lib"}
solana-program = "1.14.12"
spl-token = {version = "3.2.0", features = ["no-entrypoint"]}
18 changes: 9 additions & 9 deletions staking-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[package]
name = "staking-anchor"
version = "0.1.0"
description = "Anchor bindings for the farm native instruction."
homepage = "https://raydium.io/"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
edition = "2021"
homepage = "https://raydium.io/"
keywords = ["solana", "raydium", "staking", "anchor"]
name = "staking-anchor"
repository = "https://github.com/raydium-io/raydium-contract-instructions"
version = "0.1.0"

[lib]
crate-type = ["cdylib", "lib"]
name = "staking_anchor"

[features]
no-entrypoint = []
cpi = ["no-entrypoint"]
no-entrypoint = []

[dependencies]
anchor-lang = "0.24.2"
solana-program = "~1.9.13"
spl-token = { version="3.2.0", features = [ "no-entrypoint" ] }
raydium-contract-instructions = { path = "../lib"}
anchor-lang = "0.26"
raydium-contract-instructions = {path = "../lib"}
solana-program = "1.14.12"
spl-token = {version = "3.3.0", features = ["no-entrypoint"]}

0 comments on commit 87a0ace

Please sign in to comment.