Comments (4)
I think the best approach is to refactor the contract, implement the event based optimization, and then ensure that only one hash is stored. This should address all issues described in this ticket.
from sidetree-ethereum.
@OR13 Ok that sounds good! I can do a first stab at refactoring, but I'd like input from @Therecanbeonlyone1969 (Andreas) on the points I brought up.
from sidetree-ethereum.
@christianlundkvist I took a stab at a simpler contract: https://github.com/decentralized-identity/sidetree-ethereum/blob/master/contracts/SimpleSidetreeAnchor.sol
I added some tests as well. feel free to open any issues regarding it.
I think we should drive towards a single anchor contract in the repo, interested to hear your thought on the topic. (should we remove the legacy contract now?)
from sidetree-ethereum.
Closing this for now, we will add support for more complicated contracts at a future date.
from sidetree-ethereum.
Related Issues (20)
- Init the project
- Create the API for writing Sidetree transactions
- Create the API for fetching Sidetree transactions HOT 1
- Create the Smart Contract that will hold the anchor file hashes HOT 1
- ERC725 and ERC735 HOT 2
- Persist the batch transaction number in the smart contract HOT 1
- Add ipfs module
- Create a service method that creates a new DID HOT 1
- Create a service method that updates a DID
- Create a service method that revokes a key from a DID
- Add API route to fetch latest DID Doc for a given DID
- Limit who can execute the smart contract HOT 4
- Add API infrastructure
- Add Pagination Support HOT 3
- Add IPFS setup steps to README
- Support TypeScript Full Node with Sidetree (core) HOT 1
- . ./env file does not exit.
- which npm version HOT 1
- is this repo still active ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sidetree-ethereum.