Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
11 changes: 11 additions & 0 deletions prisoners_dilemma/.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
encrypted-ixs/arcis_temp_target
build
encrypted-ixs/src/main.rs
artifacts/
7 changes: 7 additions & 0 deletions prisoners_dilemma/.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
19 changes: 19 additions & 0 deletions prisoners_dilemma/Anchor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[toolchain]
package_manager = "yarn"

[features]
resolution = true
skip-lint = false

[programs.localnet]
prisoners_dilemma = "6Qewfu2nWLYw84CNSPfR98FTMGnPy3C29H25ncNwdYKT"

[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 prisoners_dilemma/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 = 2
# 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, 1]
]

# number of seconds to wait for the localnet to come online
localnet_timeout_secs = 60
Loading
Loading