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

lib Folder to sp1 Template #21

Closed
0xVikasRushi opened this issue Jul 25, 2024 · 1 comment
Closed

lib Folder to sp1 Template #21

0xVikasRushi opened this issue Jul 25, 2024 · 1 comment

Comments

@0xVikasRushi
Copy link

0xVikasRushi commented Jul 25, 2024

I’ve been working with the sp1 template and noticed that managing shared code between program, and script is challenging. I’ve had to copy and paste code frequently, which is inefficient. it would be helpful if you add a lib for common rust code.

currently my folder structure looks something like these

bitcoin-spv/
├── lib/
│   ├── Cargo.toml
│   └── src/
│       └── lib.rs
├── program/
│   ├── Cargo.toml
│   └── src/
│       └── main.rs
├── script/
│   ├── Cargo.toml
│   └── src/
│       ├── bin/
│           ├── prove.rs
│           └── vkey.rs
└── rust-toolchain

@ctian1
Copy link
Member

ctian1 commented Aug 6, 2024

Added in #24!

@ctian1 ctian1 closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants