
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
oasis-compile
Advanced tools
Oasis-compile is a truffle compiler extension used to compile both Solidity and Rust contracts with or without confidentiality. It is expected to run within the context of the Oasis Contract-Kit, particularly for the use of compiling Rust contracts.
oasis-compile [command?]
.oasis-build/
.To ensure your contracts are properly compiled, place them in the contracts/
directory, relative to the root of your truffle project. For Rust, this includes your contract crate.
To compile your contracts with confidentiality, prepending b'\0enc'
to a contract's bytecode, name either your solidity contract or rust crate directory of the form confidential_*
or confidential-*
. For example, confidential_MyContract.sol
or confidential-my-rust-contract
.
To integrate this into your truffle project, npm install the package and add the following to your truffle-config.js
:
compilers: {
external: {
command: "./node_modules/.bin/oasis-compile",
targets: [{
path: "./.oasis-build/*.json"
}]
}
}
For examples, see https://github.com/oasislabs/oasis-box.
FAQs
truffle compiler extension for Oasis
The npm package oasis-compile receives a total of 0 weekly downloads. As such, oasis-compile popularity was classified as not popular.
We found that oasis-compile demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.