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

Integrate WASM for RUST Contract Deployment in Junction #6

Closed
ComputerKeeda opened this issue Jun 19, 2024 · 0 comments · Fixed by #26
Closed

Integrate WASM for RUST Contract Deployment in Junction #6

ComputerKeeda opened this issue Jun 19, 2024 · 0 comments · Fixed by #26
Assignees

Comments

@ComputerKeeda
Copy link
Member

Description:

We propose to enhance the Airchains Junction by integrating WebAssembly (WASM) to enable RUST-based smart contract deployment. This strategic enhancement will address scalability, security, and performance limitations in our current setup, directly impacting our network's operational efficiency and developer engagement.

Benefits of Integrating WASM:

  • Dynamic Updates: Facilitate quick and safe deployments of contract updates without substantial system disruptions.
  • Secure Execution: Leverage the sandboxed environment of WASM for enhanced security, reducing risks associated with contract execution.
  • Improved Performance: Benefit from the optimized binary format of WASM that ensures faster loading and execution times.
  • Developer Engagement: Attract a broader developer community with the ability to write smart contracts in RUST, known for its safety and efficiency.

Implementation Plan:

  1. Linking WASM with the current app.go file: Develop an interface within the app.go that allows seamless interaction with WASM modules, ensuring that existing functionalities are supported alongside new WASM capabilities.
  2. Creating a New App Wiring for WASM: Since WASM does not currently support DI natively, we'll design a new app wiring framework tailored for WASM operations within our system. This will include handling dependencies manually and ensuring that all components are tightly integrated without performance overhead.

This integration will not only enhance the Junction's capabilities but also pave the way for more innovative developments within the Airchains ecosystem.

ComputerKeeda added a commit that referenced this issue Dec 23, 2024
…grity Checks (#6, #24)

- Added support for WASM integration to enable RUST-based contract deployment.  
- CipherPodLedger module, enabling FHE-based pod settlements in Junction.
- Implemented `LogBlobData` and `IntegrityCheck` functions to improve blob integrity in the DA layer.  
- Resolved bugs in WASM module test cases and added edge-case test coverage.  

Closes #6, #24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants