Here you can find notes, tutorials, and devops snippets relevant to 1NS, which is initially based on ENS. The resources are targeted for the Harmony Team and ecosystem developers, devided into the following sections
| Section | Overview | Audience |
|---|---|---|
| Notes | Notes taken during active development of .country | Analysts, Developers |
| Learning Sessions | Educational material for 1ns developers | Devlopers |
| Operations | Deployment and operational information | Operations, Developers |
- Consolidate Codebase and Production Support
- At some point we should review the latest version of
@ensdomains/ens-contracts, and update our dependency to a forked repository- Our implementation
ens-deployeris written based on v0.0.15, which appears to exist only as an npm dependency, but not explicitly tagged on Github. - As of March 1, 2023, the latest version of
@ensdomains/ens-contractsis^0.0.20commit - Update blockchain DNS (CoreDNS 1NS) implementations accordingly, if necessary
- Our implementation
- Sending emails via EAS over SMTP https://github.com/harmony-one/eas
- EAS smart contracts may require some improvements, see EAS.sol
- Self Hosted Mail Server
- Test coverage for DC.sol and Tweet.sol.
- Develop registration tests for tweet.sol similar to DNS-001
- Develop url update tests for tweet.sol (only have sample initialization now)
- Note: here are the steps to follow for testing:
- Setup ens-deployer : service-testing
- Review register function in ensSampleDCDNS.ts
- Review functions in DC.sol
- Review functions in Tweet.sol
- Check config.ts and .env have the correct addresses for local ganache instance
- Test against local ganache
yarn test —network local
- We may want to add DNS update functionalities in go-1ns module (as part of a CoreDNS 1NS plugin) https://github.com/harmony-one/go-1ns, if we want a centralized authority to be able to update DNS records for users' domains (such as to satisfy DNS challenges in generating SSL certificates). Additionally, we need to improve test coverage for this module