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

Commit

Permalink
Update README for deploy header (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante authored Feb 26, 2019
1 parent 7e26459 commit 53ab393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 53ab393

Please sign in to comment.