Skip to content

Commit 85acd07

Browse files
author
Bingle Kruger
committed
chore: Deploy new smart contract + update IDL for ntc-web
1 parent 56816d9 commit 85acd07

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

drt-manager/Anchor.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ resolution = true
2121
skip-lint = false
2222

2323
[programs.localnet]
24-
drt_manager = "HQKbqH1RnoChiVkdbgoJZJ8T6P2jmLHTqvdjaE7q8NDq"
24+
drt_manager = "6TzyLCNRNgxmEGAxj61uAtPbQt3SQWFMhMBpwMfvdmkQ"
2525

2626
[registry]
2727
url = "https://api.apr.dev"

drt-manager/programs/drt-manager/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use anchor_spl::{
2525
};
2626
use mpl_token_metadata::ID as METADATA_PROGRAM_ID;
2727

28-
declare_id!("HQKbqH1RnoChiVkdbgoJZJ8T6P2jmLHTqvdjaE7q8NDq");
28+
declare_id!("6TzyLCNRNgxmEGAxj61uAtPbQt3SQWFMhMBpwMfvdmkQ");
2929

3030
/// The vault account holds tokens and is a PDA.
3131
#[account]

ntc-web/components/WalletBalance.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const WalletBalance = () => {
7070
{isLoading ? (
7171
"Loading..."
7272
) : balance !== null ? (
73-
`${balance.toFixed(2)} SOL`
73+
`${balance.toFixed(6)} SOL`
7474
) : (
7575
"Error loading balance"
7676
)}

ntc-web/lib/idl/drt_manager.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"address": "HQKbqH1RnoChiVkdbgoJZJ8T6P2jmLHTqvdjaE7q8NDq",
2+
"address": "6TzyLCNRNgxmEGAxj61uAtPbQt3SQWFMhMBpwMfvdmkQ",
33
"metadata": {
44
"name": "drt_manager",
55
"version": "0.1.0",

0 commit comments

Comments
 (0)