smart-contracts
Here are 2,428 public repositories matching this topic...
-
Updated
Jun 14, 2020 - JavaScript
add style guide
The section on style guides is quite short at the moment.
A more extensive description with examples would be better.
This can be highly valuable for newcomers and for the community as a whole!
There are some good style guides already out there that could be incorporated like this one:
https://github.com/0xcert/solidity-style-guide
New Page: EVM quirks
Feature Request
Add more configuration options for storage (IPFS). Command line arguments, for example.
Summary
For example, I want to develop my apps using IPFS. But I do not need to use it online. For example, running with --offline flag.
There two main ways to make it:
- Creating a variable called
argsinconfig/storage.jsthat would store extra argumens for the IPFS i
We need to create our own docker image with git, sphinx-build and gradle to create the documentation and commit it into github.
The default docker image doesn't accept the html tags.
-
Updated
May 29, 2020
-
Updated
Aug 15, 2018 - Go
https://remix-ide.readthedocs.io/en/latest/remix_commands.html should have at least remix.call() and a link to the list of API calls or it could list all the api calls there too.
Description
I created a Google Codelab tutorial as a research assistant for a professor using mythril and he said it was okay to share. The tutorial leads someone on how to use mythril in Docker and on the CLI on a Google Compute instance. Feel free to use or modify as you please.
Here is the [link](https://docs.google.com/document/d/1_RbrfiCxl3sqbOAxffoiLmA7cq67Khe-lLyvxMuEZbw/edit?usp=sha
In the documentation of Michelson, there is a SELF instruction to access the current contract. However, this instruction is not known by the interpreter, leading to an error when generated by Liquidity.
Is SELF going to be implemented or removed ?
-
Updated
May 9, 2020 - Python
-
Updated
Jun 26, 2020 - Scala
currently various remix plugins uses their own logging mechanism. So does remix-tests. I introduced winston logger for remix-tests. As remix-tests is a terminal package & also can be used in browser, I think winston can be very helpful as we want to use various debugging levels. I am trying to use the logger such that we can pass the verbosity across packages. Then from within
Node update docs
There is no formal documentation related to node update, what data to keep etc.
@luongnt95 I want to generate test data like in https://github.com/melonproject/oyente/tree/master/oyente/test_evm/test_data with input being Solidity files. I'm quite curious how to generate those JSON files.
This is just an initial though, anyone is welcome to participate in this thread. Only once the format is finalised will I add this to Milestone.
Description
A user shouldn't have to head to the docs to view a list of rules (along with detailed description, parameters supplied, autofix availability). The CLI should allow this.
Use case
Much faster & more convenient for user because
-
Updated
Jan 26, 2020 - Go
-
Updated
Jun 16, 2020 - Go
-
Updated
Oct 2, 2018 - Python
-
Updated
Feb 27, 2020 - Swift
I need to be able to specify a block as the defaultBlock value when calling a contract.
Screenshot of what im referring to:
https://enj.in/i/ed3z9j2a
I dont think this is possible right now, but if it is, please enlighten me.
Thanks
When configuring echidna with balanceContract, but fuzzing a non-payable contract, echidna prints a Haskell exception instead of a meaningful error.
$ cat balance.yaml
balanceContract: 100
format: text
$ cat balance.sol
contract C {
function f() public {}
function echidna_true() public returns (bool) {return true;}
}
$ echidna-test balance.sol --config balance.yaml
Analy
-
Updated
Nov 18, 2018 - TypeScript
-
Updated
Jan 21, 2019
The 0x... string in the log is supposed to be txhash. We need to clearly label it.
Also, the "success" message should be "pending" while we are waiting. Thanks.
-
Updated
Jun 23, 2020 - JavaScript
The result of simply doing npm install
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-redux-universal-hot-example@0.1.0 postinstall: concurrently "npm run build" "npm run build-dlls"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-redux-universal-hot-example@0.1.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
-
Updated
Jun 17, 2019
The current Shield contract, part of the Radish34 setup has TransactionTypes tailored to the Radish use case. In order to make this contract more reusable in other use-cases the transaction types can be dynamically created.
Idea how this can be implemented:
Remove the transactionTypes enum and add a method allowing the administrator to add new transaction types (index, name). Change radish34 d
Improve this page
Add a description, image, and links to the smart-contracts topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the smart-contracts topic, visit your repo's landing page and select "manage topics."

Issue
The "Full Example" of using @truffle/contract to interact with contracts should include an example of listening to an event with a filter.
In the past, it used to be possible to pass a filter object on indexed event parameters when listening to an event, as seen for example [here](https://ethereum.