Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Update README for deploy header #51

Merged
merged 2 commits into from
Feb 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ oasis-compile [command?]

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 compile your contracts with confidentiality, prepending the Oasis deploy header 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`:

Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const utils = require('./utils');
* 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
* To compile your contracts with confidentiality, prepending the Oasis deploy header
* 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.
*
Expand Down