Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Allow inscriptions on Testnet (#14)
Browse files Browse the repository at this point in the history
* Allow inscriptions on Testnet

* Update to correct sats-connect version
  • Loading branch information
victorkirov authored Nov 9, 2023
1 parent 469ae2e commit e539804
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 26 deletions.
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 @@ -11,7 +11,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"sats-connect": "^1.1.1",
"sats-connect": "1.1.2",
"typescript": "^4.9.5"
},
"scripts": {
Expand Down
9 changes: 0 additions & 9 deletions src/components/createFileInscription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,6 @@ const CreateBinaryInscription = ({ network, capabilities }: Props) => {
reader.readAsDataURL(selectedFile);
};

if (network !== BitcoinNetworkType.Mainnet) {
return (
<div className="container">
<h3>Create file inscription</h3>
<b>This is only available in Mainnet</b>
</div>
);
}

if (!capabilities.has("createInscription")) {
return (
<div className="container">
Expand Down
9 changes: 0 additions & 9 deletions src/components/createTextInscription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ const CreateTextInscription = ({ network, capabilities }: Props) => {
}
};

if (network !== BitcoinNetworkType.Mainnet) {
return (
<div className="container">
<h3>Create text inscription</h3>
<b>This is only available in Mainnet</b>
</div>
);
}

if (!capabilities.has("createInscription")) {
return (
<div className="container">
Expand Down

0 comments on commit e539804

Please sign in to comment.