【发布时间】:2022-09-23 21:07:12
【问题描述】:
我正在尝试使用 Web3.js 从 Solana Pay 连接 Phantom 钱包但是我不断收到错误“未定义缓冲区”。如何解决这个问题?
注意:我没有使用 Nodejs。我正在尝试创建与 Web3.js 库的集成。
这是代码:
<script>
// The below is the code where I am getting the error
var transaction= new solanaWeb3.Transaction().add(
);
</script>