Good to go for prod

This commit is contained in:
Jordan Prince 2021-09-21 13:28:46 -05:00
parent 01856e0136
commit 1e7077930f
4 changed files with 5 additions and 11 deletions

View File

@ -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

View File

@ -9,7 +9,7 @@ import {
} from './utils';
export const FAIR_LAUNCH_PROGRAM = new anchor.web3.PublicKey(
'7HmfyvWK7LDohUL9TDAuGv9VFZHUce1SgYMkwti1xWwF',
'faircnAB9k59Y4TXmLabBULeuTLgV7TkGMGNkjnA15j',
);
export interface FairLaunchAccount {

View File

@ -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) => {

View File

@ -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,