Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
guru
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
guru
Commits
4cae27e3
Commit
4cae27e3
authored
Oct 17, 2018
by
Clint Mourlevat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing stratis generation address
parent
2305fbcd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
27 deletions
+4
-27
HomeController.cs
Controllers/HomeController.cs
+3
-3
Stratis.Guru.csproj
Stratis.Guru.csproj
+1
-24
No files found.
Controllers/HomeController.cs
View file @
4cae27e3
...
@@ -12,7 +12,7 @@ using Microsoft.Extensions.Caching.Memory;
...
@@ -12,7 +12,7 @@ using Microsoft.Extensions.Caching.Memory;
using
NBitcoin
;
using
NBitcoin
;
using
Newtonsoft.Json
;
using
Newtonsoft.Json
;
using
QRCoder
;
using
QRCoder
;
using
Stratis.Bitcoin.Networks
;
using
NBitcoin
;
using
Stratis.Guru.Models
;
using
Stratis.Guru.Models
;
using
Stratis.Guru.Modules
;
using
Stratis.Guru.Modules
;
...
@@ -75,8 +75,8 @@ namespace Stratis.Guru.Controllers
...
@@ -75,8 +75,8 @@ namespace Stratis.Guru.Controllers
var
stratisAddress
=
new
Key
();
var
stratisAddress
=
new
Key
();
return
View
(
new
StratisAddressPayload
return
View
(
new
StratisAddressPayload
{
{
PrivateKey
=
stratisAddress
.
GetWif
(
Stratis
.
Bitcoin
.
Networks
.
StratisMain
.
Main
).
ToString
(),
PrivateKey
=
stratisAddress
.
GetWif
(
Network
.
Stratis
Main
).
ToString
(),
PublicKey
=
stratisAddress
.
PubKey
.
GetAddress
(
Stratis
.
Bitcoin
.
Networks
.
StratisMain
.
Main
).
ToString
()
PublicKey
=
stratisAddress
.
PubKey
.
GetAddress
(
Network
.
Stratis
Main
).
ToString
()
});
});
}
}
...
...
Stratis.Guru.csproj
View file @
4cae27e3
...
@@ -7,32 +7,9 @@
...
@@ -7,32 +7,9 @@
<ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="NBitcoin" Version="4.1.1.54" />
<PackageReference Include="NStratis" Version="4.0.0.34" />
<PackageReference Include="NStratis" Version="4.0.0.66" />
<PackageReference Include="QRCoder" Version="1.3.3" />
<PackageReference Include="QRCoder" Version="1.3.3" />
<PackageReference Include="RestSharp" Version="106.5.4" />
<PackageReference Include="RestSharp" Version="106.5.4" />
<PackageReference Include="Stratis.Bitcoin" Version="1.0.0" />
<PackageReference Include="Stratis.Bitcoin.Networks" Version="1.2.2-beta" />
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="wwwroot\images\dark-top-right-bg.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\elliptical-bottom.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\elliptical-top.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\logo.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-blue.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-dark.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-green.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-purple.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-blue.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-dark.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-green.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-purple.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\prodnews-hero.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\qr.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\section-bg-bottom.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\section-bg-top.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\section-bg.png" />
</ItemGroup>
</ItemGroup>
</Project>
</Project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment