When writing anchor or native solana programs we can use the msg!() macro to print a message to the log, is there a way to do this with typescript in poseidon currently ? because it seems like there is no support for it
Code Example
#![allow(clippy::result_large_err)]
use anchor_lang::prelude::*;
declare_id!("111111111111111111111111111111111111111");
#[program]
pub mod hello_solana {
use super::*;
pub fn hello(_ctx: Context<Hello>) -> Result<()> {
msg!("Hello, Solana!");
msg!("Our program's Program ID: {}", &id());
Ok(())
}
}
#[derive(Accounts)]
pub struct Hello {}
When writing anchor or native solana programs we can use the
msg!()
macro to print a message to the log, is there a way to do this with typescript in poseidon currently ? because it seems like there is no support for itCode Example