Questions tagged [parity-io]

Parity is an Ethereum client, written from the ground-up for correctness-verifiability, modularization, low-footprint, and high-performance. To this end, it utilizes the Rust language, a hybrid imperative/object-orientated/functional language with an emphasis on efficiency.

It is professionally developed by Parity Technologies, a VC-funded UK-based company that aims to have all important logic 100% unit-tested, all public APIs 100% documented, all code reviewed by multiple peers and follows a pipelined 7-ish-week release cycle similar to the Rust compiler.

Parity comes with an extensive, in-built Ethereum Wallet and DApp environment. It includes:

  • Account, address-book and multi-sig management.
  • Key creation, importing and exporting.
  • Web3 ÐApp browser.
  • Hardware and electronic cold-wallet support.
  • Name registry support.
  • Contract development, deployment, and interaction environment.

Parity is actively developed as an open source project on Github.

41 questions
20
votes
1 answer

In Substrate, What is the difference between Babe, Aura, and Grandpa

Substrate supports "pluggable consensus" so a developer can choose from among several consensus algorithms. It comes standard with four algorithms: Aura Babe Proof of Work Grandpa Some of these (eg babe and grandpa) can even be used together in a…
JoshOrndorff
  • 1,591
  • 9
  • 19
15
votes
1 answer

How does Parity's Aura consensus protocol work?

Here it's a very high level description with only formulas. I want to understand actually how it works. I don't actually understand what a step is and what's it's use? Does a node always keep updating the step? And when time to create to create and…
Narayan Prusty
  • 2,501
  • 3
  • 22
  • 41
8
votes
1 answer

How to do floating point arithmetic in substrate runtime

How can I do math on floating point values in substrate runtime. As a simple example imagine I want to keep track of an interest rate in a decentralized finance. I can prototype by using the percentage as an integer let rate = 2; let dividend =…
JoshOrndorff
  • 1,591
  • 9
  • 19
7
votes
2 answers

What is the cost of event storage in substrate?

While implementing my chain logic I was wondering whether to use events at all since they might cost the node extra storage for the event logs. What is the actual storage cost involved here? Do the logs get purged automatically at some point?
vim
  • 1,098
  • 9
  • 21
6
votes
1 answer

In Substrate, what's the difference between `spec_version` and `authoring_version`?

Each Substrate runtime has a RuntimeVersion. The fields in this RuntimeVersion struct indicate when various aspects of the runtime change and each field has its own semantics described in those docs. I'm not sure what authoring_version means and…
JoshOrndorff
  • 1,591
  • 9
  • 19
5
votes
2 answers

Python 3, Ethereum - how to send ERC20 Tokens?

i have some script using to sending Ethers from address to addres. Im using Parity, and Python 3.6. It is using Flask looks like: from flask import Flask, render_template, json, request import urllib import requests import binascii from decimal…
Kamil
  • 782
  • 1
  • 9
  • 24
5
votes
4 answers

Unable to run truffle@2.1.2 migrate --network live. "Exceeds block gas limit"

I am using truffle@2.1.2 to deploy smart contracts against a localhost:8545 geth@1.5.9-stable rpc, using an account that is funded with Ether has been unlocked using personal.unlockAccount on the geth console. I have also tried the same against a…
KnownColor
  • 449
  • 5
  • 12
3
votes
1 answer

How to implement the EVM Trait for a Substrate Runtime?

Following the adding a module to your runtime, I'm trying to implement the Parity Substrate paint-evm trait for the Dothereum Runtime. The EVM module trait is defined as follows: pub trait Trait: Trait + Trait { type FeeCalculator:…
q9f
  • 11,293
  • 8
  • 57
  • 96
3
votes
3 answers

How to access the `Alice` account on a Parity Substrate developer chain?

The Substrate Collectables Workshop suggests at some point that the developer chain comes with a prefunded account for Alice. Let's go into the Transfer app, and make a transaction. The default account named "Alice" is pre-funded with a ton of…
q9f
  • 11,293
  • 8
  • 57
  • 96
3
votes
2 answers

What's the meaning of the ethereum Parity console output lines?

Parity doesn't seem to have any documentation on what it's console output means. At least none that I've found which admittedly doesn't mean a whole lot. Can anyone give me a breakdown of the meaning of the following line? 2018-03-09 00:05:12 UTC…
jawknee530
  • 319
  • 4
  • 12
3
votes
0 answers

Web3J: Subscription code for listening to event is executing twice by two different threads

I am developing an app with SpringBoot and Web3J, where i use a contract wrapper for interacting with Smart contract. Here is the autogenerated code of a method for listening to an event, called NewId: public Observable
2
votes
1 answer

build substrate ink contract

I trying to create a substrate smart contract by following the tutorial as described in https://substrate.dev/substrate-contracts-workshop/#/0/setup. I have installed all the dependencies on Windows 10 OS. However, the process fails after completing…
2
votes
1 answer

How do I run Substrate in a way so that transactions get validated instantly for development pauperises?

How do I run Substrate in fake validating mode for development purposes (is there anything similar to --dev in geth where transactions are mined instantly)?
Andy B.
  • 181
  • 2
  • 9
2
votes
1 answer

Substrate transaction per second performance

Hey guys I have a performance related question. I am running 2 aws instance (t2.2xlarge) with 30GB storage. I am running a v2.0 node (branched from master a few days ago) on each with the default setup and i am testing how many transactions per…
Nahu
  • 143
  • 10
2
votes
2 answers

`paint_evm::Event` is not implemented for `Event`

Following the adding a module to your runtime, I'm trying to implement the Parity Substrate paint-evm trait for the Dothereum Runtime. According to my previous work: How to implement the EVM Trait for a Substrate Runtime? I implemented the EVM…
q9f
  • 11,293
  • 8
  • 57
  • 96
1
2 3