Skip to content

.env: make it mainnet by default #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .env
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
REACT_APP_WC_PROJECT_ID=
# production project ID, can only be used by panel.fs.neo.org
REACT_APP_WC_PROJECT_ID=8e39af16af0819871be6f2da61a3a038

REACT_APP_URL=http://localhost:3000
REACT_APP_RESTGW=https://rest.t5.fs.neo.org/v1
REACT_APP_HTTPGW=https://http.t5.fs.neo.org
REACT_APP_URL=https://panel.fs.neo.org/
REACT_APP_RESTGW=https://rest.fs.neo.org/v1
REACT_APP_HTTPGW=https://http.fs.neo.org

# NeoFS t5 Contract
REACT_APP_NEOFS_ACCOUNT=NZAUkYbJ1Cb2HrNmwZ1pg9xYHBhm2FgtKV
REACT_APP_NEOFS_SCRIPT_HASH=0x3c3f4b84773ef0141576e48c3ff60e5078235891
# Mainnet NeoFS contract
REACT_APP_NEOFS_ACCOUNT=NNxVrKjLsRkWsmGgmuNXLcMswtxTGaNQLk
REACT_APP_NEOFS_SCRIPT_HASH=0x2cafa46838e8b564468ebd868dcafdd99dce6221
REACT_APP_NEOFS_GAS_TOKEN=0xd2a4cff31913016155e38e474a2c06d08be276cf
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
Changelog for NeoFS Panel

## [Unreleased]

## [0.3.0] - 2023-12-25

## Fixed
- Incompatibility with new WC version (#112)

## Changed
- Use mainnet by default (#116)

## [0.2.1] - 2023-10-18

Expand Down Expand Up @@ -46,4 +54,5 @@ First public review release.
[0.1.0]: https://github.com/nspcc-dev/panel-fs-neo-org/tree/v0.1.0
[0.2.0]: https://github.com/nspcc-dev/panel-fs-neo-org/tree/v0.2.0
[0.2.1]: https://github.com/nspcc-dev/panel-fs-neo-org/tree/v0.2.1
[Unreleased]: https://github.com/nspcc-dev/panel-fs-neo-org/compare/v0.2.1...master
[0.3.0]: https://github.com/nspcc-dev/panel-fs-neo-org/tree/v0.3.0
[Unreleased]: https://github.com/nspcc-dev/panel-fs-neo-org/compare/v0.3.0...master
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import './App.css';
export const App = () => {
const location = useLocation();
const wcSdk = useWalletConnect();
const [activeNet] = useState('neo3:testnet');
const [activeNet] = useState('neo3:mainnet');

const [ContentTypeHeader] = useState("Content-Type");
const [AuthorizationHeader] = useState("Authorization");
Expand Down
5 changes: 0 additions & 5 deletions src/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,6 @@ const Profile = ({
onClick={onDisconnectWallet}
/>
</Heading>
{walletData.net !== 'testnet' && (
<Box style={{ fontSize: 14, wordBreak: 'break-all', background: '#f14668', color: '#fff' }}>
<div>{`You use ${walletData.net === 'private' ? 'private net' : walletData.net}. For a better experience, use testnet.`}</div>
</Box>
)}
<Heading size={6} style={{ marginBottom: 15 }}>
{`Address: `}
<span style={{ fontWeight: 400 }}>{walletData.account}</span>
Expand Down