Skip to content

Commit

Permalink
fix: rename brand
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Aug 31, 2023
1 parent 887e9d9 commit dbfda8d
Show file tree
Hide file tree
Showing 23 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: kyranjamie/pull-request-fixed-header@v1.0.1
with:
header: '> Try out this version of the Hiro Wallet - download [extension builds](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).'
header: '> Try out this version of the Leather — download [extension builds](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build_chrome_extension:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: peter-evans/close-issue@v1
with:
comment: |
First, check to make sure you're using the latest version of Hiro Wallet for Web,
First, check to make sure you're using the latest version of Leather,
which can be found at https://www.hiro.so/wallet/install-web
If you're using the latest version, make sure to include more relevant information about
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sends a notification to Discord whenever a new version of the Hiro Wallet is available in FireFox or Chrome stores
# Sends a notification to Discord whenever a new version of the Leather is available in FireFox or Chrome stores

name: Notify on Release
on:
Expand Down Expand Up @@ -50,11 +50,11 @@ jobs:
DISCORD_AVATAR: 'https://i.imgur.com/z9Iy6ug.png'
DISCORD_EMBEDS: |
[{
"title": "Hiro Wallet for Firefox",
"title": "Leather for Firefox",
"url": "https://addons.mozilla.org/en-US/firefox/addon/hiro-wallet/"
}]
with:
args: ':rocket: A new version (${{ steps.firefox.outputs.new_version }}) of the Hiro Wallet is available on the Firefox Web Store!'
args: ':rocket: A new version (${{ steps.firefox.outputs.new_version }}) of the Leather is available on the Firefox Web Store!'

- name: Firefox Discord notification - userx-notifs
if: steps.firefox.outputs.is_new
Expand All @@ -65,11 +65,11 @@ jobs:
DISCORD_AVATAR: 'https://i.imgur.com/z9Iy6ug.png'
DISCORD_EMBEDS: |
[{
"title": "Hiro Wallet for Firefox",
"title": "Leather for Firefox",
"url": "https://addons.mozilla.org/en-US/firefox/addon/hiro-wallet/"
}]
with:
args: ':rocket: A new version (${{ steps.firefox.outputs.new_version }}) of the Hiro Wallet is available on the Firefox Web Store!'
args: ':rocket: A new version (${{ steps.firefox.outputs.new_version }}) of the Leather is available on the Firefox Web Store!'

chrome-notify:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -127,11 +127,11 @@ jobs:
DISCORD_AVATAR: 'https://i.imgur.com/z9Iy6ug.png'
DISCORD_EMBEDS: |
[{
"title": "Hiro Wallet for Chrome",
"title": "Leather for Chrome",
"url": "https://chrome.google.com/webstore/detail/hiro-wallet/ldinpeekobnhjjdofggfgjlcehhmanlj"
}]
with:
args: ':rocket: A new version (${{ steps.chrome.outputs.new_version }}) of the Hiro Wallet is available on the Chrome Web Store!'
args: ':rocket: A new version (${{ steps.chrome.outputs.new_version }}) of the Leather is available on the Chrome Web Store!'

- name: Chrome Discord notification - userx-notifs
if: steps.chrome.outputs.is_new
Expand All @@ -142,8 +142,8 @@ jobs:
DISCORD_AVATAR: 'https://i.imgur.com/z9Iy6ug.png'
DISCORD_EMBEDS: |
[{
"title": "Hiro Wallet for Chrome",
"title": "Leather for Chrome",
"url": "https://chrome.google.com/webstore/detail/hiro-wallet/ldinpeekobnhjjdofggfgjlcehhmanlj"
}]
with:
args: ':rocket: A new version (${{ steps.chrome.outputs.new_version }}) of the Hiro Wallet is available on the Chrome Web Store!'
args: ':rocket: A new version (${{ steps.chrome.outputs.new_version }}) of the Leather is available on the Chrome Web Store!'
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Hiro Wallet—Web
# Leather

[![Chrome Web Store](https://img.shields.io/chrome-web-store/stars/ldinpeekobnhjjdofggfgjlcehhmanlj?label=Chrome%20Web%20Store)](https://chrome.google.com/webstore/detail/stacks-wallet/ldinpeekobnhjjdofggfgjlcehhmanlj)
[![Mozilla Add-on](https://img.shields.io/amo/stars/hiro-wallet?label=Firefox%20Add-on)](https://addons.mozilla.org/en-US/firefox/addon/hiro-wallet/)
[![coverage](https://raw.githubusercontent.com/hirosystems/wallet/gh-pages/badge.svg)](https://hirosystems.github.io/wallet/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

Hiro Wallet is the most popular and trusted wallet for apps built on Bitcoin. Connect to apps and manage assets secured by Bitcoin and Bitcoin L2s with battle-tested wallet for the Stacks blockchain.
Leather is the most popular and trusted wallet for apps built on Bitcoin. Connect to apps and manage assets secured by Bitcoin and Bitcoin L2s with battle-tested wallet for the Stacks blockchain.

To integrate this wallet into your app, we recommend [@stacks/connect](https://github.com/hirosystems/connect).

[📚 See Hiro Wallet Developer Documentation →](https://hirowallet.gitbook.io/developers)
[📚 See Leather Developer Documentation →](https://hirowallet.gitbook.io/developers)

[📩 Join the mailing list for updates →](https://forms.gle/sdZPu2jbX1AeQ8Fi9)

Expand Down Expand Up @@ -42,7 +42,7 @@ yarn dev:test-app

### Loading extension in your browser

You'll need to add it to your browser of choice. Hiro Wallet only
You'll need to add it to your browser of choice. Leather only
supports Chromium and Firefox browsers. When you run `yarn dev`, it will compile the application to the `/dist` folder

- [Chrome instructions](https://developer.chrome.com/docs/extensions/mv3/faq/#faq-dev-01)
Expand Down Expand Up @@ -95,6 +95,6 @@ Please note this email is strictly for reporting security vulnerabilities. For s

### Audit Report

In Q1 2021, Hiro partnered with [Least Authority](https://leastauthority.com/), a leading security consultancy with experience in the crypto space, to audit Hiro Wallet for Web. On April 29th 2021, after addressing the major concerns described in the initial findings, as well as a concluding sign off from the Least Authority team, a final report was delivered.
In Q1 2021, Hiro partnered with [Least Authority](https://leastauthority.com/), a leading security consultancy with experience in the crypto space, to audit Leather. On April 29th 2021, after addressing the major concerns described in the initial findings, as well as a concluding sign off from the Least Authority team, a final report was delivered.

[Download and read the full report here](https://github.com/hirosystems/wallet/blob/main/public/docs/least-authority-security-audit-report.pdf)
4 changes: 2 additions & 2 deletions config/wallet-config.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Hiro Wallet messages
# Leather messages

All Hiro Wallet instances make HTTP requests to the file located in `config/wallet-config.json`. If there are messages, either global or pinned to a matching version, they will be displayed on the wallet's home screen.
All Leather instances make HTTP requests to the file located in `config/wallet-config.json`. If there are messages, either global or pinned to a matching version, they will be displayed on the wallet's home screen.

If there are no messages, the object should be empty: `{}`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stacks/wallet-web",
"description": "The Hiro Wallet is browser extension for interacting with Stacks apps",
"description": "Leather is browser extension for interacting with Stacks apps",
"private": true,
"version": "6.4.0",
"author": "Hiro Systems PBC",
Expand Down
2 changes: 1 addition & 1 deletion public/html/debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<body style="padding: 50px">
<form class="decrypt-mnemonic-form">
<fieldset>
<legend>Decrypt Hiro Wallet mnemonic</legend>
<legend>Decrypt Leather mnemonic</legend>
<p>
<label
>Encrypted Secret Key<br />
Expand Down
2 changes: 1 addition & 1 deletion src/app/features/errors/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const openGithubIssue = ({
describes the bug.
-->
An error occurred while using Hiro Wallet for Web (\`${VERSION}\`).
An error occurred while using Leather for Web (\`${VERSION}\`).
### Error
> ${message}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function ConnectLedgerErrorLayout(props: ConnectLedgerErrorLayoutProps) {
p="extra-loose"
>
<PossibleReasonUnableToConnect text="Check if Ledger Live is open. Close it and try again" />
<PossibleReasonUnableToConnect text="Ensure you only have one instance of the Hiro Wallet open" />
<PossibleReasonUnableToConnect text="Ensure you only have one instance of Leather open" />
<PossibleReasonUnableToConnect text="Verify the Stacks app is installed and open" />
<PossibleReasonUnableToConnect text="Check you've approved the browser USB pop up" />
</Stack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function ConnectLedgerLayout(props: ConnectLedgerLayoutProps) {
<Box width="100%">
<Divider />
<Caption mb="tight" mt="loose">
First time using Ledger on Hiro Wallet?
First time using Ledger on Leather?
</Caption>
<ExternalLink
href="https://www.hiro.so/wallet-faq/how-can-i-use-my-ledger-device-with-hiro-wallet"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function PublicKeyMismatchLayout({ onClose, onTryAgain }: PublicKeyMismat
</Box>
<Title mt="extra-loose">Public key does not match</Title>
<Text mt="base-tight" lineHeight="24px" color={color('text-caption')}>
Ensure you're using the same Ledger you used when setting up the Hiro Wallet
Ensure you're using the same Ledger you used when setting up the Leather
</Text>
<Flex mt="base-loose">
<Button mode="tertiary" mr="base-tight" onClick={onClose}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function UnsupportedBrowserLayout() {
mx="extra-loose"
color={figmaTheme.textSubdued}
>
To connect your Ledger with the Hiro Wallet try{' '}
To connect your Ledger with the Leather try{' '}
<ExternalLink href="https://www.google.com/chrome/">Chrome</ExternalLink> or{' '}
<ExternalLink href="https://brave.com/download/">Brave</ExternalLink>.
</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export function RetrieveTaprootToNativeSegwitLayout(
Retrieve Bitcoin deposited to <br /> Taproot addresses
</Title>
<Body mt="loose">
Taproot addresses are used by Hiro Wallet for Ordinal inscriptions, but they can also
contain bitcoin.
Taproot addresses are used by Leather for Ordinal inscriptions, but they can also contain
bitcoin.
</Body>
<Body mt="base">
As we don't support tranferring from Taproot addresses yet, you can retrieve funds to your
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/unauthorized-request/unauthorized-request.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { Box } from '@stacks/ui';

import { GenericError } from '@app/components/generic-error/generic-error';

const body = `The transaction request was not properly authorized by any of your Hiro Wallet accounts. This typically happens if you've logged into this app before using another account.`;
const body = `The transaction request was not properly authorized by any of your Leather accounts. This typically happens if you've logged into this app before using another account.`;
const helpTextList = [
<Box as="li" mt="base" key={1}>
Sign out of the app and sign back in to re-authenticate into the application. This should help
you successfully sign your transaction with the Hiro Wallet.
you successfully sign your transaction with the Leather.
</Box>,
];
const title = 'Unauthorized request';
Expand Down
2 changes: 1 addition & 1 deletion src/app/store/utils/vault-reducer-migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function migrateVaultReducerStoreToNewStateStructure(initialState: typeof

if (salt && encryptedSecretKey) {
logger.debug(
'VaultReducer generated Hiro Wallet detected. Running migration to keys store structure'
'VaultReducer generated Leather detected. Running migration to keys store structure'
);
const migratedState = {
ids: ['default'],
Expand Down
2 changes: 1 addition & 1 deletion src/background/messaging/rpc-message-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function rpcMessageHandler(message: WalletRequests, port: chrome.ru
id: message.id,
error: {
code: RpcErrorCode.METHOD_NOT_FOUND,
message: `"${message.method}" is not supported. Try running \`.request('supportedMethods')\` to see what Hiro Wallet can do, or check out our developer documentation at https://hirowallet.gitbook.io/developers`,
message: `"${message.method}" is not supported. Try running \`.request('supportedMethods')\` to see what Leather can do, or check out our developer documentation at https://hirowallet.gitbook.io/developers`,
},
})
);
Expand Down
2 changes: 1 addition & 1 deletion src/background/messaging/rpc-methods/sign-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function rpcSignMessage(message: SignMessageRequest, port: chrome.r
error: {
code: RpcErrorCode.INVALID_PARAMS,
message:
'Unsupported payment type. Hiro Wallet only supports signing messages for Native Segwit (p2wpkh) and Taproot (p2tr) addresses.',
'Unsupported payment type. Leather only supports signing messages for Native Segwit (p2wpkh) and Taproot (p2tr) addresses.',
},
})
);
Expand Down
2 changes: 1 addition & 1 deletion src/content-scripts/content-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ function addHiroWalletToPage() {
document.body.appendChild(inpage);
}

// Don't block thread to add Hiro Wallet to page
// Don't block thread to add Leather to page
requestAnimationFrame(() => addHiroWalletToPage());
2 changes: 1 addition & 1 deletion src/inpage/inpage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const provider: HiroWalletProviderOverrides = {
getProductInfo() {
return {
version: VERSION,
name: 'Hiro Wallet',
name: 'Leather',
meta: {
tag: BRANCH,
commit: COMMIT_SHA,
Expand Down
2 changes: 1 addition & 1 deletion src/shared/rpc/rpc-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { AcceptBitcoinContract } from './methods/accept-bitcoin-contract';
import { SignPsbt } from './methods/sign-psbt';
import { SupportedMethods } from './methods/supported-methods';

// Supports BtcKit methods, as well as custom Hiro Wallet methods
// Supports BtcKit methods, as well as custom Leather methods
export type WalletMethodMap = BtcKitMethodMap & SupportedMethods & SignPsbt & AcceptBitcoinContract;

export type WalletRequests = ValueOf<WalletMethodMap>['request'];
Expand Down
2 changes: 1 addition & 1 deletion src/shared/utils/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { decodeToken } from 'jsontokens';
// to `@stacks/network` had some undesired consequence.
// As `StacksNetwork` is a class instance, this is auto
// serialized when being passed across `postMessage`,
// from the developer's app, to the Hiro Wallet.
// from the developer's app, to the Leather.
// `coreApiUrl` now uses a getter, rather than a prop,
// and `_coreApiUrl` is a private value.
// To support both `@stacks/network` versions a dev may be using
Expand Down
2 changes: 1 addition & 1 deletion test-app/src/components/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Auth: React.FC = () => {
return (
<Box>
<Text display="block" textStyle="body.large">
Sign in with your Hiro Wallet to try out a demo of the Stacks 2.0 blockchain.
Sign in with your Leather to try out a demo of the Stacks 2.0 blockchain.
</Text>
<ButtonGroup spacing={'base'} mt={'base-loose'}>
<Button
Expand Down
2 changes: 1 addition & 1 deletion webpack/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const config = {
new HtmlWebpackPlugin({
template: path.join(SRC_ROOT_PATH, '../', 'public', 'html', 'debug.html'),
filename: 'debug.html',
title: 'Hiro Wallet—Debugger',
title: 'Leather—Debugger',
chunks: ['debug'],
}),
new GenerateJsonPlugin(
Expand Down

0 comments on commit dbfda8d

Please sign in to comment.