Good to go for prod
This commit is contained in:
parent
01856e0136
commit
1e7077930f
|
@ -1,10 +1,10 @@
|
|||
REACT_APP_CANDY_MACHINE_ID=
|
||||
|
||||
REACT_APP_SOLANA_NETWORK=devnet
|
||||
REACT_APP_SOLANA_RPC_HOST=https://api.devnet.solana.com
|
||||
REACT_APP_SOLANA_NETWORK=mainnet-beta
|
||||
REACT_APP_SOLANA_RPC_HOST=https://api.mainnet-beta.solana.com
|
||||
|
||||
# REACT_APP_SOLANA_NETWORK=mainnet-beta
|
||||
# REACT_APP_SOLANA_RPC_HOST=https://api.mainnet-beta.solana.com
|
||||
|
||||
# Phase 1
|
||||
REACT_APP_FAIR_LAUNCH_ID=6n7gPTCDab7H6nYdZgFjmNTW4AmFDrds9ATsEa8NT7m8
|
||||
REACT_APP_FAIR_LAUNCH_ID=7fP1DM1UK3xBgzXxQVwA3fFA4PPENaQ6YghJvFLeXFMz
|
||||
|
|
|
@ -9,7 +9,7 @@ import {
|
|||
} from './utils';
|
||||
|
||||
export const FAIR_LAUNCH_PROGRAM = new anchor.web3.PublicKey(
|
||||
'7HmfyvWK7LDohUL9TDAuGv9VFZHUce1SgYMkwti1xWwF',
|
||||
'faircnAB9k59Y4TXmLabBULeuTLgV7TkGMGNkjnA15j',
|
||||
);
|
||||
|
||||
export interface FairLaunchAccount {
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
} from '@solana/web3.js';
|
||||
|
||||
export const FAIR_LAUNCH_PROGRAM_ID = new anchor.web3.PublicKey(
|
||||
'7HmfyvWK7LDohUL9TDAuGv9VFZHUce1SgYMkwti1xWwF',
|
||||
'faircnAB9k59Y4TXmLabBULeuTLgV7TkGMGNkjnA15j',
|
||||
);
|
||||
|
||||
export const toDate = (value?: anchor.BN) => {
|
||||
|
|
|
@ -875,12 +875,6 @@ pub mod fair_launch {
|
|||
}
|
||||
|
||||
// assert is an ATA
|
||||
msg!(
|
||||
"keys {} {} {}",
|
||||
buyer.key,
|
||||
token_program.key,
|
||||
treasury_mint_info.key
|
||||
);
|
||||
assert_derivation(
|
||||
&spl_associated_token_account::id(),
|
||||
buyer_payment_account_info,
|
||||
|
|
Loading…
Reference in New Issue