Supported Feathercoin client versions: Current production Version: 0.16.1.

Old Production Version: 0.16

Info: If you have problems to post, create one post in the ‘newbies’ category and try again. If you have further problems, find support under Guides

[Dev] Nameview - DNS Naming System Built on Feathercoin's Blockchain



  • It need blockstore project , After I build ardroid wallet , I think blockstore run as feathercoin’s side-chain.



  • I hope feathecoin’s blockchain can support Openname Protocol. I don’t like onename , it is website but not source code .

    ftc_name.png



  • CKey key;
    fCompressed=false;
    key.SetSecret(vchSecret, fCompressed);
    std::vector uret=key.GetPubKeyU(fCompressed);
    LogPrintf(“addressbookpage unCompressedPubKey =%s\n”, HexStr(uret).c_str());

            CKeyID unkeyID=CKeyID(Hash160(uret)); 
            LogPrintf("addressbookpage hash160,unCompressedPubKey=%s\n", HexStr(unkeyID).c_str());
            GUIUtil::setClipboard(HexStr(unkeyID).c_str());
    

    Step one OK . Make FeathercoinPrivateKey(private_key).public_key()

    make unCompressedPubKey ,130bytes, like 04edb297ba63c35998ec23cfca60666bb4d0d1c3e810b93d2d20c94e3a129774407b719ecf902de8a20c6d99ed0ad0d8c5af178640fdcb0c5dee26c41d39306998

    make unCompressedPubKey Hash160, like 6f01b45dd6685d5ac1717baa46e4cda8287c160b

    As an independent developer, You’ll see me strong.



  • I finish base40.h , It encode strings as base40 .

    /* Encode strings as base40.
       Lizhi
    */
    
    #ifndef FEATHERCOIN_BASE40_H
    #define FEATHERCOIN_BASE40_H
    
    #include 
    #include 
    #include 
    #include 
    
    
    static const char* pszBase40 = "0123456789abcdefghijklmnopqrstuvwxyz-_.+";
    static const char* pszBase16 = "0123456789abcdef";
    
    
    //Turn a string into a non-negative integer.
    uint64_t charset_to_int(const unsigned char* pbegin, const unsigned char* pend)
    {
    	uint64_t output = 0;
    	while (pbegin != pend)
    	{
    		const char *ch = strchr(pszBase40, *pbegin);
    		if (ch == NULL)
                return 404;
    		int carry = ch - pszBase40; //indexof
    		output = output * strlen(pszBase40) + carry;
    		pbegin++;
    	}
    	return output;
    }
    
    void i64tohex(uint64_t n,char *s)
    {
        char base[16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
        uint64_t a = n;
        int i = 0;
        while(a != 0)
        {
            s[i++] = base[a%16];
            a/=16;
        }
    }
    
    //Turn a non-negative integer into a string.
    std::string int_to_charset(uint64_t val)
    {
    	if (val < 0)	 return "ERROR";
    	if (val == 0)	 return "0";
    		 
    	std::string output;
    	char a[80] = {0};
    	i64tohex(val,a);
    	std::string tmp;
    	tmp.assign(a);
    	
    	const char *s1 = tmp.c_str();
    	char b[80] = {0};
    	int p=0;
    	for (int i=(strlen(s1)-1);i>=0;i--)
    	{
    			b[p]=a[i];
    			p++;
    	}
    	
    	output.assign(b);
    	return output;
    }
    
    std::string hexpad(std::string val)
    {
    	std::string output="0";
    	if ((val.length()%2)==1)
    	{
    		output=output+val;
    		return output;
    	}
    	else
    	{
    		return val;
    	}
    }
    
    std::string charset_to_hex(const std::vector& vch)
    {
    	uint64_t intermediate_integer=charset_to_int(&vch[0],&vch[0] + vch.size());
    	
    	std::string output;
    	output=int_to_charset(intermediate_integer);
    	output=hexpad(output);
    	return output;
    }
    
    #endif // FEATHERCOIN_BASE40_H

  • Regular Member

    Wow super Cool



  • structural data

    {“preorders”:{“txid”:{“name_hash”: ,“sender”: },“txid”:{“name_hash”: ,“sender”: } },“registrations”: {}}

    {"preorders":{"4b65070235228ae0d7d6531d44fcde43ecab0ab2eb245ff333c9c1d7e78d4d7a":{ "name_hash": "7eb64316433518cb8feea8044580ca41f5dd7cb4", "sender": "76a914e53ed686edaf7a1fb2f64687247f9084425dc38288ac" },"d99b2df01a65c786df15cbf535987da457e9e17734543e0e416b878347fb3638":{"name_hash": "4e493b79ea3501e1323dd77c2722694960406f1d", "sender": "76a914e53ed686edaf7a1fb2f64687247f9084425dc38288ac" }},"registrations": {}}
    

    It can work as a side chain.



  • I finished openname in our blockchain , It is nameview, It will add a nameview.dat file in your data directory.

    You can register a name in feathercoin’s blockchain with your a address.

    nameview3.png

    After your transaction is confirmed , nameview will all registered names.

    nameview4.png

    source code https://github.com/feathercoin2/Feathercoin2

    wallet download http://www.ftc-c.com/pack3/feathercoin-qt.rar


  • Moderators

    The Feathercoin - Nameview - (Opennames DNS) experimental facility is now looking for some testing and documentation work.

    Feathercoin Admin / Devs are looking to support a school student / or interested hobbies, crypto currency software development in a “Summer of Code” style project.

    Any level can assist, beginner to advanced wishing look more into technical development. The scope can be altered to suit.

    The worked would be based in the FTC 0.9.6.2 maintenance “Team”. This involves documentation, bug fixing, testing.


  • Moderators

    Openname : Request for Bounty donation / Student project assistance

    Tip the Official FTC Bouny Jar : 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A

    The Feathercoin - Nameview - (Opennames DNS) experimental facility is now looking for some testing and documentation work. There has been no response for 5 months so we are now asking for Bounty contributions to do that work.

    Feathercoin Admin / Devs are looking to support a profesional developer to spec and complete opennames facility and document it’s operation for FTC version 0.9.6.3, such that it can be easily pulled into version 0.13.x of Feathercoin.

    The worked would be based in the FTC 0.9.6.x maintenance “Team”. This involves documentation, bug fixing, testing.


  • Moderators

    Feathercoin developments and testing : Request for Bounty donations / developer or software builder / assistance

    Tip the Official FTC Bouny Jar : 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A

    The Feathercoin - Nameview - (Opennames DNS) experimental facility requires a programming review.

    Issue : Work was not completed on the opennames bounty. The opennames code has not been pulled into release version fully from the development version or tested.

    Requirements : review the difference between working version of opennames and current version 0.9.6.2.1, find the status, compare commits, build and test source code, with full instruction.

    Feathercoin Admin / Devs are looking to support a profesional developer to spec and complete opennames facility and document it’s operation for FTC version 0.9.3, such that it can be pulled into / tested in the 0.9.6.x of Feathercoin.

    The worked would be based in the FTC 0.9.6.x maintenance “Team”. This involves documentation, bug fixing, testing.