Good solidity smart contract tutorials, videos, examples - solidity

I am looking for a good resource for solidity advanced smart contracts development free resource or books.
Scenarios like
- Crowdsale
- Insurance sector
- Banking
I have done some research on Open Zepplin which is a good resource for smart contracts but there is not a good explanation.
Any resource related help from the community will be appreciated.

I've made 2 videos but the demand on such content is still not really high so I stopped recording new ones.
Part 1
Part 2
And I also have a repository which contains working contracts of token and kind of advanced crowdsale which is using Oracles, whitelist, bonuses, referall program, etc. It is pretty easy to start to play with because we've put everything into docker containers

Related

How to set up a NIST 800-171 compliant environment for CUI

I work for a very small company (12 people maybe) that is sub on a small fed contract and is currently strapped for cash after the ending of another contract about 6 months back. Despite having no experience with this, my company has assigned me to develop the System Security Plan (SSP) and implement a system that is NIST 800-171 compliant for handling CUI. While we don't need to handle ITAR or need CMMC cert, that may be helpful to open doors in the future and I thought the solution provided here in very limited detail seemed ideal since it leaves out personal equipment: https://www.ktlsolutions.com/cloud-based-solutions-for-meeting-cmmc-requirements/ . Unfortunately, we cannot afford the consulting fee for help with this, and, additionally, if I know what I'm doing, I imagine this just takes a few clicks and config settings in Azure Government to implement. I have an Azure Government trial account. My question is two fold: for one, is there any reason to think that me with some Azure Commercial experience won't be able to set this up myself and, 2, where do I begin? Are there any guides available? I have done ten thousand Google searches of various things in the past week and it feels like the only way I can find answers is to pay a huge consulting fee. Any help would be greatly appreciated.
You'll want to look at Azure Blueprints. Azure Blueprints provides a set of Azure Policies that will ensure that your subscription meets the NIST 800-171 guidance. See this article for more info on the NIST 800-171 blueprint: https://learn.microsoft.com/en-us/azure/governance/blueprints/samples/nist-sp-800-171-r2

Why Consumer-driven Contract Test is not working?

Why CDCT is not working for most cases in real life? The concept and tools have been selled by architects for quite a few years especially in micro-service architect, or in multi-modules complex system, there are a lot of pains for integration testings, but why CDCC is not implemented everywhere?
I heard the concept and tools about CDCT (consumer-driven contract test) about three years ago, I used to do some research in our enterprise software (one of the most complex SaaS softwares in the world, 15 years-old, developed by more than a thousand engineers) and discuss it with our chief arch about two years ago. It looks promising that we are supposed to be able to find a real case to implement it via a proper tool like pact, between two proper teams who have pain point so does the motivation, why not? The concept absolutely makes a lot of sense, the problem it aimed to solve is a very common one (who doesn't have an integration broken by another team?), everything looks perfect and I even added into my yearly goal.
I failed, I was young and simple, it didn't work out, hopeless.
Today I heard a same failure from another team, and no surprise they have same reason that’s why I think it might be write it down to as a reminder and useful (probably) knowledge to share.
The reason is high adoption cost including mindset change. CDCT is not a tool (you can use a tool like pact to better implement it), it's not even a methodology only, it's a new mindset to tell people how to work together.
Yes it’s aimed to solve the problem between multiple systems/modules, but it is more to create a new mindset which needs the two groups of people to accept: firstly a contract is needed (vesus no contract is needed), secondly consumer is the driver of the contract (vesus provider is the driver of integration).
Here is the tricky part, from consumer perspective, what needs to be done for integration point(s):
Before CDCT: 1. find an API and use it. 2. when it breaks, blame provider
After CDCT: 1. find an API 2. drive: find provider, meet with provider, negotiate with provider, come up a contract, repeat this if there is gap, signoff the contract and save it. 3. Write testing, ask provider to review the testing, ask provider to put your testing into their pipeline. Figure out how to make sure provider always make your testing pass rather than comment them out before they release a new version of service.
I can understand why consumer may not really want this, or why they want the result but hesitate to pay the cost first.
So when CDCT implementation will be successful? I think there might be two conditions:
The consumer's business is too important to be broken (say accounting), they have no choice but do everything can safeguard the dependency. However, in such a case the better idea is to remove the dependency, or adding duplication and fail-over mechinsim, testing is still the last choice.
The provider and consumer are working very closely so the mindset and setup cost will be mininum, unfortunately contract testing might not be needed in this case, because the teams are working very closely.
Regards,
Emil

How to create your own wallet

I am a newbie to cryptocurrency. I want to create my own wallet (preferably using node js), so can someone please help me in the process. Also, how mining will work in the same case?
Thanks in advance
You would be embarking on a great adventure doing so, and I can think of some resources that you may also find useful along the way :
"Mastering bitcoin" A great primer on bitcoin, totally worth the read: (free to read online)
The bitcoin core repository
Ethereum Go wallet implementation
How to build a tiny blockchain in python (wallet implementation in second part of the tutorial)

SaaS Classification

As I am largely self taught I often struggle with knowing the terminology surrounding something I logically understand, which can cause difficulty when I want to research more about it.
I (think I) know that an online service/API that your application can communicate with (e.g. through http) but which sits on another company's server falls under SaaS but may have a more specific name I am unaware of.
How is this distinguished from an application you download and install on your own server and still communicate with through an API e.g. PredictionIO?
It is very difficult to word a question when essentially I am saying 'I have literally no idea what I am talking about can you please steer me in the right direction' so I apologise for how poorly this is asked but that is what makes it so difficult to google!
What I am looking for is the keywords I need to conduct my own investigation and perhaps some good high level resources so I can familiarise myself with the classifications
Thank you
While PredictionIO is a great product (or was not sure after SalesForce acquisition), I wouldn't call that SaaS.
Most people refer to SaaS as a true hosted solution where a customer only needs to log in and create an account to get started. PredictionIO still requires infrastructure, management of VMs, etc.
Examples of SaaS would be Dropbox, Crashlytics, MixPanel, Sumo Logic, SalesForce, Stripe, etc.

New architecture concepts

I posted this community wiki in the hopes of creating a thread of expertise. My question is thus ... "Where do the experts go to learn about the newest coding techniques?".
I'm basically looking for the leading/bleeding edge of architecture, design, development and theory.
I know conferences and trade shows are probably the best venues to see the latest and greatest, but for those on a limited budget (of both time and money) such as myself, I'm looking for websites that I can read in the evenings that will keep me current on what's new in the world.
I program mostly in C# but the websites need not be geared towards C#.
Blogs
Martin Fowler, the best starting point I think. (http://martinfowler.com/)
articles like "Consumer-Driven Contracts: A Service Evolution Pattern", "Mocks Aren't Stubs", "Inversion of Control Containers and the Dependency Injection pattern" (http://martinfowler.com/articles.html)
David Hayden (http://www.davidhayden.com/)
Reflective Perspective, a good daily feed (http://blog.cwa.me.uk/tags/morning-brew/)
Ayende (http://ayende.com/Blog/)
Eric Lippert - Works on the language. Sometimes read about new C# features before they're announced elsewhere.
Scott Hanselman
Journals
The Architecture Journal (http://msdn.microsoft.com/en-us/architecture/bb410935.aspx) And what's a great option - you can order free, paper based copies!
MSDN Magazine (http://msdn.microsoft.com/en-us/magazine/default.aspx)
Community
Codeproject.com, short and large articles
pnpguidance.com, tutorials, blogs and articles
Real applications and devteams
pattern&practices home: http://msdn.microsoft.com/en-us/practices/default.aspx, and P&P products
SCSF, the Smart Client Software Factory home. Learn about desktop enterprise systems. (http://msdn.microsoft.com/en-us/library/aa480482.aspx)
WCSF, the Web Client Software Factory home. Learn about busines(process) oriented web architecures. (http://msdn.microsoft.com/en-us/library/bb264518.aspx)
Enterprise Library
For free - I would recommend MSDN, particularly keep an eye on the C# and .NET technology pages. Lots of blogs, and nearly every announcements about what's up and coming is put there.
Serverside.net
The ondemand(previously recorded) webcasts from Microsoft are normally really good, but it's a painful number of clicks to actually get to the point where you can download the file, and sometimes you find that it is not available.
Also sometimes you can find a .NET User Group locally that will have speakers/sessions occasionally. These are also great ways to network and find out what kind of work is going on in your area.
Books, books, books! Good books are written by subject matter expects, involve input from many sources, are peer reviewed, well structured and go orders of magnitude deeper than trade shows, and most online material. When you buy a book, you get the experience of an expert for a very reasonable price.
NDepend documentation comes with two white books and also online blog posts and articles concerning the architecture for large .NET application:
Partitioning code base through .NET assemblies and Visual Studio projects (8 pages)
Defining .NET Components with Namespaces (7 pages)
Control Components Dependencies to gain Clean Architecture
Re-factoring, Re-Structuring and the cost of Levelizing
Evolutionary Design and Acyclic componentization
Layering, the Level metric and the Discourse of Method
Fighting Fabricated Complexity
I never get to go to PDC, but I do love to watch the videos.
As a previous post mentioned the MS PDC videos are on online. Same with Mix which has good MS Web development related content. Also, for general MS videos there is Channel 9, it's not all technical content, but it's worth searching if you are looking for something in particular.
Someone already mentioned blogs, here are a few more:
Scott Hansleman - lots of stuff on there, a lot of ASP, MVC stuff.
Phil Haack - another good MVC guy.
Rob Connery - again a lot of focus on MVC.
ScottGu - according to his blog he "builds a few products for Microsoft", which has to be the understatment of the year - he is in charge of ASP, IIS, SIlverlight and much more besides at MS.
Check out Sharp Architecture, it's very promising.
I've collected several RSS feeds that I regularly to stay up-to-date on .NET and Agile. If you like I can share the list with you. It contains most of the stuff already mentioned here.