Skip to content

Commit

Permalink
update core
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aboelenein committed Apr 6, 2024
1 parent 7a9f737 commit ceb8fab
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 28 deletions.
2 changes: 1 addition & 1 deletion example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 15 additions & 19 deletions example/src/components/MintRunes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,21 @@ const MintRunes = ({ addresses, network }: Props) => {
<>
<div className="card">
<h3>Mint Runes</h3>
{!fundTxId && (
<>
<div>
<h4>feeRate (sats/vb)</h4>
<input type="number" value={feeRate} onChange={(e) => setFeeRate(e.target.value)} />
</div>
<div>
<h4>Rune Name</h4>
<input type="text" value={runeName} onChange={(e) => setRuneName(e.target.value)} />
</div>
<div>
<h4>Repeat</h4>
<input type="number" value={repeats} onChange={(e) => setRepeats(e.target.value)} />
</div>
<button onClick={onClickEstimate} disabled={!runeName || !feeRate || !repeats}>
Estimate Mint
</button>
</>
)}
<div>
<h4>feeRate (sats/vb)</h4>
<input type="number" value={feeRate} onChange={(e) => setFeeRate(e.target.value)} />
</div>
<div>
<h4>Rune Name</h4>
<input type="text" value={runeName} onChange={(e) => setRuneName(e.target.value)} />
</div>
<div>
<h4>Repeat</h4>
<input type="number" value={repeats} onChange={(e) => setRepeats(e.target.value)} />
</div>
<button onClick={onClickEstimate} disabled={!runeName || !feeRate || !repeats}>
Estimate Mint
</button>
</div>

{totalCost && (
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
]
},
"dependencies": {
"@sats-connect/core": "0.0.3-9ea8b00",
"@sats-connect/core": "0.0.3-f7e8b0c",
"@sats-connect/ui": "0.0.2-42ab886"
},
"devDependencies": {
Expand Down

0 comments on commit ceb8fab

Please sign in to comment.