Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashutoshvarma/ink-cross-contract-example-no-circular-dep
https://github.com/ashutoshvarma/ink-cross-contract-example-no-circular-dep
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashutoshvarma/ink-cross-contract-example-no-circular-dep
- Owner: ashutoshvarma
- Created: 2023-03-07T04:39:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-15T08:57:54.000Z (11 months ago)
- Last Synced: 2023-12-15T09:57:42.437Z (11 months ago)
- Language: Rust
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Cross Contract (to-and-fro) - ink!
Two ink! smart contract call each other without directly importing each other.
## Project Structure
```
├── contracts // contracts, individual cargo crates
│ ├── one
│ └── two
├── traits // common traits definitions
│ ├── mod.rs
│ ├── one.rs
│ └── two.rs
├── .gitignore
├── Cargo.lock
├── Cargo.toml
├── README.md
└── lib.rs // root project to export traits
```Learn more about how to organize ink!-openbrush projects - https://docs.openbrush.io/smart-contracts/example/setup_project