Skip to content

Commit fdd31f4

Browse files
committed
refactor: Migrate from VocdoniApiService to DavinciSDK for census and election processes
- Updated CensusCreationScreen to utilize DavinciSDK for creating and managing census. - Refactored CreateElectionScreen to use DavinciSDK for process creation and metadata handling. - Modified ShowResultsScreen to fetch election results using DavinciSDK. - Revamped VotingScreen to integrate DavinciSDK for vote submission and status tracking. - Adjusted VoteOrchestrationService to conditionally include randomness in vote encryption. - Updated DavinciCryptoService to handle optional 'k' parameter and improve type safety. - Added tests for DavinciCryptoService to ensure correct output structure without 'k'. - Bumped package version to 0.0.1 for release.
1 parent 22b1813 commit fdd31f4

File tree

10 files changed

+535
-577
lines changed

10 files changed

+535
-577
lines changed

examples/script/README.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Before running this script, ensure you have:
5454

5555
1. **Clone the repository** (if not already done):
5656
```bash
57-
git clone https://github.com/vocdoni/DAVINCI-sdk.git
58-
cd DAVINCI-sdk
57+
git clone https://github.com/vocdoni/davinci-sdk.git
58+
cd davinci-sdk
5959
```
6060

6161
2. **Install root dependencies and build**:
@@ -364,23 +364,43 @@ If you encounter issues:
364364
1. Check the [troubleshooting section](#troubleshooting) above
365365
2. Review the console output for specific error messages
366366
3. Verify all prerequisites are met
367-
4. Check the [Vocdoni documentation](https://davinci.vote/)
367+
4. Check the [Vocdoni documentation](https://docs.vocdoni.io/)
368368

369369
## Additional Resources
370370

371371
### Documentation
372-
- [Vocdoni Documentation](https://davinci.vote/)
373-
- [DAVINCI SDK Reference](https://github.com/vocdoni/davinci-sdk)
372+
- [Vocdoni Documentation](https://docs.vocdoni.io/)
373+
- [DaVinci SDK Documentation](https://github.com/vocdoni/davinci-sdk)
374+
- [API Documentation](https://github.com/vocdoni/davinci-node/tree/main/api)
375+
- [Protocol Documentation](https://whitepaper.vocdoni.io)
374376
- [Smart Contract Documentation](https://github.com/vocdoni/davinci-contracts)
375377

378+
### Community
379+
- [Discord](https://chat.vocdoni.io)
380+
- [Telegram](https://t.me/vocdoni_community)
381+
- [Twitter](https://twitter.com/vocdoni)
382+
- [Website](https://vocdoni.io)
383+
376384
### Related Examples
377385
- [UI Example](../ui/) - Web interface for the voting system
378386
- [Integration Tests](../../test/) - Additional SDK usage examples
379387

380388
### Technical Resources
381389
- [zk-SNARKs Explained](https://z.cash/technology/zksnarks/)
382390
- [Ethereum Development](https://ethereum.org/developers/)
383-
- [Vocdoni Whitepaper](https://whitepaper.vocdoni.io/)
391+
- [Vocdoni Whitepaper](https://whitepaper.vocdoni.io)
392+
393+
### Support
394+
395+
For issues and questions:
396+
- Check the [GitHub Issues](https://github.com/vocdoni/davinci-sdk/issues)
397+
- Join the [Vocdoni Discord](https://chat.vocdoni.io)
398+
- Join our [Telegram](https://t.me/vocdoni_community)
399+
- Follow us on [Twitter](https://twitter.com/vocdoni)
400+
- Read the [Vocdoni Documentation](https://docs.vocdoni.io/)
401+
- Visit our [Website](https://vocdoni.io)
402+
403+
For enterprise support and custom integrations, contact us at [[email protected]](mailto:[email protected]).
384404

385405
---
386406

0 commit comments

Comments
 (0)