Blocknative Assist 0.6: Adding Powerful New Features

Chris Meisl

By Chris Meisl in blockchain, usability on May 3, 2019

We launched Blocknative Assist at ETHDenver 2019 and since then have received a ton of great feedback from the Dapp development community. Blocknative Assist is our embeddable javascript platform that helps onboard users into Web3 and then improves Dapp transaction usability. 

While we’ve been steadily releasing smaller updates to our Assist.js library, we just released three significant new updates that we wanted to share:

1. Support for “Speed Up” and “Cancel” Transactions: Assist.js now detects when MetaMask users attempt to either Speed Up or Cancel a pending transaction. 

How does it work?  While a user has a Pending transaction, MetaMask will show options to Speed Up (i.e. add Gas) or Cancel. If either of these options are selected, Assist.js will now automatically update the transaction status to reflect these changes. Note: SpeedUp and Cancel attempts are not guaranteed on Mainnet.

Screenshot 2019-04-30 10.05.52

2. UI Customization: Multiple teams asked how they could modify various Assist.js UI elements to better reflect the look-and-feel of their underlying Dapps. We're happy to now introduce our new “Dark Mode” – which essentially inverts all of our UI colors – as well as to enable custom CSS for full UI flexibility.

How does it work?  In the Assist.js Config file, search for "style" and you'll see options to enable dark mode, change the screen position of transaction notifications, and insert CSS strings. You can see Dark Mode in action on our MakerDao CDP deployment as well as  explore the config file on our Github.

Screenshot 2019-05-01 11.08.26

3. web3.js Refactor —This is an important technical update. To ensure that Assist.js remains in-step with the latest web3.js release (and its beta revisions specifically), we have transitioned to a "delegation" approach to augment the Web3 Contract object function. Delegation takes the existing Web3 Contract object and returns a new object that includes the Assist.js instrumentation. This new object maintains references to the methods on the original Contract object so that transactions and contract calls can be delegated to those methods after Assist performs its pre-flight and notification work. With this change, Assist.js 0.6 and beyond supports  web3.js versions 0.20.x and 1.0.0-beta-47+ (see our documentation for additional details).

Review the complete list of the changes incorporated into our Assist.js 0.6 release

If new users are going to engage in blockchain-powered experiences, Blocknative believes that Dapps must be as friendly and approachable as the centralized Web 2.0 destinations they are looking to supersede. Our goal is to build developer-friendly Web3 tools that help make delightful Dapp experiences easy to deploy.

Have questions or suggestions about new features we should consider adding to Assist.js? Let me know on our Telegram

Try Blocknative Today

Blocknative's Notify API is the easiest way to work with mempool data. Notify helps exchanges, protocols, wallets, and traders monitor and repair transactions in real-time. Our vertically-integrated data platform delivers reliable, resilient, and predictable transaction experiences.

You can sign up for a free account today to get started:

Try It Now