Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyu1984 committed Sep 28, 2022
2 parents 2b5c610 + e5372ab commit fddb9cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
26 changes: 15 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
# protocol-stack-for-ink

This it the first step of Dante protocol stack for Polkadot.
This it the Dante protocol stack for Polkadot.

Let's start with `ink!`.

<img width="750" alt="web3 foundation_grants_badge_white" src="https://user-images.githubusercontent.com/83746881/187577457-ecf950c6-dfbf-4169-be2f-f03efbf2b674.png">

## Develop record
### Currently
#### Developing
* The development of algoritms in ink! smart contract:
* Message verification;
* Routers evalustion;
* The SQoS in ink! smart contract, and the details of the SQoS in this stage are [here](https://github.com/w3f/Grants-Program/blob/master/applications/Dante_Network.md#milestone-2--parallel-router-scheduling-algorithms-sqos-off-chain-routers-sdk-testnet).
* SQoS of the smart contract part;
* SQoS of the sdk part;
* SQoS of the off-chain router part.

#### Finished
* Development of the first version of message defination, and test it on local substrate node.
* Completed the first [milestone](https://github.com/w3f/Grants-Program/blob/master/applications/Dante_Network.md#milestone-1--service-expression-layer--message-verification--router-credibility-evaluation-algorithms-basic-off-chain-routers-basic-sdk) for the w3f grant
* Development of the stable version of [message protocol](https://github.com/dantenetwork/message-ink/tree/v0.1.0) and [ink sdk](https://github.com/dantenetwork/ink-sdk/tree/v0.1.0). Finish the test on Testnet Rococo contracts and local substrate node.
* Development and test of Basic communication components including:
* Sending message or contract invocation from ink! smart contracts to other chains(like EVM chains, Near).
* Receiving message or contract invocation from other chains(like EVM chains, Near).
* Simulation and testing of some of the algorithms:
* Building example dApps composed of smart contracts deployed on different chains, and related [demos](https://github.com/dantenetwork/cross-chain-demo) here.
* The development of algoritms in ink! smart contract:
* Message verification;
* Routers evalustion;
* Routers selection.
* Simulation and testing of some of the algorithms, and the details are [here]().
* Routers selection in ink! smart contract.
* Staking and slashing in ink! smart contract.
* Message verification in other technology stack.
* Routers evaluation in other technology stack.

#### Next step
* Try to deploy and test on *AStar* Testnet.
* SDK(first version) for ink! smart contracts.
* Related docs.
* Build the basic SQoS part of Dante protocol for polkadot.
2 changes: 1 addition & 1 deletion contracts/signatureCrseco/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ mod signatureCrseco {
address_type: 0
};

let raw1 = address_here.into_raw_data();
let raw1 = address_here.clone().into_raw_data();
let raw2 = address_here.into_raw_data();

assert_eq!(raw1, raw2);
Expand Down
3 changes: 3 additions & 0 deletions op.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ cargo +nightly contract build
cargo +nightly contract build --release

cargo +nightly test

# code improvement
cargo +nightly clippy -- -A clippy::let_unit_value

0 comments on commit fddb9cb

Please sign in to comment.