Releases: kadena-io/chainweaver
Release 1.6.0
Release 1.6.0
Logout support
There is now a new logout button to the upper right, it will appear
after you created your first Gist and allows for pact-web dropping the
auth token to Github. By logging out from Github manually, this also
allows switching of accounts.
Chainweb improvements
All available keys can now be used as a sender on Chainweb. The network
editor now also shows an overall network status, in addition to the
individual node status. It will show a yellow circle (warning), if your
nodes don't all belong to the same network.
Wallet improvements
- Delete button is now a trash can and the button is border-less for
decreased visual clutter. - Deleting a key now opens a confirmation dialog, to make sure you won't
accidentally delete a key. - The copy buttons are now also icons without a border for decreased
visual clutter. - The key import functionality has been moved to the table heading for
improved visibility.
Editor improvements
The editor now also shows warnings that you would get by manually
running (typecheck 'moduleName).
Module Explorer improvements
The module explorer now differentiates between pacts, capabilities and
actual functions. It now only offers a "Call" button for actual
functions.
Pact upgrade
As usually Pact has been upgraded and is provided at the latest version,
which is 3.0.1.
Release 1.5.0
Release 1.5.0
Chainweb support and configurable networks
In this release we refactored pact-web to be able to talk to
chainweb! But more than that, we also made networks configurable (via
the cog icon to the upper right). So in addition to chainweb you can also
add the usual pact networks are based on pact -s
instances.
To configure a network, just give it a name, add hosts/nodes of the
network and you are all set. pact-web will even tell you whether the
node is valid and what kind of node it is.
Because the real block chain takes a while to process transactions, you
no longer get immediate feedback on deployments to the /send endpoint.
Instead, we are now offering manual endpoint selection: In order to test
your transaction you can send it to /local - if everything works well,
you can deploy to /send and it should work there as well.
Automatic fail over and network detection
As already mentioned pact-web can now be configured to talk to any
network of your liking. The exact details will be auto detected, all you
need to provide is the name of at least one node of the network.
If you provide more than one node, you are going to take advantage of
automatic fail over. For issuing requests, pact-web will try the
configured nodes in order - if one fails for connectivity reasons (node
is down) - pact-web will simply try the next one.
Key import functionality
At the bottom of the wallet you can now find a '+' button. Press it for
opening up a dialog which allows you to import an existing public key or
an existing public/private key pair into pact-web. Export was possible
previously already via the 'copy' button next to the each key.
Other improvements
- Latest and greatest pact (unreleased, but very close to 3.0).
- Module references changed to account for configurable networks.
- The module explorer no longer offers selection of backends, but the
selection of chains. - Deployments are now checked better. You should get an error for
missing config files for example.
Release 1.4.0
Release 1.4.0
Contract sharing via Github gists
The most important change in this release is, that we have Make Gist
button, which creates a Github gist of your current editor contents. You
will get an url which you can share with others in order for them to
retrieve your shiny new contract in pact-web right in their browser.
So, happy contract sharing!
Other changes in this release
- Some performance improvements: pact-web should load a bit faster now.
- Some smaller UI improvements.
- We removed the accounts example.
- We added a note to the example contracts about unique names on the
network. - Pact got upgraded to the latest version.
- We added deployments check for the availability of configurations.
- The styling got adjusted to new Kadena branding.
- We added a tutorials link.
Release 1.3.0
Release 1.3.0
Highlights of this release:
- Errors are shown in a list in the "Env" tab in addition to inline.
- Certain common errors can be "quick fixed" by the click of a button.
- Examples and deployed modules now have direct links.
- Gas settings can now be provided and are persisted across sessions.
- Formal verification example is now loaded by default.
- Your session is persisted: Your last edited contract will be loaded
when re-opening pact-web.
Release 1.2.0
Release 1.2.0
This release adds support for interfaces and offers a manual REPL reset
instead of an automatic one. This let's you have loaded multiple modules/files
at the same time in the REPL.
Highlights
- Interfaces are now properly shown in the module explorer (type
'Deployed Interface'), functions are listed, but obviously cannot be
called. - The interfaces implemented by a module, are listed in the details view
of a module and can be browsed/viewed there directly as well. - As we now have a real browsing functionality, we've added another
button to the module details page which takes you back directly to the
module explorer. - We now differentiate between files and modules. Examples are now
treated properly as files: Viewing the details of a file will show you
the contained modules, which then can be browsed further by clicking the
View
button of each listed module. - In addition to implemented interfaces, the module explorer also lists
the modules used/imported by a module. They can be viewed directly as
well of course, with the back arrow button taking you back to the
previous module. - The module explorer now remembers your search/page, when you have
visited the details of a module. Therefore when you come back, you will
arrive at exactly the same screen/page.
Release 1.1.1
Little fixup release for 1.1.0:
- ui scales a bit better to lower resolutions
- we now serve a robots.txt
PACT Integrated Development Environment - Version 1.1
Release Highlights
Live and "in editor" Error Reporting
Errors are now reported live while typing, right in the editor.
Live Property Checking
If your code makes use of properties they are now also verified live as you type. Any failed properties will be shown as warnings.
Quick Load with Ctrl + Enter
You can now quickly load your code into the REPL by hitting Ctrl + Enter.
Function Calling & Module Details
The module explorer now offers a new details view for modules, which lists
available functions and also offers a convenient dialog for quickly calling
them on the backend.
Improved Key Management
The key management now not only looks better but also makes it easier to copy
keys to the clipboard for easy export.
Pact got updated to version 2.6.1
Of course the new pact-web comes with the newly available pact version 2.6.1.
Improved Looks
Lots of small and bigger styling improvements, pact-web looks better than ever.
PACT Integrated Development Environment - Version 1.0
PACT Integrated Development Environment
Version 1.0
Release Highlights
This application is an Integrated Development Environment for users to write smart contracts in the PACT language. The application allows users to load a contract into a REPL and deploy contracts to the PACT server. The application includes signing contracts with a private key.
Release Details
PACT Contract Editor
This is an editor window for the users to write contracts in PACT language. The editors provides syntax highlighting to help users write code efficiently. Any syntax errors in the editor are shown in the Messages tab.
Key Management
A user has the ability to generate and delete keysets and keys. Keys can be added to every keyset. The purpose of these keys is to allow user to sign in contracts. A user can select a predicate for a keyset. A user can view the the hash of public key and private keys generated by him.The user has the flexibility to directly create keys and keysets in JSON format in the JSON editor. The combined data of the Keysets and the JSON tab can be viewed in the Combined Result tab.
Module Explorer
The Module Explorer allows the users to view and load Example contracts and Deployed contracts into the contract editor.The user can select a server and view the contracts deployed in that server. In addition, he can also search for contracts across servers. The user has the ability to load each of these contracts in the contract editor.
Load Contract into REPL
A User can load a contract in the REPL. The user should create corresponding keys and keysets. If there are any errors while loading, they will be displayed in the Messages window.
Deploy Contract
The user can deploy a contract by clicking on the Deploy button. A dialog box opens where the user has to select a server to deploy the contract and the keys to sign the contract. A user can deploy a contract with the same name again if he signs the transaction with keys matching the keyset the already deployed contract is protected by. A user can change the name of an already deployed contract and deploy it again as a different contract, using different keys and keysets. Any errors that are identified during deployment and shown to the Messages.
Error Handling
In cases of errors while loading or deploying contracts, the user can see the error messages in the Messages tab. For errors related to generating keys and keysets, inline errors are displayed in the same window.
Acknowledgements
Thank you to everyone in the Kadena team especially Doug and Stuart for guiding us throughout the project. Thanks to everyone from the Obsidian team for working hard towards building a fully functional product.