-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 94e8d98
Showing
221 changed files
with
21,707 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
/.firebase | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
/.angular | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
package-lock.json | ||
.firebaserc | ||
firebase.json |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# [HNW-Helius NFT Wiki](https://hnw-hackathon.web.app) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/FpSweeper/status/1616546789590716416?s=20&t=-G78TldYbVU5xJ3my7_gPw) | ||
|
||
|
||
|
||
![version](https://img.shields.io/badge/version-1.0.0-blue.svg) | ||
|
||
**Description** | ||
|
||
HNW is a Solana web3 platform developped in the Sandstorm Hackathon in January 2023, it is a platform using Helius.xyz API to get metadata, events, listing and sales and other informations about any solana NFT or collection, it has also a marketplace engine which help users to track latest sales/listing in the biggest marketplaces in solana, the app modules will be detailed in the below sections. | ||
|
||
**NFT Engine** | ||
|
||
<img src="https://github.com/fpsweeper/HNW/blob/main/src/assets/docs/colls.png?raw=true"/> | ||
It is a module where you can get any data related to any solana NFT by its mint address. Using this module you can get the bellow informations: | ||
* Collection | ||
* Floor-price (this info use an alpha endpoint, so it can show wrong data) | ||
* Listing (this info use an alpha endpoint, so it can show wrong data) | ||
* NFT image | ||
* Listing price | ||
* NFT events | ||
* Filter events by sources and types. | ||
|
||
|
||
**Collections Engine** | ||
|
||
<img src="https://github.com/fpsweeper/HNW/blob/main/src/assets/docs/colls.png?raw=true"/> | ||
Using this module you can get the bellow infos about any collection in solana: | ||
* Floor-price (this info use an alpha endpoint, so it can show wrong data) | ||
* Listing (this info use an alpha endpoint, so it can show wrong data) | ||
* The mint list | ||
* Download mint list (JSON file) | ||
* Latest sales | ||
* Active listing | ||
|
||
|
||
**Marketplaces Engine** | ||
|
||
<img src="https://github.com/fpsweeper/HNW/blob/main/src/assets/docs/marketplaces.png?raw=true"/> | ||
The marketplace engine show realtime sales and listing in the biggest solana marketplaces, using this module you can benefit from the following: | ||
* Get latest sales/listing in the biggest marketplaces | ||
* Get top 10 collections in listing/sales | ||
* Get metadata of any NFT listed/sold | ||
* Get the listing/sold price of the latest events in those marketplaces |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"argon-design-system-angular": { | ||
"root": "", | ||
"sourceRoot": "src", | ||
"projectType": "application", | ||
"prefix": "app", | ||
"schematics": {}, | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "dist/argon-design-system-angular", | ||
"index": "src/index.html", | ||
"main": "src/main.ts", | ||
"polyfills": "src/polyfills.ts", | ||
"tsConfig": "src/tsconfig.app.json", | ||
"allowedCommonJsDependencies": [ | ||
"rxjs/add/operator/filter", | ||
"ng2-nouislider", | ||
"crypto", | ||
"assert", | ||
"stream", | ||
"zlib", | ||
"path", | ||
"buffer", | ||
|
||
"@solana/buffer-layout", | ||
"borsh", | ||
"bs58", | ||
"buffer", | ||
"jayson/lib/client/browser", | ||
"rpc-websockets", | ||
"secp256k1", | ||
"tweetnacl" | ||
], | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets" | ||
], | ||
"styles": [ | ||
"src/styles.scss", | ||
"src/assets/scss/argon.scss" | ||
], | ||
"scripts": ["node_modules/jquery/dist/jquery.js", | ||
"./node_modules/angular-dark-mode/angular-dark-mode.js", | ||
"node_modules/bootstrap-notify/bootstrap-notify.js"] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.prod.ts" | ||
} | ||
], | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"extractCss": true, | ||
"namedChunks": false, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true | ||
}, | ||
"development": { | ||
"vendorChunk": true, | ||
"extractLicenses": false, | ||
"sourceMap": true, | ||
"namedChunks": true, | ||
"buildOptimizer": false, | ||
"optimization": { | ||
"scripts": true, | ||
"styles": { | ||
"minify": false, | ||
"inlineCritical": true | ||
}, | ||
"fonts": true | ||
}, | ||
"outputHashing": "all" | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"browserTarget": "argon-design-system-angular:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "argon-design-system-angular:build:production" | ||
}, | ||
"development": { | ||
"browserTarget": "argon-design-system-angular:build:development" | ||
} | ||
}, | ||
"defaultConfiguration": "development" | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "argon-design-system-angular:build" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "src/test.ts", | ||
"polyfills": "src/polyfills.ts", | ||
"tsConfig": "src/tsconfig.spec.json", | ||
"karmaConfig": "src/karma.conf.js", | ||
"styles": [ | ||
"src/styles.scss" | ||
], | ||
"scripts": ["node_modules/jquery/dist/jquery.js", | ||
"./node_modules/angular-dark-mode/angular-dark-mode.js", | ||
"node_modules/bootstrap-notify/bootstrap-notify.js"], | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets" | ||
] | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"src/tsconfig.app.json", | ||
"src/tsconfig.spec.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"argon-design-system-angular-e2e": { | ||
"root": "e2e/", | ||
"projectType": "application", | ||
"architect": { | ||
"e2e": { | ||
"builder": "@angular-devkit/build-angular:protractor", | ||
"options": { | ||
"protractorConfig": "e2e/protractor.conf.js", | ||
"devServerTarget": "argon-design-system-angular:serve" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"devServerTarget": "argon-design-system-angular:serve:production" | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": "e2e/tsconfig.e2e.json", | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"cli": { | ||
"analytics": false | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"name": "argon-design-system-angular", | ||
"version": "1.3.0", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve", | ||
"build": "ng build", | ||
"test": "ng test", | ||
"lint": "ng lint", | ||
"e2e": "ng e2e", | ||
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start" | ||
}, | ||
"private": true, | ||
"dependencies": { | ||
"@angular-builders/custom-webpack": "^15.0.0", | ||
"@angular/animations": "15.1.0", | ||
"@angular/cdk": "^13.3.1", | ||
"@angular/common": "^15.1.0", | ||
"@angular/compiler": "^15.1.0", | ||
"@angular/core": "^15.1.0", | ||
"@angular/elements": "^15.1.0", | ||
"@angular/forms": "^15.1.0", | ||
"@angular/localize": "15.1.0", | ||
"@angular/platform-browser": "^15.1.0", | ||
"@angular/platform-browser-dynamic": "^15.1.0", | ||
"@angular/router": "^15.1.0", | ||
"@heavy-duty/wallet-adapter": "^0.5.0-beta.0", | ||
"@ng-bootstrap/ng-bootstrap": "12.0.1", | ||
"@ng-select/ng-select": "^10.0.3", | ||
"@popperjs/core": "^2.11.4", | ||
"@solana/spl-token": "^0.3.6", | ||
"@solana/wallet-adapter-wallets": "^0.19.10", | ||
"@solana/web3.js": "^1.72.0", | ||
"@types/chart.js": "^2.9.37", | ||
"ajv": "^8.12.0", | ||
"angular-dark-mode": "^3.0.3", | ||
"angular-sol-wallets": "^0.0.22", | ||
"assert": "^2.0.0", | ||
"bn.js": "^5.2.1", | ||
"bootstrap-notify": "^3.1.3", | ||
"browserify-zlib": "^0.2.0", | ||
"buffer": "^6.0.3", | ||
"chart.js": "^4.2.0", | ||
"core-js": "^3.27.1", | ||
"crypto-browserify": "^3.12.0", | ||
"express": "^4.18.2", | ||
"express-openid-connect": "^2.11.0", | ||
"firebase": "^9.17.1", | ||
"jquery": "^3.6.3", | ||
"jquery.js": "^0.0.2-security", | ||
"jw-bootstrap-switch-ng2": "2.0.5", | ||
"moment": "^2.29.1", | ||
"ng2-charts": "^4.1.1", | ||
"ng2-nouislider": "1.8.3", | ||
"ngx-highlightjs": "^7.0.1", | ||
"nouislider": "14.6.3", | ||
"path-browserify": "^1.0.1", | ||
"rxjs": "^7.5.5", | ||
"solana-wallets-vue": "^0.5.2", | ||
"stream-browserify": "^3.0.0", | ||
"util": "^0.12.5", | ||
"zone.js": "~0.11.5" | ||
}, | ||
"devDependencies": { | ||
"@angular-devkit/build-angular": "^15.1.1", | ||
"@angular/cli": "^15.1.1", | ||
"@angular/compiler-cli": "^15.1.0", | ||
"@angular/language-service": "15.1.0", | ||
"@types/jasmine": "~3.10.3", | ||
"@types/jasminewd2": "~2.0.10", | ||
"@types/node": "16.3.2", | ||
"codelyzer": "6.0.2", | ||
"jasmine-core": "~4.0.1", | ||
"jasmine-spec-reporter": "~7.0.0", | ||
"karma": "^6.3.17", | ||
"karma-chrome-launcher": "~3.1.1", | ||
"karma-coverage": "^2.2.0", | ||
"karma-coverage-istanbul-reporter": "~3.0.3", | ||
"karma-jasmine": "~4.0.1", | ||
"karma-jasmine-html-reporter": "^1.7.0", | ||
"protractor": "7.0.0", | ||
"ts-node": "~10.7.0", | ||
"tslint": "6.1.3", | ||
"typescript": "~4.8.4" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!--<app-navbar></app-navbar>--> | ||
<!--<app-navbar2></app-navbar2>--> | ||
<router-outlet></router-outlet> | ||
<app-footer></app-footer> |
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { TestBed, async } from '@angular/core/testing'; | ||
|
||
import { AppComponent } from './app.component'; | ||
|
||
describe('AppComponent', () => { | ||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ | ||
AppComponent | ||
], | ||
}).compileComponents(); | ||
})); | ||
|
||
it('should create the app', async(() => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
const app = fixture.debugElement.componentInstance; | ||
expect(app).toBeTruthy(); | ||
})); | ||
|
||
it(`should have as title 'app'`, async(() => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
const app = fixture.debugElement.componentInstance; | ||
expect(app.title).toEqual('app'); | ||
})); | ||
|
||
it('should render title in a h1 tag', async(() => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
fixture.detectChanges(); | ||
const compiled = fixture.debugElement.nativeElement; | ||
expect(compiled.querySelector('h1').textContent).toContain('Welcome to app!!'); | ||
})); | ||
}); |
Oops, something went wrong.