@@ -79,7 +79,7 @@ available in the **Sapphire foundry** package.
79791 . Install the ** Sapphire Foundry** Soldeer package:
8080
8181 ``` shell
82- forge soldeer install @oasisprotocol-integrations -foundry~0.1.1
82+ forge soldeer install @oasisprotocol-sapphire -foundry~0.1.1
8383 ```
8484
85852 . Your foundry.toml file should now look like this:
@@ -94,7 +94,7 @@ available in the **Sapphire foundry** package.
9494
9595 [dependencies ]
9696 "@oasisprotocol-sapphire-contracts" = " 0.2.14"
97- "@oasisprotocol-integrations -foundry" = " 0.1.1"
97+ "@oasisprotocol-sapphire -foundry" = " 0.1.1"
9898 // highlight-end
9999 ```
100100
@@ -119,20 +119,20 @@ available in the **Sapphire foundry** package.
119119 rustup default nightly
120120 ```
121121
122- Note: ` oasisprotocol-integrations -foundry ` relies on Oasis Sapphire
122+ Note: ` oasisprotocol-sapphire -foundry ` relies on Oasis Sapphire
123123 ` runtime-sdk ` crate which requires nightly toolchain.
124124
1251254 . Install Sapphire precompiles:
126126 ``` shell
127- cd dependencies/@oasisprotocol-integrations -foundry-0.1.1/precompiles
127+ cd dependencies/@oasisprotocol-sapphire -foundry-0.1.1/precompiles
128128 cargo +nightly build --release
129129 ```
130130
131131## Sapphire-specific Tests
132132
133133Users who aren't familiar with confidential benefits of Sapphire
134134should take a moment to review the Ethereum [ comparison page] .
135- The ` @oasisprotocol-integrations -foundry ` package enables
135+ The ` @oasisprotocol-sapphire -foundry ` package enables
136136testing with precompiles and encrypted calls.
137137
138138### Precompiles
@@ -144,7 +144,7 @@ Since Foundry uses un-customized Revm, they are not available by default.
144144To enable them in Forge tests, add the ** import** statement to your test file:
145145
146146``` solidity
147- import {SapphireTest} from "@oasisprotocol-integrations -foundry-0.1.1/BaseSapphireTest.sol";
147+ import {SapphireTest} from "@oasisprotocol-sapphire -foundry-0.1.1/BaseSapphireTest.sol";
148148```
149149
150150and then inherit from ` SapphireTest ` from ` BaseSapphireTest.sol `
@@ -174,7 +174,7 @@ through the fallback function.
174174We need to inherit from it to enable decryption.
175175
176176 ``` solidity
177- import {SapphireDecryptor} from "@oasisprotocol-integrations -foundry-0.1.1/BinaryContracts.sol";
177+ import {SapphireDecryptor} from "@oasisprotocol-sapphire -foundry-0.1.1/BinaryContracts.sol";
178178
179179 contract CustomContract is SapphireDecryptor {
180180 ```
0 commit comments