From 8c33d59f4078ea55365d8c434892c5ac639df61b Mon Sep 17 00:00:00 2001 From: skoupidi Date: Wed, 19 Jun 2024 20:51:17 +0300 Subject: [PATCH] chore: updated all repo references to codeberg --- Cargo.toml | 2 +- README.md | 2 +- bin/darkfi-mmproxy/Cargo.toml | 2 +- bin/darkfid/Cargo.toml | 2 +- bin/darkirc/Cargo.toml | 2 +- bin/dhtd/dhtd/Cargo.toml | 2 +- bin/drk/Cargo.toml | 2 +- bin/fud/fu/Cargo.toml | 2 +- bin/fud/fud/Cargo.toml | 2 +- bin/genev/genev-cli/Cargo.toml | 2 +- bin/genev/genevd/Cargo.toml | 2 +- bin/lilith/Cargo.toml | 2 +- bin/minerd/Cargo.toml | 2 +- bin/tau/tau-cli/Cargo.toml | 2 +- bin/tau/taud/Cargo.toml | 2 +- bin/vanityaddr/Cargo.toml | 2 +- bin/zkas/Cargo.toml | 2 +- doc/build_jsonrpc.py | 2 +- doc/src/crypto/fft.md | 8 +++--- doc/src/crypto/research.md | 28 +++++++++---------- doc/src/dev/contrib/contrib.md | 4 +-- doc/src/dev/dev.md | 2 +- doc/src/glossary/glossary.md | 10 +++---- .../learn/dchat/creating-dchatd/protocols.md | 12 ++++---- .../dchat/creating-dchatd/rpc-requests.md | 4 +-- .../dchat/creating-dchatd/stoppable-task.md | 2 +- doc/src/learn/dchat/dchat.md | 2 +- doc/src/learn/dchat/deployment/sessions.md | 2 +- doc/src/learn/dchat/deployment/settings.md | 2 +- doc/src/learn/dchat/deployment/start-stop.md | 4 +-- .../dchat/deployment/writing-a-daemon.md | 2 +- doc/src/misc/darkirc/darkirc.md | 4 +-- doc/src/misc/dnetview.md | 2 +- doc/src/misc/tau.md | 4 +-- doc/src/spec/contract/money/scheme.md | 6 ++-- doc/src/start-here.md | 2 +- doc/src/tutorial.md | 2 +- doc/src/zero2darkfi/darkmap.md | 6 ++-- doc/src/zkas/bincode.md | 4 +-- doc/src/zkas/zkas.md | 8 +++--- example/dchat/dchatd/Cargo.toml | 2 +- example/p2pdebug/Cargo.toml | 2 +- script/research/antisapling/antisapling.md | 4 +-- .../research/blockchain-explorer/Cargo.toml | 2 +- script/research/bulletproof-mpc/README.md | 4 +-- .../crypsinous/linearindependence/README.md | 2 +- script/research/gg/Cargo.toml | 2 +- script/research/lotterysim/README.md | 6 ++-- script/research/lotterysim/reports/staking.md | 2 +- script/research/pallas_constants/Cargo.toml | 2 +- src/sdk/Cargo.toml | 2 +- src/sdk/python/Cargo.toml | 2 +- src/serial/Cargo.toml | 2 +- src/serial/derive-internal/Cargo.toml | 2 +- src/serial/derive/Cargo.toml | 2 +- 55 files changed, 97 insertions(+), 97 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cedebff09..bb0e64119 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Anonymous. Uncensored. Sovereign." authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/README.md b/README.md index 1168edbe2..342592b05 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ To build the necessary binaries, we can just clone the repo, and use the provided Makefile to build the project: ```shell -% git clone https://github.com/darkrenaissance/darkfi +% git clone https://codeberg.org/darkrenaissance/darkfi % cd darkfi % make ``` diff --git a/bin/darkfi-mmproxy/Cargo.toml b/bin/darkfi-mmproxy/Cargo.toml index 0e99ccd95..21657592b 100644 --- a/bin/darkfi-mmproxy/Cargo.toml +++ b/bin/darkfi-mmproxy/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Proxy server for DarkFi/Monero merge mining" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/bin/darkfid/Cargo.toml b/bin/darkfid/Cargo.toml index 1e67149ae..44c1cd2b8 100644 --- a/bin/darkfid/Cargo.toml +++ b/bin/darkfid/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "DarkFi node daemon" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/bin/darkirc/Cargo.toml b/bin/darkirc/Cargo.toml index bb9c9dd83..b07b40b3c 100644 --- a/bin/darkirc/Cargo.toml +++ b/bin/darkirc/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [lib] name = "darkirc" diff --git a/bin/dhtd/dhtd/Cargo.toml b/bin/dhtd/dhtd/Cargo.toml index 6a7b674bd..a1eb5a7a0 100644 --- a/bin/dhtd/dhtd/Cargo.toml +++ b/bin/dhtd/dhtd/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "DHT daemon" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/bin/drk/Cargo.toml b/bin/drk/Cargo.toml index 447409b21..a9b674024 100644 --- a/bin/drk/Cargo.toml +++ b/bin/drk/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Command-line client for darkfid" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/bin/fud/fu/Cargo.toml b/bin/fud/fu/Cargo.toml index a122c294e..a65bfa429 100644 --- a/bin/fud/fu/Cargo.toml +++ b/bin/fud/fu/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [dependencies] darkfi = {path = "../../../", features = ["util", "rpc"]} diff --git a/bin/fud/fud/Cargo.toml b/bin/fud/fud/Cargo.toml index caa239abe..0d7d62c1f 100644 --- a/bin/fud/fud/Cargo.toml +++ b/bin/fud/fud/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [dependencies] darkfi = {path = "../../../", features = ["async-daemonize", "geode", "rpc"]} diff --git a/bin/genev/genev-cli/Cargo.toml b/bin/genev/genev-cli/Cargo.toml index a96a36613..2465a8ae8 100644 --- a/bin/genev/genev-cli/Cargo.toml +++ b/bin/genev/genev-cli/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [dependencies] genevd = {path = "../genevd"} diff --git a/bin/genev/genevd/Cargo.toml b/bin/genev/genevd/Cargo.toml index 80a359901..ba287fcd8 100644 --- a/bin/genev/genevd/Cargo.toml +++ b/bin/genev/genevd/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [lib] name = "genevd" diff --git a/bin/lilith/Cargo.toml b/bin/lilith/Cargo.toml index 117071f53..08f3483c5 100644 --- a/bin/lilith/Cargo.toml +++ b/bin/lilith/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [dependencies] darkfi = {path = "../../", features = ["toml", "async-daemonize", "net", "rpc"]} diff --git a/bin/minerd/Cargo.toml b/bin/minerd/Cargo.toml index 29144a098..74a4c9b91 100644 --- a/bin/minerd/Cargo.toml +++ b/bin/minerd/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Darkfi mining daemon" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/bin/tau/tau-cli/Cargo.toml b/bin/tau/tau-cli/Cargo.toml index 349f2dbbb..cd448ff21 100644 --- a/bin/tau/tau-cli/Cargo.toml +++ b/bin/tau/tau-cli/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [dependencies] libc = "0.2.155" diff --git a/bin/tau/taud/Cargo.toml b/bin/tau/taud/Cargo.toml index 45d9dac27..a983dd3c6 100644 --- a/bin/tau/taud/Cargo.toml +++ b/bin/tau/taud/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [lib] name = "taud" diff --git a/bin/vanityaddr/Cargo.toml b/bin/vanityaddr/Cargo.toml index a7de765f1..6c48192aa 100644 --- a/bin/vanityaddr/Cargo.toml +++ b/bin/vanityaddr/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Vanity address generation tool for DarkFi keypairs, contract IDs, and token IDs" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/bin/zkas/Cargo.toml b/bin/zkas/Cargo.toml index d4a1c4328..3d8658027 100644 --- a/bin/zkas/Cargo.toml +++ b/bin/zkas/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Compiler for the Halo2 zkVM language used in DarkFi." authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/doc/build_jsonrpc.py b/doc/build_jsonrpc.py index 23e86b064..7fceaaa8d 100755 --- a/doc/build_jsonrpc.py +++ b/doc/build_jsonrpc.py @@ -49,7 +49,7 @@ def main(path): print(f"### `{i[0]}`\n") print(f"{i[1]}") ghlink = "%s%s%s%d" % ( - "https://github.com/darkrenaissance/darkfi/blob/master/", + "https://codeberg.org/darkrenaissance/darkfi/src/branch/master/", path.replace("../", ""), "#L", i[4], diff --git a/doc/src/crypto/fft.md b/doc/src/crypto/fft.md index 10f40739c..d019e95b8 100644 --- a/doc/src/crypto/fft.md +++ b/doc/src/crypto/fft.md @@ -2,11 +2,11 @@ Available code files: -* [fft2.sage](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/fft/fft2.sage): +* [fft2.sage](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/fft/fft2.sage): implementation using vandermonde matrices illustrating the theory section below. -* [fft3.sage](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/fft/fft3.sage): +* [fft3.sage](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/fft/fft3.sage): simple example with $n = 4$ showing 3 steps of the algorithm. -* [fft4.sage](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/fft/fft4.sage): +* [fft4.sage](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/fft/fft4.sage): illustrates the full working algorithm. ## Theory @@ -98,7 +98,7 @@ $$ ### Algorithm -Implementation of this algorithm is available in [fft4.sage](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/fft/fft4.sage). +Implementation of this algorithm is available in [fft4.sage](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/fft/fft4.sage). Particularly the function called `calc_dft()`. **function** DFT($n = 2^d, f(X)$)
diff --git a/doc/src/crypto/research.md b/doc/src/crypto/research.md index a3abe3c45..1ead5f5db 100644 --- a/doc/src/crypto/research.md +++ b/doc/src/crypto/research.md @@ -1,25 +1,25 @@ # Research DarkFi maintains a public resource of zero-knowledge and math research -in the [script/research](https://github.com/darkrenaissance/darkfi/tree/master/script/research) directory of +in the [script/research](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research) directory of the repo. It features simple sage implementations of zero-knowledge algorithms and math primitives, including but not limited to: -* [ZK](https://github.com/darkrenaissance/darkfi/tree/master/script/research/zk) - * [bootle16](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/bootle16.py) +* [ZK](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk) + * [bootle16](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/bootle16.py) (precursor to sonic) - * [sonic](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/sonic.sage) - * [plonk](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/plonk.sage) - * [halo1](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/halo1.sage) and - [halo2](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/halo2.sage) - * [curve trees](https://github.com/darkrenaissance/darkfi/blob/master/script/research/zk/curve_tree.sage) - * [FFT](https://github.com/darkrenaissance/darkfi/tree/master/script/research/zk/fft) - * [groth16](https://github.com/darkrenaissance/darkfi/tree/master/script/research/zk/groth16) - * [bulletproofs](https://github.com/darkrenaissance/darkfi/tree/master/script/research/zk/bltprf) -* [Poseidon hash](https://github.com/darkrenaissance/darkfi/tree/master/script/research/poseidon) -* [x3dh](https://github.com/darkrenaissance/darkfi/tree/master/script/research/x3dh) + * [sonic](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/sonic.sage) + * [plonk](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/plonk.sage) + * [halo1](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/halo1.sage) and + [halo2](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/halo2.sage) + * [curve trees](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/curve_tree.sage) + * [FFT](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/fft) + * [groth16](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/groth16) + * [bulletproofs](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/zk/bltprf) +* [Poseidon hash](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/poseidon) +* [x3dh](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/x3dh) double ratchet algorithm used in signal. -* [Various EC math](https://github.com/darkrenaissance/darkfi/tree/master/script/research/ec) +* [Various EC math](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/ec) such as valuations, riemann-roch basis, hyperelliptic curves, divisor reduction. diff --git a/doc/src/dev/contrib/contrib.md b/doc/src/dev/contrib/contrib.md index 3dcd8d060..92d79de80 100644 --- a/doc/src/dev/contrib/contrib.md +++ b/doc/src/dev/contrib/contrib.md @@ -79,7 +79,7 @@ or need to be maintained: * Also document zkrunner and other tools. * **Tests:** Throughout the project there are either broken or commented out unit tests, they need to be fixed. * **Cleanup:** General code cleanup. for example flattening headers and improving things like in - [this commit](https://github.com/darkrenaissance/darkfi/commit/9cd9c3113eed1b5f0bcad2ee449ef926d0908d55). + [this commit](https://codeberg.org/darkrenaissance/darkfi/commit/9cd9c3113eed1b5f0bcad2ee449ef926d0908d55). * **Python bindings:** Help ensure wider coverage and cleanup the Python bindings in `src/sdk/python/`. * The event graph could have Python bindings but involves some tricky part integrating Python and Rust async. * Bindings for txs, calls and so on. Make a tool in Python for working with various contract params. @@ -222,7 +222,7 @@ This process will run infinitely until a crash occurs or until it is cancelled b If you are able to trigger a crash, get in touch with the DarkFi team via irc. -Further information on fuzzing in DarkFi is available [here](https://github.com/darkrenaissance/darkfi/blob/master/fuzz/README.md). +Further information on fuzzing in DarkFi is available [here](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/fuzz/README.md). ## Troubleshooting diff --git a/doc/src/dev/dev.md b/doc/src/dev/dev.md index 3d84ac20a..13e81f1fe 100644 --- a/doc/src/dev/dev.md +++ b/doc/src/dev/dev.md @@ -121,7 +121,7 @@ nightly, and we also have to compile `sqlcipher` on our own. And now we should be able to build a statically linked binary: ``` -# git clone https://github.com/darkrenaissance/darkfi -b master --depth 1 +# git clone https://codeberg.org/darkrenaissance/darkfi -b master --depth 1 # cd darkfi ## Uncomment RUSTFLAGS in the main Makefile # sed -e 's,^#RUSTFLAGS ,RUSTFLAGS ,' -i Makefile diff --git a/doc/src/glossary/glossary.md b/doc/src/glossary/glossary.md index c37e40b99..3e906cfc7 100644 --- a/doc/src/glossary/glossary.md +++ b/doc/src/glossary/glossary.md @@ -3,11 +3,11 @@ * Pedersen commitment: a hiding and binding commitment scheme that takes a value and produces an elliptic curve point representing the commitment * [Explainer](https://medium.com/coinmonks/zero-knowledge-proofs-um-what-a092f0ee9f28) * zkas: the programming language in which you can write zk circuits - * [zkas compiler](https://github.com/darkrenaissance/darkfi/tree/ae9801fce10c1403ac293303b75a15db115b4da6/src/zkas) - * [An example circuit written in zkas](https://github.com/darkrenaissance/darkfi/blob/ae9801fce10c1403ac293303b75a15db115b4da6/example/simple.zk) + * [zkas compiler](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/zkas) + * [An example circuit written in zkas](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/example/simple.zk) * zkvm: the virtual machine in which zkas circuit binary is run * it runs during proof generation - * [Rust example](https://github.com/darkrenaissance/darkfi/blob/ae9801fce10c1403ac293303b75a15db115b4da6/tests/zkvm_opcodes.rs) - * [Python example](https://github.com/darkrenaissance/darkfi/blob/ae9801fce10c1403ac293303b75a15db115b4da6/bin/zkrunner/zkrunner.py#L141-L160) + * [Rust example](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/tests/zkvm_opcodes.rs) + * [Python example](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/bin/zkrunner/zkrunner.py#L141-L160) * zkrunner: a Python script which allows you, instead of providing circuit, witness, public inputs and code to generate/verify proof, you provide circuit, witness - * [Example](https://github.com/darkrenaissance/darkfi/blob/master/bin/zkrunner/zkrunner.py#L180) + * [Example](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/bin/zkrunner/zkrunner.py#L180) diff --git a/doc/src/learn/dchat/creating-dchatd/protocols.md b/doc/src/learn/dchat/creating-dchatd/protocols.md index 006302514..629aeae2a 100644 --- a/doc/src/learn/dchat/creating-dchatd/protocols.md +++ b/doc/src/learn/dchat/creating-dchatd/protocols.md @@ -8,20 +8,20 @@ are automatically activated when nodes connect to eachother on the p2p network. Here are examples of two protocols that every node runs continuously in the background: -* [ProtocolPing](https://github.com/darkrenaissance/darkfi/blob/master/src/net/protocol/protocol_ping.rs): +* [ProtocolPing](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/protocol/protocol_ping.rs): sends `ping`, receives `pong` -* [ProtocolAddress](https://github.com/darkrenaissance/darkfi/blob/master/src/net/protocol/protocol_address.rs): +* [ProtocolAddress](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/protocol/protocol_address.rs): receives a `get_address` message, sends an `address` message Under the hood, these protocols have a few similarities: * They create a subscription to a message type, such as `ping` and `pong`. -* They implement [ProtocolBase](https://github.com/darkrenaissance/darkfi/blob/master/src/net/protocol/protocol_base.rs), +* They implement [ProtocolBase](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/protocol/protocol_base.rs), DarkFi's generic protocol trait. * They run asynchronously using the -[ProtocolJobsManager](https://github.com/darkrenaissance/darkfi/blob/master/src/net/protocol/protocol_jobs_manager.rs). -* They hold a pointer to [Channel](https://github.com/darkrenaissance/darkfi/blob/master/src/net/channel.rs) which -invokes the [MessageSubsystem](https://github.com/darkrenaissance/darkfi/blob/master/src/net/message_subscriber.rs#L170). +[ProtocolJobsManager](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/protocol/protocol_jobs_manager.rs). +* They hold a pointer to [Channel](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/channel.rs) which +invokes the [MessageSubsystem](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/message_subscriber.rs#L170). This introduces several generic interfaces that we must use to build our custom protocol. In particular: diff --git a/doc/src/learn/dchat/creating-dchatd/rpc-requests.md b/doc/src/learn/dchat/creating-dchatd/rpc-requests.md index 461530d83..235e79714 100644 --- a/doc/src/learn/dchat/creating-dchatd/rpc-requests.md +++ b/doc/src/learn/dchat/creating-dchatd/rpc-requests.md @@ -1,7 +1,7 @@ # Handling RPC requests Let's connect `dchatd` up to `JSON-RPC` using DarkFi's [rpc -module](https://github.com/darkrenaissance/darkfi/tree/master/src/rpc). +module](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/rpc). We'll need to implement a trait called `RequestHandler` for our `Dchat` struct. `RequestHandler` is an async trait implementing a handler for @@ -14,7 +14,7 @@ handle for processing incoming JSON-RPC requests that takes a `JsonRequest` and returns a `JsonResult`. `JsonRequest` is a `JSON-RPC` request object, and `JsonResult` is an enum that wraps around a given `JSON-RPC` object type. These types are defined inside -[jsonrpc.rs](https://github.com/darkrenaissance/darkfi/blob/master/src/rpc/jsonrpc.rs). +[jsonrpc.rs](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/rpc/jsonrpc.rs). We'll use `handle_request` to run a match statement on `JsonRequest.method`. diff --git a/doc/src/learn/dchat/creating-dchatd/stoppable-task.md b/doc/src/learn/dchat/creating-dchatd/stoppable-task.md index 83dd2d561..877edab6c 100644 --- a/doc/src/learn/dchat/creating-dchatd/stoppable-task.md +++ b/doc/src/learn/dchat/creating-dchatd/stoppable-task.md @@ -99,7 +99,7 @@ and calls `stop` on them, safely closing each `JSON-RPC` connection. Notice that when we start the `StoppableTask` using `rpc.task.clone().start`, we also pass a method called `listen_and_serve`. `listen_and_serve` is a method defined in DarkFi's [rpc -module](https://github.com/darkrenaissance/darkfi/tree/master/src/rpc/server.rs). +module](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/rpc/server.rs). It starts a JSON-RPC server that is bound to the provided accept address and uses our previously implemented `RequestHandler` to handle incoming requests. diff --git a/doc/src/learn/dchat/dchat.md b/doc/src/learn/dchat/dchat.md index 622f640fa..7d3069e19 100644 --- a/doc/src/learn/dchat/dchat.md +++ b/doc/src/learn/dchat/dchat.md @@ -15,4 +15,4 @@ the p2p network, in particular: * Creating and subscribing to a custom `Message` type. The source code for this tutorial can be found at -[example/dchat](https://github.com/darkrenaissance/darkfi/tree/master/example/dchat). +[example/dchat](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/example/dchat). diff --git a/doc/src/learn/dchat/deployment/sessions.md b/doc/src/learn/dchat/deployment/sessions.md index ebc9655b1..1493acb91 100644 --- a/doc/src/learn/dchat/deployment/sessions.md +++ b/doc/src/learn/dchat/deployment/sessions.md @@ -6,7 +6,7 @@ network. An inbound node receives connections. An outbound node makes connections. The behavior of these nodes is defined in what is called a -[Session](https://github.com/darkrenaissance/darkfi/blob/master/src/net/session/mod.rs#L111). +[Session](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/session/mod.rs#L111). There are four types of sessions: `Manual`, `Inbound`, `Outbound` and `SeedSync`. There behavior is as follows: diff --git a/doc/src/learn/dchat/deployment/settings.md b/doc/src/learn/dchat/deployment/settings.md index 66f52a461..88156591e 100644 --- a/doc/src/learn/dchat/deployment/settings.md +++ b/doc/src/learn/dchat/deployment/settings.md @@ -2,7 +2,7 @@ To create an inbound and outbound node, we will need to configure them using `net` type called -[Settings](https://github.com/darkrenaissance/darkfi/blob/master/src/net/settings.rs). +[Settings](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/settings.rs). This type consists of several settings that allow you to configure nodes in different ways. diff --git a/doc/src/learn/dchat/deployment/start-stop.md b/doc/src/learn/dchat/deployment/start-stop.md index 4639dee6f..608784305 100644 --- a/doc/src/learn/dchat/deployment/start-stop.md +++ b/doc/src/learn/dchat/deployment/start-stop.md @@ -50,7 +50,7 @@ Let's take a quick look at the underlying p2p methods we're using here. ## Start -This is [start](https://github.com/darkrenaissance/darkfi/blob/master/src/net/p2p.rs#L126): +This is [start](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/p2p.rs#L126): ```rust /// Starts inbound, outbound, and manual sessions. @@ -105,7 +105,7 @@ have any connected channels, `run` performs a `SeedSync`. ## Stop -This is [stop](https://github.com/darkrenaissance/darkfi/blob/master/src/net/p2p.rs#L164). +This is [stop](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/net/p2p.rs#L164). ```rust /// Stop the running P2P subsystem diff --git a/doc/src/learn/dchat/deployment/writing-a-daemon.md b/doc/src/learn/dchat/deployment/writing-a-daemon.md index 1a0ac1d86..a3b0555a4 100644 --- a/doc/src/learn/dchat/deployment/writing-a-daemon.md +++ b/doc/src/learn/dchat/deployment/writing-a-daemon.md @@ -5,7 +5,7 @@ run the p2p network, we'll need to implement our own daemon. So we'll start building `dchat` by creating a daemon that we call `dchatd`. To do this, we'll make use of a DarkFi macro called -[async_daemonize](https://github.com/darkrenaissance/darkfi/blob/0aba4e7864d459301a6c5afd8bda6a3d9f240b86/src/util/cli.rs). +[async_daemonize](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/util/cli.rs). `async_daemonize`is the standard way of daemonizing darkfi binaries. It implements TOML config file configuration, argument parsing and a diff --git a/doc/src/misc/darkirc/darkirc.md b/doc/src/misc/darkirc/darkirc.md index 6d957983f..9dae97e57 100644 --- a/doc/src/misc/darkirc/darkirc.md +++ b/doc/src/misc/darkirc/darkirc.md @@ -27,7 +27,7 @@ Follow the instructions in the you have all the necessary dependencies. ```shell -% git clone https://github.com/darkrenaissance/darkfi +% git clone https://codeberg.org/darkrenaissance/darkfi % cd darkfi % make darkirc % # install system wide only if you can make sure there would be no @@ -278,4 +278,4 @@ Install the `noto` fonts to have the full unicode set. Popular Linux distros should have packages for them. Once installed you can view all the emojis in your terminal. Note, you may need -to regenerate your font cache (or just restart) after installing them. \ No newline at end of file +to regenerate your font cache (or just restart) after installing them. diff --git a/doc/src/misc/dnetview.md b/doc/src/misc/dnetview.md index 2f3b9b1be..991ed5972 100644 --- a/doc/src/misc/dnetview.md +++ b/doc/src/misc/dnetview.md @@ -11,7 +11,7 @@ dnetview displays: ## Install ```shell -% git clone https://github.com/darkrenaissance/darkfi +% git clone https://codeberg.org/darkrenaissance/darkfi % cd darkfi % make BINS=dnetview ``` diff --git a/doc/src/misc/tau.md b/doc/src/misc/tau.md index 1171af90b..021e1172a 100644 --- a/doc/src/misc/tau.md +++ b/doc/src/misc/tau.md @@ -1,6 +1,6 @@ # Tau -Encrypted tasks management app using peer-to-peer network. +Encrypted tasks management app using peer-to-peer network. Multiple users can collaborate by working on the same tasks, and all users will have synced tasks. @@ -8,7 +8,7 @@ and all users will have synced tasks. ## Install ```shell -% git clone https://github.com/darkrenaissance/darkfi +% git clone https://codeberg.org/darkrenaissance/darkfi % cd darkfi % make BINS="taud" ``` diff --git a/doc/src/spec/contract/money/scheme.md b/doc/src/spec/contract/money/scheme.md index 5cced99e5..bc0ab9340 100644 --- a/doc/src/spec/contract/money/scheme.md +++ b/doc/src/spec/contract/money/scheme.md @@ -183,6 +183,6 @@ in `Burn_V1`. For `MoneyFunction::TransferV1`, we have the following functions, in order: -* [`money_transfer_get_metadata_v1`](https://github.com/darkrenaissance/darkfi/blob/master/src/contract/money/src/entrypoint/transfer_v1.rs#L42) -* [`money_transfer_process_instruction_v1`](https://github.com/darkrenaissance/darkfi/blob/master/src/contract/money/src/entrypoint/transfer_v1.rs#L106) -* [`money_transfer_process_update_v1`](https://github.com/darkrenaissance/darkfi/blob/master/src/contract/money/src/entrypoint/transfer_v1.rs#L258) +* [`money_transfer_get_metadata_v1`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/contract/money/src/entrypoint/transfer_v1.rs#L42) +* [`money_transfer_process_instruction_v1`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/contract/money/src/entrypoint/transfer_v1.rs#L106) +* [`money_transfer_process_update_v1`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/contract/money/src/entrypoint/transfer_v1.rs#L258) diff --git a/doc/src/start-here.md b/doc/src/start-here.md index 21137259a..f4be38ea0 100644 --- a/doc/src/start-here.md +++ b/doc/src/start-here.md @@ -24,7 +24,7 @@ DarkFi broadly follows the standardized unix directory structure. ## Using DarkFi Refer to the main -[README](https://github.com/darkrenaissance/darkfi/blob/master/README.md) +[README](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/README.md) file for instructions on how to install Rust and necessary deps. Then proceed to the [Running a Node](testnet/node.md) guide. diff --git a/doc/src/tutorial.md b/doc/src/tutorial.md index 051623acb..4ded86469 100644 --- a/doc/src/tutorial.md +++ b/doc/src/tutorial.md @@ -10,7 +10,7 @@ To run darkfi, we must first install the software. Do this by cloning the darkfi repo: ``` -% git clone https://github.com/darkrenaissance/darkfi +% git clone https://codeberg.org/darkrenaissance/darkfi ``` ## Build diff --git a/doc/src/zero2darkfi/darkmap.md b/doc/src/zero2darkfi/darkmap.md index d9a1c49a0..ba510a6c9 100644 --- a/doc/src/zero2darkfi/darkmap.md +++ b/doc/src/zero2darkfi/darkmap.md @@ -33,7 +33,7 @@ From an end user perspective, they provide a dpath and get a value back. ``` provide: darkrenaissance::darkfi::v0_4_1 -get: 0766e910aae7af482885d0a5b05ccb61ae7c1af4 (which is the commit for Darkfi v0.4.1, https://github.com/darkrenaissance/darkfi/commit/0766e910aae7af482885d0a5b05ccb61ae7c1af4) +get: 0766e910aae7af482885d0a5b05ccb61ae7c1af4 (which is the commit for Darkfi v0.4.1, https://codeberg.org/darkrenaissance/darkfi/commit/0766e910aae7af482885d0a5b05ccb61ae7c1af4) ``` ### Syntax @@ -119,7 +119,7 @@ FIXME: perhaps more detailed explanation Currently, the infrastructure for deploying non-native contracts is being worked on. So Darkmap was tested by modifiying the darkfi validator to deploy it as native contract. -If you like to try it out, take a look at the [pull request draft](https://github.com/darkrenaissance/darkfi/pull/170/files#diff-1592d061816d5a4da17e089758e15df75ae1ab963b2288e6d84b8f29b06f7d4f). +If you like to try it out, take a look at the [pull request draft](https://codeberg.org/darkrenaissance/darkfi/pulls/170/files#diff-1592d061816d5a4da17e089758e15df75ae1ab963b2288e6d84b8f29b06f7d4f). In particular: * `src/consensus/validator.rs` @@ -133,7 +133,7 @@ For now, the best place to learn is learn from the darkmap pull request draft or * Where are the states stored? * What are the host-provided functions you can call from within the contract? - * https://github.com/darkrenaissance/darkfi/tree/98a78098bc1db02e5c1c571be5bcfd6359809a99/src/runtime/import + * https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/runtime/import * What are the tools? * zkas * zkvm diff --git a/doc/src/zkas/bincode.md b/doc/src/zkas/bincode.md index 86df0fe1d..364a46242 100644 --- a/doc/src/zkas/bincode.md +++ b/doc/src/zkas/bincode.md @@ -41,7 +41,7 @@ TBD ``` Integers in the binary are encoded using variable-integer encoding. -See the [`serial`](https://github.com/darkrenaissance/darkfi/blob/master/src/serial/src/lib.rs) +See the [`serial`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/serial/src/lib.rs) crate and module for our Rust implementation. ## Sections @@ -210,5 +210,5 @@ TBD ## Decoding the bincode An example decoder implementation can be found in zkas' -[`decoder.rs`](https://github.com/darkrenaissance/darkfi/blob/master/src/zkas/decoder.rs) +[`decoder.rs`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/zkas/decoder.rs) module. diff --git a/doc/src/zkas/zkas.md b/doc/src/zkas/zkas.md index 600f602b3..a7d3120a8 100644 --- a/doc/src/zkas/zkas.md +++ b/doc/src/zkas/zkas.md @@ -2,16 +2,16 @@ zkas ==== zkas is a compiler for the Halo2 zkVM language used in -[DarkFi](https://github.com/darkrenaissance/darkfi). +[DarkFi](https://codeberg.org/darkrenaissance/darkfi). The current implementation found in the DarkFi repository inside -[`src/zkas`](https://github.com/darkrenaissance/darkfi/tree/master/src/zkas) +[`src/zkas`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/zkas) is the reference compiler and language implementation. It is a toolchain consisting of a lexer, parser, static and semantic analyzers, and a binary code compiler. The -[`main.rs`](https://github.com/darkrenaissance/darkfi/blob/master/bin/zkas/src/main.rs) +[`main.rs`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/bin/zkas/src/main.rs) file shows how this toolchain is put together to produce binary code from source code. @@ -19,7 +19,7 @@ from source code. The main part of the compilation happens inside the parser. New opcodes can be added by extending -[`opcode.rs`](https://github.com/darkrenaissance/darkfi/blob/master/src/zkas/opcode.rs). +[`opcode.rs`](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/zkas/opcode.rs). ```rust {{#include ../../../bin/zkas/src/main.rs:zkas}} diff --git a/example/dchat/dchatd/Cargo.toml b/example/dchat/dchatd/Cargo.toml index 2c7543649..b07ab56d9 100644 --- a/example/dchat/dchatd/Cargo.toml +++ b/example/dchat/dchatd/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Simple chat app p2p daemon used to document DarkFi networking code" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/example/p2pdebug/Cargo.toml b/example/p2pdebug/Cargo.toml index 9ca6cb5f5..522aea46d 100644 --- a/example/p2pdebug/Cargo.toml +++ b/example/p2pdebug/Cargo.toml @@ -3,7 +3,7 @@ name = "p2pdebug" version = "0.4.1" homepage = "https://dark.fi" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/script/research/antisapling/antisapling.md b/script/research/antisapling/antisapling.md index 71c75cebe..c8d901afa 100644 --- a/script/research/antisapling/antisapling.md +++ b/script/research/antisapling/antisapling.md @@ -20,7 +20,7 @@ - Reward and value: HE is already used to validate minted_coin_value = burnt_coin_value + reward using their value commitments, so no need to constrain it. - Code block: https://github.com/darkrenaissance/darkfi/blob/master/src/contract/consensus/src/entrypoint/proposal_reward_v1.rs#L135-L143 + Code block: https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/contract/consensus/src/entrypoint/proposal_reward_v1.rs#L135-L143 - Headstart: Constrain headstart in reward proof and validators calculate it ad-hoc to verify it. @@ -30,5 +30,5 @@ - Lottery seed: Minted coin serial to be derived from burnt coin serial: minted_serial = poseidon_hash(NONCE_PREFIX, secret_key, burnt_coin_serial, ZERRO). - Deterministic function code block: https://github.com/darkrenaissance/darkfi/blob/master/src/consensus/lead_coin.rs#L231-L240 + Deterministic function code block: https://codeberg.org/darkrenaissance/darkfi/src/branch/master/src/consensus/lead_coin.rs#L231-L240 Use burnt coin serial to calculate lottery seed in proof: seed = poseidon_hash(SEED_PREFIX, burnt_serial, ZERO); diff --git a/script/research/blockchain-explorer/Cargo.toml b/script/research/blockchain-explorer/Cargo.toml index 945c3cd95..5a7733da7 100644 --- a/script/research/blockchain-explorer/Cargo.toml +++ b/script/research/blockchain-explorer/Cargo.toml @@ -3,7 +3,7 @@ name = "blockchain-explorer" version = "0.4.1" description = "Daemon to listen for new blocks from darkfid and store them in an easily accessible format for further usage." authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/script/research/bulletproof-mpc/README.md b/script/research/bulletproof-mpc/README.md index 0ad861d64..e1f3e7043 100644 --- a/script/research/bulletproof-mpc/README.md +++ b/script/research/bulletproof-mpc/README.md @@ -39,5 +39,5 @@ [^9]: https://arxiv.org/pdf/2112.04581.pdf [^10]: https://eprint.iacr.org/2021/1530 [^11]: https://github.com/renegade-fi/mpc-bulletproof/pull/14 -[^12]: https://github.com/darkrenaissance/darkfi/tree/master/script/research/mpc -[^13]: https://github.com/darkrenaissance/darkfi/tree/master/script/research/bulletproof-mpc +[^12]: https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/mpc +[^13]: https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/bulletproof-mpc diff --git a/script/research/crypsinous/linearindependence/README.md b/script/research/crypsinous/linearindependence/README.md index 615f730f1..b69d2d273 100644 --- a/script/research/crypsinous/linearindependence/README.md +++ b/script/research/crypsinous/linearindependence/README.md @@ -28,7 +28,7 @@ excluding use of floats, and division, only +,-,* are allowed. # comparison of original target to approximation -![approximation comparison to orignal](https://github.com/darkrenaissance/darkfi/blob/master/script/research/crypsinous/linearindependence/target.png?raw=true) +![approximation comparison to orignal](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/crypsinous/linearindependence/target.png?raw=true) # consequences diff --git a/script/research/gg/Cargo.toml b/script/research/gg/Cargo.toml index 7bffe47a4..f545448f5 100644 --- a/script/research/gg/Cargo.toml +++ b/script/research/gg/Cargo.toml @@ -6,7 +6,7 @@ Genesis Generator, a command-line utility to generate,\ display and verify a base64 encoded Darkfi genesis block\ """ authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/script/research/lotterysim/README.md b/script/research/lotterysim/README.md index 6a6df07fa..f66258802 100644 --- a/script/research/lotterysim/README.md +++ b/script/research/lotterysim/README.md @@ -16,17 +16,17 @@ with $k_1 = k_p + K_i + K_d$, $k_2 = -K_p -2K_d$, $k_3 = K_d$, and e is the er # simulation criterion find $K_p$, $k_i$, $K_d$ for highest accuracy running the simulation on N trials, of random number of nodes, starting with random airdrop (that all sum to total network stake), running for random runing time. -![alt text](https://github.com/darkrenaissance/darkfi/blob/master/script/research/lotterysim/img/heuristics.png?raw=true) +![alt text](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/lotterysim/img/heuristics.png?raw=true) notice that best parameters are spread out in the search space, picking the highest of which, and running the simulation, running for 600 slots, result in with >36% accuracy -![alt text](https://github.com/darkrenaissance/darkfi/blob/master/script/research/lotterysim/img/f_history_processed.png?raw=true) +![alt text](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/lotterysim/img/f_history_processed.png?raw=true) # comparing range of target values between notice below that both y,T in the pallas field, and simulation have same range. -![alt text](https://github.com/darkrenaissance/darkfi/blob/master/script/research/lotterysim/img/lottery_dist.png?raw=true) +![alt text](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/lotterysim/img/lottery_dist.png?raw=true) # conclusion diff --git a/script/research/lotterysim/reports/staking.md b/script/research/lotterysim/reports/staking.md index 0414dd711..ee8f73014 100644 --- a/script/research/lotterysim/reports/staking.md +++ b/script/research/lotterysim/reports/staking.md @@ -59,7 +59,7 @@ The probability of a pool of N% stake to win the leadership at any slot is: \end{align*} -![alt text](https://github.com/darkrenaissance/darkfi/blob/master/script/research/lotterysim/reports/stake.png?raw=true) +![alt text](https://codeberg.org/darkrenaissance/darkfi/src/branch/master/script/research/lotterysim/reports/stake.png?raw=true) ## Example diff --git a/script/research/pallas_constants/Cargo.toml b/script/research/pallas_constants/Cargo.toml index 23c220f36..24d4d8cd1 100644 --- a/script/research/pallas_constants/Cargo.toml +++ b/script/research/pallas_constants/Cargo.toml @@ -3,7 +3,7 @@ name = "pallas_constants" version = "0.4.1" description = "Command-line tool to generate pallas::Base constants" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/src/sdk/Cargo.toml b/src/sdk/Cargo.toml index fc2cfe57a..9abbf496b 100644 --- a/src/sdk/Cargo.toml +++ b/src/sdk/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "SDK used for developing smart contracts on DarkFi" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/src/sdk/python/Cargo.toml b/src/sdk/python/Cargo.toml index cb8cc2e91..2301a4826 100644 --- a/src/sdk/python/Cargo.toml +++ b/src/sdk/python/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Dyne.org foundation "] license = "AGPL-3.0-only" homepage = "https://dark.fi" -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" [lib] name = "darkfi_sdk" diff --git a/src/serial/Cargo.toml b/src/serial/Cargo.toml index 3a04259e1..412f3305c 100644 --- a/src/serial/Cargo.toml +++ b/src/serial/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "DarkFi serialization library" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/src/serial/derive-internal/Cargo.toml b/src/serial/derive-internal/Cargo.toml index 56793edea..e52992f28 100644 --- a/src/serial/derive-internal/Cargo.toml +++ b/src/serial/derive-internal/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Internal crate for serialization derive macros" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/src/serial/derive/Cargo.toml b/src/serial/derive/Cargo.toml index 25642c14e..8545461d3 100644 --- a/src/serial/derive/Cargo.toml +++ b/src/serial/derive/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" homepage = "https://dark.fi" description = "Crate for serialization derive macros" authors = ["Dyne.org foundation "] -repository = "https://github.com/darkrenaissance/darkfi" +repository = "https://codeberg.org/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021"