Skip to content

Commit

Permalink
revert txfee changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-lee authored Feb 3, 2022
1 parent cd4cc94 commit e67db34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/chia-piggybank/01-Piggybank-QuickStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ This script compiles the piggybank.clsp file to clvm, gets its puzzle hash, and

- ensure that piggybank-test is your working directory
- `python3 -i ./piggybank_drivers.py` - load the piggybank python driver in interactive mode
- `piggybank = deploy_smart_coin("piggybank.clsp", 1)` - deploy the piggybank contract with initial balance of 1
- `piggybank = deploy_smart_coin("piggybank.clsp", 1, 10)` - deploy the piggybank contract with initial balance of 1 mojo for a 10 mojo tx fee
- On success, `parent_coin_info` and `puzzle_hash` are displayed. Note the puzzle hash to use as [your_puzzle_hash] in the final verification step
- Next, we create a contribution coin, which spends funds from our wallet into a contribution coin. Contribution coins are coins earmarked for a specific purpose.
- `contribution_100 = deploy_smart_coin("contribution.clsp", 100)` - create a contribution coin with value of 100 mojos
- `contribution_100 = deploy_smart_coin("contribution.clsp", 100, 10)` - create a contribution coin with value of 100 mojos for a 10 mojo tx fee
- `deposit(piggybank, contribution_100)` - move the value from the contribution coin into the piggybank
- Note this step requires a synced blockchain. You can check the sync status in a new terminal with `chia show -s`

Expand Down

0 comments on commit e67db34

Please sign in to comment.