This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text.RegularExpressions; | |
using Nethereum.Util; | |
namespace SupplyChain.BlockChain.Validation | |
{ | |
/// <inheritdoc cref="IAddressValidator"/> | |
public class AddressValidator : IAddressValidator | |
{ | |
private static readonly Regex AddressRegex = new Regex("^0[xX]([A-Fa-f0-9]{40})$"); | |
private static readonly AddressUtil AddressUtil = new AddressUtil(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x10459EA30C46269CD8c0f5D3Be8Ea29e1E4e3f8e |
NewerOlder