Skip to content

Commit

Permalink
Merge pull request #1 from NetSepio/v1
Browse files Browse the repository at this point in the history
Added Solana
  • Loading branch information
soumalya340 authored Dec 17, 2024
2 parents 1fb1b99 + 0af2bd0 commit ae29047
Show file tree
Hide file tree
Showing 42 changed files with 19,515 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.anchor
.DS_Store
target
**/*.rs.bk
node_modules
test-ledger
.yarn


Move.lock
build

.env
1 change: 1 addition & 0 deletions Eclipse/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ECLIPSE
7 changes: 7 additions & 0 deletions Eclipse/erebrus_v1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.anchor
.DS_Store
target
**/*.rs.bk
node_modules
test-ledger
.yarn
7 changes: 7 additions & 0 deletions Eclipse/erebrus_v1/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.anchor
.DS_Store
target
node_modules
dist
build
test-ledger
18 changes: 18 additions & 0 deletions Eclipse/erebrus_v1/Anchor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[toolchain]

[features]
resolution = true
skip-lint = false

[programs.localnet]
erebrus_v1 = "Cn9JANYGJkxd6x86RZ4Mtsray6Z1svvfB12rjy1C2PDw"

[registry]
url = "https://api.apr.dev"

[provider]
cluster = "Localnet"
wallet = "~/.config/solana/id.json"

[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
14 changes: 14 additions & 0 deletions Eclipse/erebrus_v1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[workspace]
members = [
"programs/*"
]
resolver = "2"

[profile.release]
overflow-checks = true
lto = "fat"
codegen-units = 1
[profile.release.build-override]
opt-level = 3
incremental = false
codegen-units = 1
12 changes: 12 additions & 0 deletions Eclipse/erebrus_v1/migrations/deploy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Migrations are an early feature. Currently, they're nothing more than this
// single deploy script that's invoked from the CLI, injecting a provider
// configured from the workspace's Anchor.toml.

const anchor = require("@coral-xyz/anchor");

module.exports = async function (provider) {
// Configure client to use the provider.
anchor.setProvider(provider);

// Add your deploy script here.
};
Loading

0 comments on commit ae29047

Please sign in to comment.