Skip to content

Commit 3d7167a

Browse files
committed
Restore scripts
Signed-off-by: Luis Mastrangelo <luis@swirldslabs.com>
1 parent 28ea5ad commit 3d7167a

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ import {Hsc} from "hedera-forking/Hsc.sol";
204204
* Given how Foundry script works, the flag `--skip-simulation` is necessary.
205205
* For example
206206
*
207-
* forge script CreateTokenScript --rpc-url testnet --skip-simulation --broadcast
207+
* forge script CreateTokenScript --rpc-url testnet --broadcast --skip-simulation
208208
*/
209209
contract CreateTokenScript is Script {
210210
function run() external returns (address signer, int64 responseCode, address tokenAddress) {

examples/foundry-hts/script/CreateToken.s.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import {Hsc} from "hedera-forking/Hsc.sol";
1010
* Given how Foundry script works, the flag `--skip-simulation` is necessary.
1111
* For example
1212
*
13-
* ```sh
1413
* forge script CreateTokenScript --rpc-url testnet --broadcast --skip-simulation
15-
* ```
1614
*/
1715
contract CreateTokenScript is Script {
1816
function run() external returns (address signer, int64 responseCode, address tokenAddress) {

examples/foundry-hts/script/MintToken.s.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ import {Hsc} from "hedera-forking/Hsc.sol";
99
/**
1010
* Replace the variables `$TOKEN_ADDR` and `$AMOUNT` with the desired values.
1111
*
12-
* ```sh
1312
* forge script MintTokenScript --sig "run(address,uint)" $TOKEN_ADDR $AMOUNT --rpc-url testnet --broadcast --skip-simulation
14-
* ```
1513
*/
1614
contract MintTokenScript is Script {
1715
function run(address tokenAddress, uint256 amount) external returns (int64 responseCode, int64 newTotalSupply) {

0 commit comments

Comments
 (0)