Skip to content

Commit

Permalink
ADN-625-rename-gnoland (#622)
Browse files Browse the repository at this point in the history
Co-authored-by: jinoosss <[email protected]>
  • Loading branch information
dongwon8247 and jinoosss authored Nov 6, 2024
1 parent 32b39ab commit 6005f53
Show file tree
Hide file tree
Showing 26 changed files with 95 additions and 100 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Introduction

**Adena** is a friendly, open-source, non-custodial Gnoland wallet, built for Gnomes worldwide. Adena exists to power millions of realms (smart contracts in gnolang) and tokens that will flourish the Gnoland ecosystem with a quality interface, NFT & custom token support, and a seamless integration procedure.
**Adena** is a friendly, open-source, non-custodial gno.land wallet, built for Gnomes worldwide. Adena exists to power millions of realms (smart contracts in gnolang) and tokens that will flourish the gno.land ecosystem with a quality interface, NFT & custom token support, and a seamless integration procedure.

For users, Adena makes managing crypto as simple as keeping and sending money on Paypal or Venmo.
Expand Down Expand Up @@ -41,6 +41,7 @@ Also, follow us on our [Twitter](https://twitter.com/adenaapp) and [Medium](http
⬜ View & Transfer NFTs <br>
⬜ In-app Swap

## Building Locally

To set up a local environment, clone this repository and run the following commands:
Expand Down Expand Up @@ -81,4 +82,4 @@ We welcome contributions from the community and are always eager to hear your id

- Read our contributing guidelines: Our [CONTRIBUTING.md](https://github.com/onbloc/adena-wallet/blob/main/CONTRIBUTING.md) file provides information on how to contribute to the project, including submitting pull requests, reporting issues, and suggesting improvements.
- Open an issue: If you encounter a bug, have a feature request, or want to suggest improvements, feel free to open an [issue](https://github.com/onbloc/adena-wallet/issues) on our GitHub repository.
- Join our community: For discussions, questions, or support, join our [channel](https://discord.com/invite/6eTSyZ3569) on Gnoland's Discord server. We're excited to collaborate and help!
- Join our community: For discussions, questions, or support, join our [channel](https://discord.com/invite/6eTSyZ3569) on gno.land's Discord server. We're excited to collaborate and help!
2 changes: 1 addition & 1 deletion packages/adena-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "adena-extension",
"version": "1.12.0",
"private": true,
"description": "Adena is a friendly browser extension wallet for the Gnoland blockchain.",
"description": "Adena is a friendly browser extension wallet for the gno.land blockchain.",
"scripts": {
"storybook": "storybook dev -p 6006",
"lint": "eslint src/**/*.{js,jsx,ts,tsx,json}",
Expand Down
2 changes: 1 addition & 1 deletion packages/adena-extension/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Adena",
"description": "Adena is a friendly browser extension wallet for the Gnoland blockchain.",
"description": "Adena is a friendly browser extension wallet for the gno.land blockchain.",
"manifest_version": 3,
"version": "1.12.0",
"action": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const GNOT_TOKEN = {
name: 'Gnoland',
name: 'gno.land',
denom: 'ugnot',
symbol: 'GNOT',
decimals: 6,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ChangeNetwork, { type ChangeNetworkProps } from './change-network';
import { Meta, StoryObj } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import ChangeNetwork, { type ChangeNetworkProps } from './change-network';

export default {
title: 'components/change-network/ChangeNetwork',
Expand All @@ -16,7 +16,7 @@ export const Default: StoryObj<ChangeNetworkProps> = {
id: 'test3',
default: true,
main: true,
chainId: 'GNOLAND',
chainId: 'chainId',
chainName: 'GNO.LAND',
networkId: 'test3',
networkName: 'Testnet 3',
Expand All @@ -31,7 +31,7 @@ export const Default: StoryObj<ChangeNetworkProps> = {
id: 'test2',
default: true,
main: true,
chainId: 'GNOLAND',
chainId: 'chainId',
chainName: 'GNO.LAND',
networkId: 'test2',
networkName: 'Testnet 2',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import NetworkList, { type NetworkListProps } from './network-list';
import { Meta, StoryObj } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import NetworkList, { type NetworkListProps } from './network-list';

export default {
title: 'components/change-network/NetworkList',
Expand All @@ -15,7 +15,7 @@ export const Default: StoryObj<NetworkListProps> = {
id: 'test3',
default: true,
main: true,
chainId: 'GNOLAND',
chainId: 'chainId',
chainName: 'GNO.LAND',
networkId: 'test3',
networkName: 'Testnet 3',
Expand All @@ -30,7 +30,7 @@ export const Default: StoryObj<NetworkListProps> = {
id: 'test2',
default: true,
main: true,
chainId: 'GNOLAND',
chainId: 'chainId',
chainName: 'GNO.LAND',
networkId: 'test2',
networkName: 'Testnet 2',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import React from 'react';
import { GlobalPopupStyle } from '@styles/global-style';
import theme from '@styles/theme';
import { render } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import { ThemeProvider } from 'styled-components';
import { render } from '@testing-library/react';
import theme from '@styles/theme';
import { GlobalPopupStyle } from '@styles/global-style';
import ManageTokenListItem, { ManageTokenListItemProps } from './manage-token-list-item';

const token = {
tokenId: 'token1',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
symbol: 'GNOT',
balanceAmount: {
value: '240,255.241155',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ManageTokenListItem, { type ManageTokenListItemProps } from './manage-token-list-item';
import { Meta, StoryObj } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import ManageTokenListItem, { type ManageTokenListItemProps } from './manage-token-list-item';

export default {
title: 'components/manage-token/ManageTokenListItem',
Expand All @@ -10,7 +10,7 @@ export default {
const token = {
tokenId: 'token1',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
symbol: 'GNOT',
balanceAmount: {
value: '240,255.241155',
Expand Down Expand Up @@ -44,4 +44,4 @@ export const Deactivated: StoryObj<ManageTokenListItemProps> = {
},
onToggleActiveItem: action('token item click'),
},
};
};
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import React from 'react';
import { GlobalPopupStyle } from '@styles/global-style';
import theme from '@styles/theme';
import { render } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import { ThemeProvider } from 'styled-components';
import { render } from '@testing-library/react';
import theme from '@styles/theme';
import { GlobalPopupStyle } from '@styles/global-style';
import ManageTokenList, { ManageTokenListProps } from './manage-token-list';

const tokens = [
{
tokenId: 'token1',
symbol: 'GNOT',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
balanceAmount: {
value: '240,255.241155',
denom: 'GNOT',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ManageTokenList, { type ManageTokenListProps } from './manage-token-list';
import { Meta, StoryObj } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import ManageTokenList, { type ManageTokenListProps } from './manage-token-list';

export default {
title: 'components/manage-token/ManageTokenList',
Expand All @@ -12,13 +12,14 @@ const tokens = [
tokenId: 'token1',
symbol: 'GNOT',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
balanceAmount: {
value: '240,255.241155',
denom: 'GNOT',
},
activated: true,
}, {
},
{
tokenId: 'token2',
symbol: 'GNOS',
logo: 'https://avatars.githubusercontent.com/u/118414737?s=200&v=4',
Expand All @@ -36,4 +37,4 @@ export const Default: StoryObj<ManageTokenListProps> = {
tokens,
onToggleActiveItem: action('token item click'),
},
};
};
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import React from 'react';
import { GlobalPopupStyle } from '@styles/global-style';
import theme from '@styles/theme';
import { render } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import { ThemeProvider } from 'styled-components';
import { render } from '@testing-library/react';
import theme from '@styles/theme';
import { GlobalPopupStyle } from '@styles/global-style';
import ManageTokenSearch, { ManageTokenSearchProps } from '.';

const tokens = [
{
tokenId: 'token1',
symbol: 'GNOT',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
balanceAmount: {
value: '240,255.241155',
denom: 'GNOT',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ManageTokenSearch, { type ManageTokenSearchProps } from '.';
import { Meta, StoryObj } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import ManageTokenSearch, { type ManageTokenSearchProps } from '.';

export default {
title: 'components/manage-token/ManageTokenSearch',
Expand All @@ -12,7 +12,7 @@ const tokens = [
tokenId: 'token1',
symbol: 'GNOT',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
balanceAmount: {
value: '240,255.241155',
denom: 'GNOT',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useEffect, useRef } from 'react';
import { AddressInputWrapper } from './address-input.styles';
import TransferAddressBookIcon from '@assets/transfer-address-book.svg';
import CancelIcon from '@assets/cancel-small.svg';
import TransferAddressBookIcon from '@assets/transfer-address-book.svg';
import AddressBookList from '@components/pages/transfer-input/address-book-list/address-book-list';
import React, { useEffect, useRef } from 'react';
import { AddressInputWrapper } from './address-input.styles';

export interface AddressInputProps {
opened: boolean;
Expand Down Expand Up @@ -58,7 +58,7 @@ const AddressInput: React.FC<AddressInputProps> = ({
className='address-input'
value={address}
onChange={(event): void => onChangeAddress(event.target.value)}
placeholder='Recipient’s Gnoland Address'
placeholder='Recipient’s gno.land Address'
autoComplete='off'
maxLength={40}
rows={1}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { GlobalPopupStyle } from '@styles/global-style';
import theme from '@styles/theme';
import { render } from '@testing-library/react';
Expand All @@ -12,9 +11,9 @@ describe('TransferInput Component', () => {
tokenMetainfo: {
main: true,
display: false,
tokenId: 'Gnoland',
tokenId: 'tokenId',
networkId: 'DEFAULT',
name: 'Gnoland',
name: 'gno.land',
image: '',
symbol: 'GNOT',
type: 'gno-native',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const Default: StoryObj<TransferInputProps> = {
tokenMetainfo: {
main: true,
display: false,
tokenId: 'Gnoland',
tokenId: 'tokenId',
networkId: 'DEFAULT',
name: 'Gnoland',
name: 'gno.land',
image: '',
symbol: 'GNOT',
type: 'gno-native',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import React from 'react';
import { GlobalPopupStyle } from '@styles/global-style';
import theme from '@styles/theme';
import { render } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import { ThemeProvider } from 'styled-components';
import { render } from '@testing-library/react';
import theme from '@styles/theme';
import { GlobalPopupStyle } from '@styles/global-style';
import TransferSummary, { TransferSummaryProps } from './transfer-summary';

describe('TransferSummary Component', () => {
it('TransferSummary render', () => {
const args: TransferSummaryProps = {
tokenMetainfo: {
main: true,
tokenId: 'Gnoland',
tokenId: 'tokenId',
networkId: 'DEFAULT',
name: 'Gnoland',
name: 'gno.land',
image: '',
symbol: 'GNOT',
type: 'gno-native',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import TransferSummary, { type TransferSummaryProps } from './transfer-summary';
import { Meta, StoryObj } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import TransferSummary, { type TransferSummaryProps } from './transfer-summary';

export default {
title: 'components/transfer/TransferSummary',
Expand All @@ -14,15 +13,16 @@ export const Default: StoryObj<TransferSummaryProps> = {
tokenMetainfo: {
main: true,
display: false,
tokenId: 'Gnoland',
tokenId: 'tokenId',
networkId: 'DEFAULT',
name: 'Gnoland',
name: 'gno.land',
image: '',
symbol: 'GNOT',
type: 'gno-native',
decimals: 6,
},
tokenImage: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
tokenImage:
'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
transferBalance: {
value: '4,000.123',
denom: 'GNOT',
Expand All @@ -41,4 +41,4 @@ export const Default: StoryObj<TransferSummaryProps> = {
<TransferSummary {...args} />
</div>
),
};
};
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import React from 'react';
import { GlobalPopupStyle } from '@styles/global-style';
import theme from '@styles/theme';
import { render } from '@testing-library/react';
import { RecoilRoot } from 'recoil';
import { ThemeProvider } from 'styled-components';
import { render } from '@testing-library/react';
import theme from '@styles/theme';
import { GlobalPopupStyle } from '@styles/global-style';
import TokenListItem, { TokenListItemProps } from './token-list-item';

const token = {
tokenId: 'token1',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
balanceAmount: {
value: '240,255.241155',
denom: 'GNOT',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TokenListItem, { type TokenListItemProps } from './token-list-item';
import { Meta, StoryObj } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import TokenListItem, { type TokenListItemProps } from './token-list-item';

export default {
title: 'components/common/TokenListItem',
Expand All @@ -10,7 +10,7 @@ export default {
const token = {
tokenId: 'token1',
logo: 'https://raw.githubusercontent.com/onbloc/gno-token-resource/main/gno-native/images/gnot.svg',
name: 'Gnoland',
name: 'gno.land',
balanceAmount: {
value: '240,255.241155',
denom: 'GNOT',
Expand Down
Loading

0 comments on commit 6005f53

Please sign in to comment.