Replies: 2 comments
-
Pain pointConfiguring a unique rpc endpoint for each blockchain. IdeasProvide generic proxy that that has the blockchain pre-configured |
Beta Was this translation helpful? Give feedback.
0 replies
-
Pain pointConfiguring treasury wallet for the blockchain.
// Create a new RPC client for the Solana endpoint
let solana_rpc = Arc::new(RpcClient::new(solana.solana_endpoint));
// Load the Solana keypair from the provided file
let f = File::open(solana.solana_keypair_path).expect("unable to locate keypair file");
let solana_keypair: Vec<u8> =
serde_json::from_reader(f).expect("unable to read keypair bytes from the file");
// Initialize the Solana blockchain implementation
let solana_blockchain = Solana::new(solana_rpc, connection.clone(), solana_keypair);
// Update the AppState constructor to include the Solana blockchain implementation
let state = AppState::new(
schema,
connection.clone(),
producer.clone(),
solana_blockchain,
nft_storage,
);
`` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal
Holaplex is looking to make adding a new chain to the Hub normalized blockchain NFT API a weekend task for developer already familiar with the blockchain and our core technology stack (eg rust, graphql, kafka).
Phases
Beta Was this translation helpful? Give feedback.
All reactions