News.EOS.WiKi Bilingual News & Info Of EOS

EOSJS 20-beta3版本:支持React Native、加强签名提供程序/EOSJS Version 20-beta3: React Native Support and Enhancements for Signature Providers

E

译文/Translated:

今天我们发布了EOSJS v20.0.0的beta3更新。发布中存在重大更新,所以集成方案必须锁定其依赖项版本。发布中的更改让我们离我们的目标更进一步:我们希望能够使Dapp开发者能够与一个通用API集成,自动支持用户选择的任何密钥管理和签名解决方法。

我们不断为EOSIO开发者社区改进开发者工具和资源,在此过程中,我们欢迎各种反馈。如果您有任何改进社区中软件发展的想法,请通过developers@block.one联系我们。

继续阅读了解更多关于EOSJS v20.0.0-beta3的更新情况。

EOSJS v20.0.0-beta3主要特点:

删除对eosjs-ecc的依赖(#425)

这个版本,我们从默认导出中删除了“默认”签名提供程序。取消对其的默认设置会阻止eosjs-ecc的自动捆绑,这样就显著减少了捆绑包大小。 我们鼓励用户使用签名提供程序而不是让用户直接把私钥粘贴到用用中从而提高了用户安全。未来,我们希望多数eosjs能够实现利用备用签名提供程序增加用户安全。

支持React Native Apps(#425)

Edge/IE11浏览器兼容。

支持签名提供商修改交易(#418)

现在,我们在EOSIO上构架的应用已经采用了更加安全的密钥处理方法,这时候,签名提供程序有正当理由在交易返回API处理方法前修改此交易,从而进行可能的广播。在此次更新前,这是不可能的,因为签名提供程序只能返回签名,交易使用的可序列化交易和传递给签名提供者的是一样的。在这次更新中,签名提供者返回的对象有两键:签名和可序列化交易。然后,交易函数广播此输出。

改进了对Multisig交易的处理(#432)

最后,我们还做了一些更新,更好地支持了在EOSIO上的multisig交易。

其它:

更多关于本次更新的细节详见GitHub in the Release。注意EOSJS V20还在beta阶段而已,我们会不断地更新软件,保证他的安全性和实用性。注意锁定自己的依赖版本。


联系我们

如果您愿意提供反馈和我们的团队一起为社区改进EOSIO,您可以发邮件到developers@block.one给我们的开发小组;你还可以通过在EOSIO开发者文档订阅我们的邮件获得未来的更新提醒。我们希望能够为开发者不断改进EOSIO软件平台的可用性,同时我们也会继续为空间中区块链发展不断奠定基础。

阅读免责条款

原文/Original:

Today we released the beta3 update to EOSJS v20.0.0. There are breaking changes in the release, so it is important for integrators to have their dependency versions locked. The changes in the release are a further step towards our plan to enable Dapp developers to integrate with one universal api and automatically support any key management and signing solution of their users’ choice.

Feedback is welcome on our continued advancement of developer tools and resources for the EOSIO Developer Community. Feel free to get in contact with our Developer Relations team by emailing developers@block.one with your thoughts on how we can improve software development for the community.

Continue reading below to learn more about EOSJS v20.0.0-beta3.

Highlights in EOSJS v20.0.0-beta3:

Remove dependency on eosjs-ecc (#425)

In this release, we removed the “default” signature provider from the default export. Keeping this out of the default export prevents eosjs-ecc from being bundled automatically, significantly reducing bundle size. We made this change to heighten user security across applications by encouraging the use of signature providers instead of having users paste private keys directly into applications. In the future, we hope that most eosjs implementations will leverage an alternate signature provider to enhance user security.

Support for React Native Apps (#425)

We’ve made necessary updates to ensure eosjs is compatible with React Native Apps and the Edge/IE11 browser.

Support for Signature Providers to Modify Transactions (#418)

As we move to a more secure method of key handling within applications built on EOSIO, signature providers may have valid reasons to modify a transaction (i.e., add actions) prior to returning it to the API transact method for possible broadcast. Prior to this update this was not possible, as signature providers could only return signatures, and transact uses the same serialized transaction that was passed into the signature provider. With this update, the signature provider now returns an object with two keys: signatures and serializedTransaction. The transact function then broadcasts this output.

Improved Handling of Multisig Transactions (#432)

Finally, we have made some updates to provide better support for multisig transactions on EOSIO.

Additional Issues:

More details for this release can be found on GitHub in the Release.Remember, EOSJS V20 is still in beta and will be updated frequently to enhance the security and usability of the library. Remember to lock your dependencies.


Stay Connected

As always, if you are interested in providing feedback and working more closely with our team to improve EOSIO for the community, you can send our developer relations team an email at developers@block.one. You can also hear about future updates by subscribing to our mailing list on the EOSIO Developer Portal. We are excited to be continually improving the usability of the software for EOSIO developers as we continue laying a foundation for the mass adoption of blockchain technology.

Read disclaimer

原文链接/Original URL:

https://medium.com/eosio/eosjs-version-20-beta3-react-native-support-and-enhancements-for-signature-providers-9b39f89b574f

About the author

By user
News.EOS.WiKi Bilingual News & Info Of EOS

Recent Posts