We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在Alaya与PlatON的js sdk基本使用同一套代码,这样可以减少学习和代码迁移成本,是一种各方都有益的事,但在实践中有一定的问题。例如,在使用sdk与Alaya网络交互时,需要进行大量设置,如使用私钥生成账号时:
var act = new AlayaAccounts(web3a.currentProvider, "atp"); act = act.privateKeyToAccount(privateKey);
而且,所有签名都没办法如下方法:
web3.platon.accounts.signTransaction(tx, privateKey);
另外,由于PPOS模块都是直接用chainId来确定hrp的,所以导致在现在的代码下是没有办法使用PPOS模块正常操作alaya网络的内置合约的。
对于以上问题,我有以下建议:
The text was updated successfully, but these errors were encountered:
Good What are the implications of this change? e.g. PlatON Studio, JS SDK documentation, ATON, etc.
Sorry, something went wrong.
Would like to hear your advice @totaking @fuzhijing1
RileyGe
No branches or pull requests
现在Alaya与PlatON的js sdk基本使用同一套代码,这样可以减少学习和代码迁移成本,是一种各方都有益的事,但在实践中有一定的问题。例如,在使用sdk与Alaya网络交互时,需要进行大量设置,如使用私钥生成账号时:
而且,所有签名都没办法如下方法:
另外,由于PPOS模块都是直接用chainId来确定hrp的,所以导致在现在的代码下是没有办法使用PPOS模块正常操作alaya网络的内置合约的。
对于以上问题,我有以下建议:
The text was updated successfully, but these errors were encountered: