This SDK provides the basic functionality to build a DAO, which can be imported and used.To use it, you need to implement DaoCustomFn Trait and customize the business logic.
Documentation: - API reference (docs.rs)
Add this to your Cargo.toml
:
toml
[dependencies]
nnsdao_sdk_basic = "0.1.0"
```rust
struct CustomFn{}
impl DaoCustomFn for CustomFn {
async fn ismember(&self, _member: Principal) -> Result
nnsdaosdkbasic is distributed under the terms of both the MIT license.
See LICENSE.