Skip to content
Set up a local development environment for COMIT apps with one command.
Rust TypeScript JavaScript Shell Makefile
Branch: master
Clone or download
bors and dependabot-preview Merge #376
376: Bump web3 from 0.8.0 to 0.9.0 r=mergify[bot] a=dependabot-preview[bot]

Bumps [web3](https://github.com/tomusdrw/rust-web3) from 0.8.0 to 0.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tomusdrw/rust-web3/releases">web3's releases</a>.</em></p>
<blockquote>
<h2>v0.9.0</h2>
<ul>
<li>Support Infura Project secret (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/239">#239</a>)</li>
<li>Fail deploy on failed status (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/242">#242</a>)</li>
<li>Improve error for byte deserialization (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/251">#251</a>)</li>
<li>Parse r/s values from signTransaction as U256 (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/250">#250</a>)</li>
<li>Updated blocks numbers to use U64 (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/253">#253</a>)</li>
<li>Add <code>web3::contract::deploy::execute_no_unlock</code> (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/252">#252</a>)</li>
<li>Exported all the &quot;pub&quot; types that weren't (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/259">#259</a>)</li>
<li>Fixes to tracing (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/262">#262</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/261">#261</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/260">#260</a>)</li>
<li>Implemented From<H256> for TransactionId (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/273">#273</a>)</li>
<li>Expose <code>eth_subscribe</code> (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/274">#274</a>)</li>
<li>Fix tokenization for arrays and primitives (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/277">#277</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/307">#307</a>)</li>
<li><code>EitherTransport</code> implementation, to support transport-agnostic code (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/297">#297</a>)</li>
<li>estimate_gas: do not serialize null block number (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/291">#291</a>)</li>
<li>Add <code>eth_chainId</code> method (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/293">#293</a>)</li>
<li>Custom signing methods (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/287">#287</a>)</li>
<li>Add transaction signing with in <code>accounts</code> sub-namespace. (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/279">#279</a>)</li>
<li>Updated dependencies (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/232">#232</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/240">#240</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/268">#268</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/271">#271</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/272">#272</a>, <a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/275">#275</a>)
Full list of changes: <a href="https://github.com/tomusdrw/rust-web3/compare/v0.8.0...v0.9.0">https://github.com/tomusdrw/rust-web3/compare/v0.8.0...v0.9.0</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/ab42618399c4aecdb5679768149693d9074efd3d"><code>ab42618</code></a> Bump version. (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/311">#311</a>)</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/d2a4bc0541f1d8e6551672fb049311611c98c146"><code>d2a4bc0</code></a> Implement Tokenize for fixed-size arrays up to 16 elements. (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/307">#307</a>)</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/897fcfdbb0d53ca84b81bfdb21e8c8634d04e0ca"><code>897fcfd</code></a> Implement EitherTransport (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/297">#297</a>)</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/91180b77cf1ae022dfec19e184cc5f155de39ccc"><code>91180b7</code></a> Adds eth_chainId method call (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/293">#293</a>)</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/dd544d591a04b1ca4f2bfac7757ea019bdf470d3"><code>dd544d5</code></a> estimate_gas: do not serialize null block number (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/291">#291</a>)</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/0665faf6fe0388ce6e161922fed57bf9e1ff6e1a"><code>0665faf</code></a> Update parking_lot requirement from 0.9.0 to 0.10.0</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/355f0929ecf3a6ed1baa090f743d22f896c9b403"><code>355f092</code></a> Custom signing methods (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/287">#287</a>)</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/5e8e0a4fed848280e8c0c11e6cb133c0f56f99cc"><code>5e8e0a4</code></a> Add transaction signing with in <code>accounts</code> sub-namespace. (<a href="https://github-redirect.dependabot.com/tomusdrw/rust-web3/issues/279">#279</a>)</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/c4372317aa2ba81b09050d85a54bd248ac23bfcb"><code>c437231</code></a> Make it compile.</li>
<li><a href="https://github.com/tomusdrw/rust-web3/commit/0666e648f328cdb737cb9ebcc23f8bf6dc7f4b8b"><code>0666e64</code></a> Update derive_more requirement from 0.15.0 to 0.99.1</li>
<li>Additional commits viewable in <a href="https://github.com/tomusdrw/rust-web3/compare/v0.8.0...v0.9.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=web3&package-manager=cargo&previous-version=0.8.0&new-version=0.9.0)](https://dependabot.com/compatibility-score.html?dependency-name=web3&package-manager=cargo&previous-version=0.8.0&new-version=0.9.0)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Latest commit 237e169 Jan 20, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dependabot
.githooks
.github/workflows
create
scripts
.gitignore
.mergify.yml
Cargo.lock
Cargo.toml
Makefile
README.md
RELEASING.md
bors.toml
rust-toolchain
rustfmt.toml

README.md

Gitter chat

Create Comit App

Set up a local development environment for COMIT apps with one command.

If you have any question please reach out to the team in our Gitter chat!

1 - Install docker

Unix

Install docker through your package manager. Make sure the unix-socket of the docker daemon is accessible.

Windows

Windows users have the choice between Docker Toolbox (the "old" docker) and Docker for Windows (the "new" docker). Docker for Windows requires Windows 10 Pro, whereas Docker Toolbox also works on older versions of Windows and Windows 10 Home.

Docker Toolbox

Install Docker Toolbox and start the virtual machine. Double check that the environment variables DOCKER_HOST, DOCKER_CERT_PATH and DOCKER_TLS_VERIFY have been set.

Docker for Windows

To use create-comit-app with Docker for Windows please follow these steps:

  1. Set the DOCKER_HOST variable to the docker daemon endpoint. You can find that in the docker control panel, should be something like tcp://127.0.0.1:2375.
  2. Disable the TLS verification of the docker daemon endpoint: In your docker control panel: Settings > General > Expose daemon on tcp... without TLS

2 - Install yarn & nodeJS

Install them either from the website or through your package manager.

3 - Create your first project!

  1. yarn create comit-app <your-app-name>,
  2. cd <your-app-name>, yarn install and yarn start-env to start blockchain and COMIT nodes,
  3. Run the separate-apps example (in separate terminals for the taker and maker):
    1. Navigate to the separate-apps example app directory cd ./examples/separate_apps,
    2. yarn install to install dependencies,
    3. yarn run maker to run the maker app,
    4. yarn run taker to run the taker app,
    5. Follow the steps be hitting Return to complete the swap.

You can find additional examples in the examples directory that is created as part of step 1.

Appendix

Important: You don't have to follow this section, the above section is actually sufficient.

Appendix A: Build the project yourself

  1. Install Docker,
  2. Install Rust: curl https://sh.rustup.rs -sSf | sh,
  3. Checkout the repo: git clone https://github.com/comit-network/create-comit-app/; cd create-comit-app,
  4. Build and install: make install.
You can’t perform that action at this time.