phala-network / phala-wiki-next Goto Github PK
View Code? Open in Web Editor NEWPhala Wiki
Home Page: https://wiki.phala.network/
License: MIT License
Phala Wiki
Home Page: https://wiki.phala.network/
License: MIT License
Broken link here: https://github.com/Phala-Network/phala-wiki-next/blob/master/content/en-us/build/archived/encoded-2021-workshop.md?plain=1#L62
The link this tutorial is broken.
Trying the 'Quick Start' from https://wiki.phala.network/en-us/general/mining/mine-phala/#quick-start in a rented hardware in Vultr.
Deploy instance: https://wiki.phala.network/en-us/general/mining/paas-miner/
Setup BIOS: https://wiki.phala.network/en-us/maintain/khala-mining/1-0-hardware-requirements/#2-disable-secure-boot
Except for UEFI mode that gets you stucked in UEFI Shell in the startup. Selected Legacy mode instead: https://wiki.phala.network/en-us/maintain/khala-mining/1-0-hardware-requirements/#3-use-uefi-boot
Save and reboot: https://wiki.phala.network/en-us/maintain/khala-mining/1-0-hardware-requirements/#4-save--reboot
Install drivers for Intel SGX: https://wiki.phala.network/en-us/maintain/khala-mining/1-0-hardware-requirements/#supported-operating-systems
Installed Phala mining tools: https://wiki.phala.network/en-us/maintain/khala-mining/1-1-installing-phala-mining-tools/
Tryied the 'Quick Start': https://wiki.phala.network/en-us/general/mining/mine-phala/#quick-start
I don't know.
--2022-02-24 19:44:36-- https://raw.githubusercontent.com/Phala-Network/solo-mining-scripts/improvement-test/gui.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10991 (11K) [text/plain]
Saving to: ‘STDOUT’
100%[========================================================================================>] 10.73K --.-KB/s in 0s
2022-02-24 19:44:36 (58.2 MB/s) - written to stdout [10991/10991]
main: line 11: break: only meaningful in a for',
while', or `until' loop
Hit:1 https://download.fortanix.com/linux/apt xenial InRelease
Hit:2 http://us.clouds.archive.ubuntu.com/ubuntu impish InRelease
Get:3 http://security.ubuntu.com/ubuntu impish-security InRelease [110 kB]
Get:4 http://us.clouds.archive.ubuntu.com/ubuntu impish-updates InRelease [110 kB]
Get:5 http://us.clouds.archive.ubuntu.com/ubuntu impish-backports InRelease [101 kB]
Fetched 321 kB in 1s (423 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
unzip is already the newest version (6.0-26ubuntu1).
wget is already the newest version (1.21-1ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Archive: improvement-test.zip
2c9bdca0f5ff9d56e6422518dd4078ae97862636
creating: solo-mining-scripts-improvement-test/
inflating: solo-mining-scripts-improvement-test/.env
inflating: solo-mining-scripts-improvement-test/.gitignore
inflating: solo-mining-scripts-improvement-test/LICENSE
inflating: solo-mining-scripts-improvement-test/README.cn.md
inflating: solo-mining-scripts-improvement-test/README.md
inflating: solo-mining-scripts-improvement-test/console.js
inflating: solo-mining-scripts-improvement-test/docker-compose.yml
inflating: solo-mining-scripts-improvement-test/gui.sh
inflating: solo-mining-scripts-improvement-test/install.sh
inflating: solo-mining-scripts-improvement-test/phala.service
creating: solo-mining-scripts-improvement-test/scripts/
creating: solo-mining-scripts-improvement-test/scripts/cn/
inflating: solo-mining-scripts-improvement-test/scripts/cn/config.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/console.js
inflating: solo-mining-scripts-improvement-test/scripts/cn/install_phala.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/logs.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/phala.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/start.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/status.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/stop.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/uninstall.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/update.sh
inflating: solo-mining-scripts-improvement-test/scripts/cn/utils.sh
creating: solo-mining-scripts-improvement-test/scripts/en/
inflating: solo-mining-scripts-improvement-test/scripts/en/config.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/console.js
inflating: solo-mining-scripts-improvement-test/scripts/en/install_phala.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/logs.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/phala.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/start.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/status.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/stop.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/uninstall.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/update.sh
inflating: solo-mining-scripts-improvement-test/scripts/en/utils.sh
inflating: solo-mining-scripts-improvement-test/sgx_enable
--------------Install phala scripts-------------
Uninstall old phala scripts
----------Your system is not supported. Phala currently only supports Ubuntu 18.04/Ubuntu 20.04----------
Install new phala scripts
Install phala command line tool
ln: failed to create symbolic link '/usr/bin/phala': File exists
------------Install success-------------
Intel SGX is already enabled on this system
----------Your system is not supported. Phala currently only supports Ubuntu 18.04/Ubuntu 20.04----------
----------Your system is not supported. Phala currently only supports Ubuntu 18.04/Ubuntu 20.04----------
Ubuntu 21.10
cargo-contract previous version (up to 1.5.1) required to install binaryen package to get wasm-opt
version 2.0.0 doesn't need it anymore
as stated in the "ink! 3.x to 4.0" migration guide (https://use.ink/faq/migrating-from-ink-3-to-4/)
also no more cargo +nightly contract is required
we should now be able to compile with cargo contract build
this page need to be updated to reflect these changes:
https://wiki.phala.network/en-us/build/stateless/setup/
... per our branding guidance.
Direct link: https://wiki.phala.network/en-us/general/applications/delegation-example/
Under "Delegation" --> "Examples of Delegation" there is the image reward-distribution.png where we can see a typo on the rewards for Delegator A and B, it should be the opposite, delegator A gets the 1.6 PHA, not 3.2 PHA.
My Khala address: 43jngowNLTQhoEAFENUao77R27cfzNMT7jUzm9AKm3HS962E
Thanks for the tip ;)
The docs-navigation in PR #49 is not showing the next articles as expected in chronological order.
The articles should be listed in the buttons in chronological order.
Now when "has-jax" is added to a <ul>
, the bullet will disappear. The tokenomic page is impacted a lot.
When scrolling down the page, the header moves with the page contents.
Open any page and scroll down.
The header should be fixed, only the page contents are scrolled down.
Issue comes since new PR. After investigating any version before this commit: 1d7f9c2 seems to work.
This only appears when the npm server is restarted.
Pages should load.
Also check current Netlify deployment, pages are not loaded.
404 error without any issues in the logs
> @hyas/[email protected] precheck
> npm version
{
'@hyas/doks': '0.3.4',
npm: '8.1.0',
node: '16.13.0',
v8: '9.4.146.19-node.13',
uv: '1.42.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.17.2',
modules: '93',
nghttp2: '1.45.1',
napi: '8',
llhttp: '6.0.4',
openssl: '1.1.1l+quic',
cldr: '39.0',
icu: '69.1',
tz: '2021a',
unicode: '13.0',
ngtcp2: '0.1.0-DEV',
nghttp3: '0.1.0-DEV'
}
> @hyas/[email protected] check
> exec-bin node_modules/.bin/hugo/hugo version
TODO: Change the font globally in Doks to comply with Phala design and potentially reuse font of current wiki.
This is necessary prior to launching the new wiki.
This feature would improve readability and allow the reader to focus on what they need to read most.
The reader can expand and collapse the respective sections.
The reader could pick their platform (OS) and avoid verbosity when reading. Only the required content would be seen.
Specifically relevant for:
https://wiki.phala.network/en-us/learn/phala-blockchain/blockchain-entities/ is not shown under Phala Blockchain.
Probably requires a change in heading.
This site can currently only be accessed when clicking on the hyperlink of Developer Blockchain entities.
Should be shown under the Phala Blockchain in learn.
Redraw all the figures into a unified style
Many reasons can cause ContractTrapped
. One of them is that the contract panicked. We can build the contract without --release
to see the panic message.
This timestamp may derive from git showing the last change. Should comply with the Doks framework.
Link redirects to the wiki site are returning 404 on github and on the phala.network domain most of the sublinks returns to:
https://wiki.phala.network/en-us/general/phala-network/phala-network/
Trying this page:
https://wiki.phala.network/en-us/docs/khala-mining/3-0-console/
https://wiki.phala.network/en-us/docs/khala-mining/4-0-faq/#confidence-level
https://wiki.phala.network/en-us/docs/phala-network/phala-network/
https://wiki.phala.network/en-us/docs/
Should be landing into the specified hyperlinks.
Contribution guidelines for the community should be in the README.md.
This may include style guidelines when editing existing content & adding content.
A full list of processes can be curated as the wiki grows...
For instance
This can make the review of PRs easier (save time) and add conciseness to the reader with overall quality improvements.
Feel free to suggest more ideas in comments below.
Being able to add a terminal instead of a GIF.
Similar as here: Website example
Source Code.
This will simplify the aspects for the reader through a cleaner design.
Looks like It won't produce unnecessary fp instructions: https://github.com/khonsulabs/justjson/
And maybe another way: making our own simple JSON parser based on https://github.com/zesterer/chumsky/blob/master/examples/json.rs.
Link broken as it is referring to the page of the old mining page.
Step 1: Go on page ==> https://wiki.phala.network/en-us/mine/khala-mining/khala-mining-guide/
Step 2: Click on "Mining Console"
The link should have been redirected to the stakepool page ==> https://app.phala.network/farm/stake-pool
The link is redirected to the old mining console.
Ubuntu 5.19.0-35-generic
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
Version 1.48.171 Chromium: 110.0.5481.177 (Build officiel) (64 bits)
Add a Landing Page
Add blank landing page in the doks framework for the english language. Modifications will be done .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.