diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 17796b11..8b47f263 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,7 +49,7 @@ JavaScript & markdown are used to make the project as accessible as possible. |-- data data output folder |-- db schema for mysql |-- docs community markdown documents -|-- resources static assets (png, svg, jpg, pdf, html) +|-- static static assets (png, svg, jpg, pdf, html) |-- scripts data aggregation or processing |-- server server configs |-- src single page react & redux app (deployed to IPFS) diff --git a/api/server.mjs b/api/server.mjs index d13321d8..a0814c8e 100644 --- a/api/server.mjs +++ b/api/server.mjs @@ -67,15 +67,15 @@ api.use( }) ) -api.use(robots(path.join(__dirname, '..', 'resources', 'robots.txt'))) -api.use(favicon(path.join(__dirname, '..', 'resources', 'favicon.ico'))) +api.use(robots(path.join(__dirname, '..', 'static', 'robots.txt'))) +api.use(favicon(path.join(__dirname, '..', 'static', 'favicon.ico'))) api.use((req, res, next) => { res.set('Cache-Control', 'no-cache, must-revalidate, proxy-revalidate') next() }) -const resourcesPath = path.join(__dirname, '..', 'resources') -api.use('/resources', serveStatic(resourcesPath)) +const static_path = path.join(__dirname, '..', 'static') +api.use('/static', serveStatic(static_path)) const dataPath = path.join(__dirname, '..', 'data') api.use('/data', serveStatic(dataPath)) diff --git a/docs/design/basics.md b/docs/design/basics.md index 204c4ab0..8309c470 100644 --- a/docs/design/basics.md +++ b/docs/design/basics.md @@ -8,12 +8,12 @@ tags: nano, protocol, xno, crypto, digital, money, whitepaper, design For a general overview for those new to the topic of digital money, start with a brief overview of how it works. -| Resources | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- | -| [Protocol Reference](/getting-started-devs/protocol-reference) | details based on the reference implementation maintained by the Nano Foundation | -| Living Whitepaper | Latest version of the protocol design | -| Nano Whitepaper | revised (2017) | -| RaiBlocks Whitepaper | original protocol design (2015) | +| Resources | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| [Protocol Reference](/getting-started-devs/protocol-reference) | details based on the reference implementation maintained by the Nano Foundation | +| Living Whitepaper | Latest version of the protocol design | +| Nano Whitepaper | revised (2017) | +| RaiBlocks Whitepaper | original protocol design (2015) | _Note: the published whitepapers are outdated_ diff --git a/docs/getting-started-devs/getting-started.md b/docs/getting-started-devs/getting-started.md index a68a4da2..5ba6e8f5 100644 --- a/docs/getting-started-devs/getting-started.md +++ b/docs/getting-started-devs/getting-started.md @@ -55,7 +55,7 @@ A 32-byte value, usually represented as a 64 character, uppercase hexadecimal st A string that starts with `nano_` (previously `xrb_`), then has 52 characters which are the account public key but encoded with a specific base32 encoding algorithm to prevent human transcription errors by limiting ambiguity between different characters (no O and 0 for example). Then the final 8 characters are Blake2b-40 checksum of the account public key to aid in discovering typos, also encoded with the same base32 scheme (5 bytes).
- Nano account address encoding + Nano account address encoding
Ex. nano_1anrzcuwe64rwxzcco8dkhpyxpi8kd7zsjc1oeimpc3ppca4mrjtwnqposrs
@@ -116,10 +116,10 @@ account_id = nanolib.generate_account_id(seed, 0) ##### Dart -| Name | Description | -| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| [nanodart](https://github.com/appditto/nanodart) | Dart library for the NANO and BANANO cryptocurrencies - supports key generation, signing, encryption, and more. | -| [nanoutil](https://github.com/perishllc/nanoutil) | A Nano and Banano cryptocurrency library for the Dart programming language | +| Name | Description | +| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| [nanodart](https://github.com/appditto/nanodart) | Dart library for the NANO and BANANO cryptocurrencies - supports key generation, signing, encryption, and more. | +| [nanoutil](https://github.com/perishllc/nanoutil) | A Nano and Banano cryptocurrency library for the Dart programming language | ##### Python @@ -151,9 +151,9 @@ account_id = nanolib.generate_account_id(seed, 0) ##### Java -| Name | Description | -| ----------------------------------------------- | --------------------------------------------------------- | -| [jNano](https://github.com/nano-java/nano-java) | A comprehensive Java library for the Nano cryptocurrency. | +| Name | Description | +| ------------------------------------------ | --------------------------------------------------------- | +| [jNano](https://github.com/koczadly/jNano) | A comprehensive Java library for the Nano cryptocurrency. | ##### Go diff --git a/docs/getting-started-users/acquiring.md b/docs/getting-started-users/acquiring.md index f4cee467..baaf8c00 100644 --- a/docs/getting-started-users/acquiring.md +++ b/docs/getting-started-users/acquiring.md @@ -10,13 +10,8 @@ tags: nano, xno, buy, how, where, get, purchase, crypto, exchange, faucets, earn Get some free Nano (XNO) from community maintained and donated faucets to test it out. -- nano-faucet.org - NanoDrop.io - freenanofaucet.com -- trynano.io -- nendlyy5734...yh7rzqd.onion (TOR) -- apollonano.com -- nanocafe.cc ## Purchasing @@ -40,21 +35,21 @@ As a rule of thumb, depositing money onto a trusted exchange is the most cost-ef #### Australia -| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | -| ----------------------------------------------------------------------------------------------------------------------- | --------- | --------- | -------------- | -| Binance.com | 0.1% | 0.1% | Ӿ 0.01 | -| Kraken.com | 0.16% | 0.26% | Ӿ 0.05 | -| KuCoin | 0.1% | 0.1% | Ӿ 0.01 | -| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | +| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | +| ----------------------------------------------------------------------------------------------- | --------- | --------- | -------------- | +| Binance.com | 0.1% | 0.1% | Ӿ 0.01 | +| Kraken.com | 0.16% | 0.26% | Ӿ 0.05 | +| KuCoin | 0.1% | 0.1% | Ӿ 0.01 | +| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | #### Canada -| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | -| ----------------------------------------------------------------------------------------------------------------------- | --------- | --------- | -------------- | -| Binance.com | 0.1% | 0.1% | Ӿ 0.01 | -| Kraken.com | 0.16% | 0.26% | Ӿ 0.05 | -| KuCoin | 0.1% | 0.1% | Ӿ 0.01 | -| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | +| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | +| ----------------------------------------------------------------------------------------------- | --------- | --------- | -------------- | +| Binance.com | 0.1% | 0.1% | Ӿ 0.01 | +| Kraken.com | 0.16% | 0.26% | Ӿ 0.05 | +| KuCoin | 0.1% | 0.1% | Ӿ 0.01 | +| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | #### Europe @@ -75,11 +70,10 @@ As a rule of thumb, depositing money onto a trusted exchange is the most cost-ef #### South Korea -| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | -| ------------------------------------------------------------------------------------------- | --------- | --------- | -------------- | -| Probit.kr | 0.2% | 0.2% | Unknown | -| Huobi.co.kr | 0.1% | 0.1% | Unknown | -| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | +| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | +| ----------------------------------------------------------------------------------- | --------- | --------- | -------------- | +| Probit.kr | 0.2% | 0.2% | Unknown | +| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | #### United Kingdom @@ -93,12 +87,12 @@ As a rule of thumb, depositing money onto a trusted exchange is the most cost-ef #### United States -| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | -| ----------------------------------------------------------------------------------------------------------------------- | --------- | --------- | -------------- | -| Binance.US | 0.1% | 0.1% | Ӿ 0.01 | -| Kraken.com | 0.16% | 0.26% | Ӿ 0.05 | -| KuCoin | 0.1% | 0.1% | Ӿ 0.01 | -| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | +| Exchange | Maker Fee | Taker Fee | Withdrawal Fee | +| --------------------------------------------------------------------------------- | --------- | --------- | -------------- | +| Binance.US | 0.1% | 0.1% | Ӿ 0.01 | +| Kraken.com | 0.16% | 0.26% | Ӿ 0.05 | +| KuCoin | 0.1% | 0.1% | Ӿ 0.01 | +| Crypto.com | 0.4% | 0.4% | Ӿ 0.008 | ### Services @@ -361,20 +355,19 @@ As a rule of thumb, depositing money onto a trusted exchange is the most cost-ef ## Earning -Visit earn-nano.com for some ways to earn nano. - #### General - Wenano: travel around to spots around the world to collect free Nano - PlayNANO: Earn, play, bet with Nano, no account or login required - quicrypto.com -- bitfortip.com - unmineable.com +- cryptovision.live is a live video sharing platform where viewers are rewarded with nano. +- perseeve.app #### Games - nanogames.io -- playerkillers.exchange +- NanoBrowserQuest is a remake of the popular BrowserQuest web-based MMORPG mini-game that gives small nano reward after completion - luckynano.com - nanoquakejs.com diff --git a/docs/getting-started-users/storing/setup.md b/docs/getting-started-users/storing/setup.md index bbc30bf7..e353b422 100644 --- a/docs/getting-started-users/storing/setup.md +++ b/docs/getting-started-users/storing/setup.md @@ -50,8 +50,8 @@ To generate one on your own, you can download one of the following static websit ### Pages (Offline & Local) -- Numtel (Download / Github) — Source -- Nanoo.tools (Download / GitHub) — Site +- Numtel (Download / Github) — Source +- Nanoo.tools (Download / GitHub) — Site _Note: these generators have not been audited yet_ diff --git a/docs/history/overview.md b/docs/history/overview.md index af90d3a0..a090e602 100644 --- a/docs/history/overview.md +++ b/docs/history/overview.md @@ -69,7 +69,7 @@ Distribution began in 2015 and ended in October 2017, at which point the faucet Ӿ 7,000,000 (~5%) was set aside as a developer fund, of which about Ӿ 300,000 Nano remain as of November 2021. -Because the distribution process was conducted on-chain, it is publicly available to be reviewed and audited by looking at the Landing Account. +Because the distribution process was conducted on-chain, it is publicly available to be reviewed and audited by looking at the Landing Account. A few notable statistics compiled by u/hanzyfranzy: @@ -89,10 +89,6 @@ On 11 February 2018, the Core Team Account History - -Potential Accounts - ## Nano On 31 January 2018, RaiBlocks rebranded to Nano because it is easier to pronounce and sounds similar in whatever tongue spoken. @@ -100,7 +96,7 @@ On 31 January 2018, RaiBlocks rebranded to Nano because it is easier to pronounc ## Timeline
-History of notable digital money advances & innovations +History of notable digital money advances & innovations
Notable Publications diff --git a/docs/introduction/advantages.md b/docs/introduction/advantages.md index b2f8626f..24a75557 100644 --- a/docs/introduction/advantages.md +++ b/docs/introduction/advantages.md @@ -124,7 +124,7 @@ Nano's distribution was widely accessible as it had only two requirements: knowl Ӿ 7,000,000 (~5%) was set aside as a developer fund, of which about Ӿ 300,000 remain as of November 2021. -Because the distribution process was conducted on-chain, it is publicly available to be reviewed and audited by looking at the Core Faucet and Landing account. +Because the distribution process was conducted on-chain, it is publicly available to be reviewed and audited by looking at the Core Faucet and Landing account. A few notable statistics compiled by u/hanzyfranzy: @@ -142,7 +142,7 @@ Transactions achieve irreversible finality. Once a transaction achieves a quorum Typically, Nano transactions settle in under one second, oftentimes around 300ms. Prior to final votes (v22), it was able to settle in around 100ms. -It takes Bitcoin transactions about one hour to reach a 0.1% chance of potentially being reversed. +It takes Bitcoin transactions about one hour to reach a 0.1% chance of potentially being reversed. Traditional bank transfers, using ACH and Swift, can take anywhere from 1-3 days to settle. Real-Time Gross Settlement (RTGS) systems are available only for banks and can only be used domestically as they are operated by central banks. diff --git a/docs/introduction/how-it-works.md b/docs/introduction/how-it-works.md index d3f9daa6..9ba289b2 100644 --- a/docs/introduction/how-it-works.md +++ b/docs/introduction/how-it-works.md @@ -13,7 +13,7 @@ Nano is a blockchain for their ledger. In short, new operations are grouped in "a block" and linked to the previous group of operations. Nano introduces a different structure called a block-lattice. Instead of operations for all accounts being grouped in a single block, each account has its own "blockchain", where each operation is a single block that links to the previous operation for that account.
- Nano uses a block lattice structure for its distributed ledger + Nano uses a block lattice structure for its distributed ledger
In a block-lattice, each account has its own blockchain containing the account’s balance history.
diff --git a/docs/introduction/misconceptions.md b/docs/introduction/misconceptions.md index 2703407a..dbb5c952 100644 --- a/docs/introduction/misconceptions.md +++ b/docs/introduction/misconceptions.md @@ -39,7 +39,7 @@ The internet era has been dominated by companies and products based on the conce The utility of digital money in aggregate is a function of how many merchants want to accept payment for goods and services in digital money. The more people who accept payment using digital money, the more merchants existing users can do business with. -Digital Money, like Nano, has an S-curve Network Effects +Digital Money, like Nano, has an S-curve Network Effects In practice, network effects resemble an S-curve more than an exponential curve. The first 50% of merchants that accept digital cash for payment make it exponentially more useful than the second 50%. @@ -89,7 +89,7 @@ It will not become any less useful if the developer fund runs out; those who rec For a competitor to replace Nano, it will need to materially improve upon Nano's fundamental properties. There is not much room for improvement, given Nano is instant, feeless, energy-efficient, scalable, and irreversible. Based on those qualities and how few advances there have been over the last 30 years, it may be more likely that Nano is not viable than there being an improvement discovered that is incompatible. -Since its release, Bitcoin has been forked and cloned countless times. None of these clones have been able to gain much traction because they lack legitimacy, a quality that can not be forged in decentralized networks. +Since its release, Bitcoin has been forked and cloned countless times. None of these clones have been able to gain much traction because they lack legitimacy, a quality that can not be forged in decentralized networks. ### The best technology does not always win diff --git a/package.json b/package.json index 6f9ba442..594f7a17 100644 --- a/package.json +++ b/package.json @@ -10,14 +10,15 @@ "scripts": { "dev": "concurrently \"yarn start\" \"yarn start:api\"", "dev:live": "NC_DEV_LIVE=true yarn start", - "start": "webpack serve --mode=development --config webpack/webpack.dev.babel.mjs --port 8081 --history-api-fallback --static-directory resources --static-public-path /resources --open", + "start": "webpack serve --mode=development --config webpack/webpack.dev.babel.mjs --port 8081 --history-api-fallback --static-directory static --static-public-path /static --open", "start:api": "NODE_ENV=development node server.mjs", "deploy:ipfs": "ipfs-deploy build/index.html", "deploy": "scp -r build/* nano.community:/root/nano-community/build", "build": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.babel.mjs --color --progress && react-snap", "lint": "eslint . --ext js,mjs", "prettier": "prettier --write .", - "test": "TZ=America/New_York NODE_ENV=test TEST=all mocha --exit" + "test": "TZ=America/New_York NODE_ENV=test TEST=all mocha --exit", + "scan:links": "npx linkinator https://nano.community --recurse --timeout 10000" }, "homepage": "https://nano.community/", "reactSnap": { @@ -72,7 +73,7 @@ "https://www.googletagmanager.com" ], "exclude": [ - "/resources/**", + "/static/**", "/nano_*" ] }, diff --git a/src/index.html b/src/index.html index a5f963be..45275721 100644 --- a/src/index.html +++ b/src/index.html @@ -32,7 +32,7 @@ data-react-helmet="true" /> diff --git a/src/views/components/menu/menu.js b/src/views/components/menu/menu.js index 8b1b1bf0..320797d1 100644 --- a/src/views/components/menu/menu.js +++ b/src/views/components/menu/menu.js @@ -149,7 +149,7 @@ export default function Menu({ hide, hideSearch, hide_speed_dial }) { icon={ Nano is feeless, instant, and green / energy efficient digital money (cryptocurrency) } openIcon={}> diff --git a/src/views/components/seo/seo.js b/src/views/components/seo/seo.js index 6d08b0c5..7bca21ce 100644 --- a/src/views/components/seo/seo.js +++ b/src/views/components/seo/seo.js @@ -91,7 +91,7 @@ const Seo = ({ description, path = history.location.pathname, contentType = 'website', - image = '/resources/symbol-white.png', + image = '/static/symbol-white.png', published, updated, category, diff --git a/src/views/pages/label/label.js b/src/views/pages/label/label.js index 72115dac..58bb58e4 100644 --- a/src/views/pages/label/label.js +++ b/src/views/pages/label/label.js @@ -133,7 +133,7 @@ export default class LabelPage extends React.Component {