Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…chain-anchor into init-version
  • Loading branch information
riversyang committed Jul 27, 2022
2 parents a9eebec + baa4706 commit 8c7b179
Show file tree
Hide file tree
Showing 85 changed files with 25,120 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* @en
* @riversyang
* @hsxyl
24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
.DS_Store
.VSCodeCounter
tmp/

# Generated by Cargo
# will have compiled files and executables
/target/
target/
out/
res/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

node_modules/
neardev/

e2e-tests/nearkeys/shared-test/*
!/e2e-tests/nearkeys/shared-test/test.near.json

e2e-tests/nearkeys/testnet/*
!/e2e-tests/nearkeys/testnet/e2e-test.testnet.json

e2e-tests/nearkeys/local/*

e2e-tests/nearkeys/sandbox/*

# e2e-tests/nearkeys/shared-test-staging/*
# !/e2e-tests/nearkeys/hared-test-staging/test.near.json
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[workspace]
members = [
"appchain-anchor",
"mock-appchain-registry",
"mock-oct-token",
"mock-wrapped-appchain-token"
]
303 changes: 302 additions & 1 deletion README.md

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions appchain-anchor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[package]
name = "appchain-anchor"
version = "1.3.1"
authors = ["Octopus Network"]
edition = "2018"

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
beefy-light-client = { git = "https://github.com/octopus-network/beefy-light-client", tag = "v1.0.1" }
near-sdk = "3.1.0"
near-contract-standards = "3.1.0"
hex = "0.4.2"
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
getrandom = { version = "0.2", features = ["custom"] }
ed25519-dalek = { version = "1.0.1", features = ["alloc"] }

[dev-dependencies]
hex-literal = "0.3.1"
near-sdk = "3.1.0"
near-sdk-sim = "3.1.0"
num-format = "0.4.0"
secp256k1-test = { package = "secp256k1", version = "0.20.3", features = ["rand-std", "recovery"] }
beefy-merkle-tree = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.12", features = ["keccak"], default-features = false }
# remember to include related mock contracts
mock-appchain-registry = { path = "../mock-appchain-registry" }
mock-oct-token = { path = "../mock-oct-token" }
wrapped-appchain-token = { git = "https://github.com/octopus-network/wrapped-appchain-token" }
Loading

0 comments on commit 8c7b179

Please sign in to comment.