Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logistic Regression MVP #2

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
3 changes: 3 additions & 0 deletions predictor/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[registries.arcium]
index = "sparse+https://crates.arcium.com/api/v1/crates/"
credential-provider = ["cargo:token"]
2 changes: 2 additions & 0 deletions predictor/.cargo/credentials.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[registry.arcium]
token = ""
11 changes: 11 additions & 0 deletions predictor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.anchor
.DS_Store
target
**/*.rs.bk
node_modules
test-ledger
.yarn
confidential-ixs/arcis_temp_target
confidential-ixs/build
confidential-ixs/src/main.rs
artifacts/
7 changes: 7 additions & 0 deletions predictor/.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 predictor/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]
predictor = "2aa8kGEfyFnfnfDf1rqoWoU3oQZmEWHK5fWHPSAUTHPw"

[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"
13 changes: 13 additions & 0 deletions predictor/Arcium.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[localnet]
# this generates all accounts needed to run a node
# nodes corresponds to the number as u32 of nodes in the network
nodes = 1
# each nested array represents a cluster of nodes
# index of the array corresponds to the cluster index
# the u32s in each nested array corresponds to the node offset in that given cluster
clusters = [
[0]
]

# number of seconds to wait for the DA server to come online
da_server_timeout_secs = 10
Loading