Where an order shall be made as provided in Section 99-35-115, the court or judge shall designate the amount of the bond to be given; and the clerk of the court where the conviction was had shall take bond of the appellant with resident sureties or one or more guaranty or surety companies authorized to do business in this state, to be approved by him, in the sum fixed by the order, payable to the state, and conditioned for the appearance of the party in the supreme court and circuit court to abide by and perform such sentence or judgment as may be rendered in the case; or the supreme court or circuit court, or any judge of either court making such order for bail, may take and approve the bond required to be given, or it may be taken by the sheriff in whose custody such prisoner may be, and shall be sent to the supreme court. All the provisions of this chapter on the subject of bail, as far as applicable, shall be applicable to bail for the appearance of any person before the supreme court.