Skip to content

Commit

Permalink
update to community standards and adding ergohack projects
Browse files Browse the repository at this point in the history
  • Loading branch information
glasgowm148 committed Mar 1, 2023
1 parent 740bea0 commit efd5a47
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 17 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,28 @@ mkdocs serve

## ToDo

### Wee Jobs


- [x] Make sections on NiPoPoWs more cohesive. (Mining, Scaling, Light Clients)
- [x] (BUG) Python in multi-code selector boxes seems to have broken.
- [x] (BUG) LaTex commands need refresh to work sometimes. (Preload in Mathjax.js)
- [x] Flesh out & tidy Apps & Use Cases section (new title?)
- [x] Split and tidy scaling page
- [x] Missing text bottom of modes of operation
- [x] Tidy Light Nodes page (on learn the basics)
- [x] SigmaRust and ergpy added to frameworks index
- [x] ergopuppet to ergoscript tooling
- [ ] Tidy and clarify the Multi-Stage contract/transaction pages.
- [ ] Improve lang index pages
- [ ] off-chain bots
- [ ] box index -> registers index
- [ ] dev/libraries add context text to panes
- [ ] Rewrite /uses/nft

### Big Jobs
- [x] Tidy Light Nodes page (on learn the basics)
- [x] Make sections on NiPoPoWs more cohesive. (Mining, Scaling, Light Clients)
- [ ] Move more research papers into markdown, so they are indexed and searchable.
- [ ] Transfer over any remaining information from ergonaut.space
- [ ] Finish moving over ErgoTree specification
- [ ] Improve lang index pages
- [ ] off-chain bots
- [ ] box index -> registers index
- [ ] Rewrite 'Why Ergo' - include VC slides?
- [ ] Rewrite Governance page
3 changes: 3 additions & 0 deletions docs/contribute/standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@
| # | Description |
| ------- | ------------------------------------------------------------ |
| **3.1** | Enable [OrgRobot](https://tgdev.io/bot/orgrobot) with custom questions. |
| **3.1** | [tgdev](https://tgdev.io/bot/orgrobot) has a few handy free bots like [daysandbox_bot](https://tgdev.io/bot/daysandbox_bot) & [grep_robot](https://tgdev.io/bot/grep_robot) |
| **3.2** | The built-in spam protection should be sufficient if properly configured. |
| **3.3** | [Bridge your chats](#bridge) with the Ergo Discord |
| **3.3** | Get your Telegram added to [@ErgoChats](https://t.me/Ergo_Chats) on Telegram. |
| **3.3** | Create a PR to add yourself to [this documentation](https://github.com/glasgowm148/ergodocs) |
| **3.3** | Get added on [ergcube](https://ergcube.com/index.php?do=static&page=socials) and [sigmaverse](https://github.com/ergoplatform/sigmaverse) |
| **3.4** | Participate in the weekly developer and marketing updates. |
| **3.4** | Particpate in [ergoforum.org/c/marketing](https://www.ergoforum.org/c/marketing/13) |
| **3.5** | Teach good principles like [KYA](kya.md). |
Expand Down
31 changes: 30 additions & 1 deletion docs/eco/analog-ergo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,33 @@

This project aims to use cryptographic primitives (well established, low level algorithms) as the basis for a cross-chain peer-to-peer marketplace. It will enable users to set and agree to listing prices and other parameters in a private and fungible manner, without the involvement of intermediaries.

Update: Commendable progress has been made towards creating a decentralized atomic order book on Ergo. Proof of concept Solidity contracts have been successfully tested. Initial ErgoScript implementation looks promising with testnet transactions having been completed, and contracts currently needing updated to reflect elliptic curve differences between Solidity and ErgoScript.


## ScalarLock

> Successfully tested a Scalar Lock contract, this allows you to lock funds to a scalar value like a random 256bit number that you can test by comparing it with an Elliptic curve multiplication operation against the Secp256k1 Generator. A key component of how values are checked when verifying cryptographic signatures and will enable the final step to Atomic Swaps!.
ErgoScript makes this quite easy (Once the constants and registers are figured out):

```scala
val scalarLockScript: String = {
s"""
{
val xBYTES = OUTPUTS(0).R4[Coll[Byte]].get
val x = byteArrayToBigInt(xBYTES)
val G = decodePoint(generator)
sigmaProp(
receiver &&
G.exp(x) == xG
)
}
""".stripMargin
```

- [Deploying](https://tn-ergo-explorer.anetabtc.io/en/transactions/b9d6a5796e0fa7b8fdf374426219d8fe2d64e7d9976e04845a0a6886414343b9)
- [Spending](https://tn-ergo-explorer.anetabtc.io/en/transactions/8c2440eff436a0c2f2af4b8b2d2ac53fbcfd43762b411217a26899f0ce749ba0)
- [Scala](https://github.com/dzyphr/ScalaSigmaParticle/blob/main/ScalarLock/src/main/scala/ScalarLock.scala)

## 2-Party Atomic Swap

A working python example of a 2-party atomic swap that you can simulate from 2 shell/terminal windows is available at [2pAtomicSwapExample](https://github.com/dzyphr/2pAtomicSwapExample). This might help people reason about the way in which secrets are shared through this protocol and at what steps what data transfer or blockchain interaction is supposed to occur.

3 changes: 0 additions & 3 deletions docs/eco/ergflip.md

This file was deleted.

3 changes: 3 additions & 0 deletions docs/eco/grand-gambit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Grand Gambit

[grandgambit.io](grandgambit.io/)
3 changes: 1 addition & 2 deletions docs/eco/lilium.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Lilium

Lilium seeks to create decentralised NFT minting, distribution, and sales infrastructure capable of being seamlessly integrated into business applications and programs.
[Lilium](https://github.com/LiliumErgo) seeks to create decentralised NFT minting, distribution, and sales infrastructure capable of being seamlessly integrated into business applications and programs.

> ERGOHACK VI Update: A Lilium V1 MVP (minimum viable product) has been delivered, with UI design complete and contracts audited. Front end work continues.

3 changes: 1 addition & 2 deletions docs/eco/oracles-v2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

### Oracle Pools V2
# Oracle Pools V2

- [How to bootstrap an ERG/XAU pool on testnet](https://github.com/ergoplatform/oracle-core/blob/develop/docs/how_to_bootstrap.md)

Expand Down
5 changes: 5 additions & 0 deletions docs/eco/sigma-stamp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Sigma Stamp

[sigmastamp.ml](https://sigmastamp.ml) is a timestamping service on Ergo.

See example usages of SigmaStamp project [here](https://www.sigmastamp.ml/wiki#examples-of-sigmastamp-usage).
3 changes: 3 additions & 0 deletions docs/eco/sigma-subscriptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Sigma Subscriptions

[Sigma Subscriptions](https://github.com/cornbelt-dev/sigma-subscriptions) is a framework for anyone to easily run a subscription service on Ergo.
12 changes: 8 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ nav:
- CrowdFunding:
- uses/crowdfunding.md
- ErgoRaffle: eco/ergoraffle.md
- Sigma Subscriptions: eco/sigma-subscriptions.md
- ErgoWell: eco/ergowell.md
- ErgoFund: uses/ergofund.md
- Further Ideas:
Expand All @@ -503,6 +504,7 @@ nav:
- Exchanges:
- uses/dex.md
- Spectrum Finance: eco/spectrum.md
- Analog Ergo: eco/analog-ergo.md
- Palmyra ComDEX: eco/palmyra.md
- Local Exchange Trading Systems (LETS):
- uses/lets.md
Expand All @@ -515,6 +517,7 @@ nav:
- Ergo Auctions: eco/ergo-auctions.md
- SkyHarbor: eco/skyharbor.md
- Lilium: eco/lilium.md
- SigmaStamp: eco/sigma-stamp.md

- DAOs:
- uses/dao.md
Expand Down Expand Up @@ -544,16 +547,17 @@ nav:

- Gaming:
- uses/gaming.md
- Lotteries: uses/lottery.md
- BlitzTCG: eco/blitz.md
- Metaverse:
- Cyberverse: eco/cyberverse.md
- Sigmavalley: eco/sigmavalley.md
- Monetary-based:
- BlobsTopia: eco/blobstopia.md
- NightOwl Casino: eco/nightowl.md
- ErgFlip: eco/ergflip.md
- Obolflip: eco/obolflip.md
- Grand Gambit: eco/grand-gambit.md
- Others:
- Lotteries: uses/lottery.md
- NightOwl Casino: eco/nightowl.md
- Obolflip: eco/obolflip.md
- NFT-Games:
- Digigoats: eco/digigoats.md
- Monster Pub Brawl: eco/monsterpub.md
Expand Down

0 comments on commit efd5a47

Please sign in to comment.